This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The background for this patch was just explained on the Cygwin mailing list. We must make sure that the user sid is present in the default DACL of impersonation tokens, internal as well as external. Thus the place to do it is in seteuid32(), and it becomes useless to create a default DACL in create_token. Pierre 2003-10-15 Pierre Humblet <pierre.humblet@ieee.org> * syscalls.cc (seteuid32): Always construct a default DACL including the new sid, Admins and SYSTEM and copy it to the new thread token. * security.cc (create_token): Use a NULL default DACL in NtCreateToken.
Attachment:
dacl.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |