diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2002-07-29 16:51:52 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2002-07-29 16:51:52 +0400 |
commit | 5519d54352e7bdc6d77186cef46dbafc86946bcf (patch) | |
tree | 7b69706b4f2ed5aa997ddff5a367d757bb7afb8e /winsup/cygwin/include | |
parent | eb5720f25501cd7e9b8115bb0220bef058bb5afd (diff) |
* 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.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index aafc2f932..e98462ddb 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -154,12 +154,13 @@ details. */ 54: Export __fpclassifyd, __fpclassifyf, __signbitd, __signbitf. 55: Export fcloseall, fcloseall_r. 56: Make ntsec on by default. + 57: Export setgroups. */ /* Note that we forgot to bump the api for ualarm, strtoll, strtoull */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 56 +#define CYGWIN_VERSION_API_MINOR 57 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible |