newlib/winsup/cygwin/include
Corinna Vinschen 5519d54352 * security.cc: Change some formatting.
* include/cygwin/version.h: Bump API minor version.

        * cygheap.h (class cygheap_user): Add member groups.
        * security.h (class cygsidlist): Add members type and maxcount,
        methods position, addfromgr, alloc_sids and free_sids and
        operator+= (const PSID psid). Modify contains () to call
        position () and optimize add () to use maxcount.
        (class user_groups): Create.
        Update declarations of verify_token and create_token.
        * security.cc (cygsidlist::alloc_sids): New.
        (cygsidlist::free_sids): New.
        (get_token_group_sidlist): Create from get_group_sidlist.
        (get_initgroups_sidlist): Create from get_group_sidlist.
        (get_group_sidlist): Suppress.
        (get_setgroups_sidlist): Create.
        (verify_token): Modify arguments. Add setgroups case.
        (create_token): Modify arguments. Call get_initgroups_sidlist and
        get_setgroups_sidlist as needed. Set SE_GROUP_LOGON_ID from auth_pos
        outside of the loop. Rename the various group sid lists consistently.
        * syscalls.cc (seteuid32): Modify to use cygheap->user.groups.
        (setegid32): Call cygheap->user.groups.update_pgrp.
        * grp.cc (setgroups): Create.
        (setgroups32): Create.
        * uinfo.cc (internal_getlogin): Initialize and update user.groups.pgsid.
        * cygwin.din: Add setgroups and setgroups32.
2002-07-29 12:51:52 +00:00
..
arpa * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
asm * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
cygwin * security.cc: Change some formatting. 2002-07-29 12:51:52 +00:00
net * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
netinet * include/cygwin/socket.h: Protect some symbols against multiple 2002-05-29 07:38:54 +00:00
sys * fhandler.h (class fhandler_serial): Add new members of 2002-07-22 09:11:45 +00:00
a.out.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
dlfcn.h Update copyrights. 2001-09-11 20:01:02 +00:00
exceptions.h * pinfo.cc (codepage_init): Move function. 2001-01-08 04:02:02 +00:00
fcntl.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
features.h * features.h: Reinstate as wrapper for sys/features.h. 2001-04-22 23:18:28 +00:00
fnmatch.h 2002-02-28 Robert Collins <rbtcollins@hotmail.com> 2002-02-28 14:30:38 +00:00
getopt.h * include/getopt.h: Fix define. 2001-12-31 04:00:07 +00:00
glob.h * glob.c (stat32_to_STAT): New function. 2002-03-15 10:12:31 +00:00
icmp.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
io.h * include/io.h: Add access declaration. 2001-09-17 21:29:19 +00:00
lastlog.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
limits.h * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX. 2001-12-17 01:41:07 +00:00
mapi.h Update copyrights. 2001-09-11 20:01:02 +00:00
memory.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
mntent.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
netdb.h revert erroneous checkin 2002-06-10 19:59:19 +00:00
paths.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
poll.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
pthread.h 2002-06-25 Thomas Pfaff <tpfaff@gmx.net> 2002-07-04 14:17:30 +00:00
sched.h * configure.in: Remove PTH_ALLOW. 2001-04-12 04:04:53 +00:00
semaphore.h add new file. 2001-03-21 16:06:22 +00:00
strings.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
sysexits.h * include/sysexits: New file. 2000-12-10 22:19:50 +00:00
syslog.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
termio.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
tzfile.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
wchar.h * include/wchar.h: Define __need_size_t. 2002-06-08 16:55:47 +00:00