diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 212bbabdb..7cbfeaeb6 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2006-11-01 Corinna Vinschen + + * security.h (cygpriv_idx): Add privileges new in Vista. + * security.cc (sys_privs): Ditto. + * sec_helper.cc (cygpriv): Ditto. Fix comment. + 2006-10-31 Corinna Vinschen * cygheap.h (struct user_heap_info): Add slop member. diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc index 8941330aa..4bcca81a5 100644 --- a/winsup/cygwin/sec_helper.cc +++ b/winsup/cygwin/sec_helper.cc @@ -344,7 +344,7 @@ got_it: #undef DOMLEN #endif //unused -/* Order must be same as cygperm_idx in winsup.h. */ +/* Order must be same as cygpriv_idx in security.h. */ static const char *cygpriv[] = { SE_CREATE_TOKEN_NAME, @@ -376,7 +376,11 @@ static const char *cygpriv[] = SE_MANAGE_VOLUME_NAME, SE_IMPERSONATE_NAME, SE_ENABLE_DELEGATION_NAME, - SE_SYNC_AGENT_NAME + SE_SYNC_AGENT_NAME, + SE_RELABEL_NAME, + SE_INCREASE_WORKING_SET_NAME, + SE_TIME_ZONE_NAME, + SE_CREATE_SYMBOLIC_LINK_NAME }; const LUID * diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc index 0a4f55761..f3a9f87a3 100644 --- a/winsup/cygwin/security.cc +++ b/winsup/cygwin/security.cc @@ -614,7 +614,10 @@ static const cygpriv_idx sys_privs[] = { SE_UNDOCK_PRIV, SE_MANAGE_VOLUME_PRIV, SE_IMPERSONATE_PRIV, - SE_CREATE_GLOBAL_PRIV + SE_CREATE_GLOBAL_PRIV, + SE_INCREASE_WORKING_SET_PRIV, + SE_TIME_ZONE_PRIV, + SE_CREATE_SYMBOLIC_LINK_PRIV }; #define SYSTEM_PRIVILEGES_COUNT (sizeof sys_privs / sizeof *sys_privs) diff --git a/winsup/cygwin/security.h b/winsup/cygwin/security.h index fa5953d89..f4e4f2be2 100644 --- a/winsup/cygwin/security.h +++ b/winsup/cygwin/security.h @@ -280,6 +280,10 @@ enum cygpriv_idx { SE_IMPERSONATE_PRIV, SE_ENABLE_DELEGATION_PRIV, SE_SYNC_AGENT_PRIV, + SE_RELABEL_PRIV, + SE_INCREASE_WORKING_SET_PRIV, + SE_TIME_ZONE_PRIV, + SE_CREATE_SYMBOLIC_LINK_PRIV, SE_NUM_PRIVS };