[PATCH 3/3] server: Add primitive support for setting and getting the security descriptor of files based on their Unix permissions. [Try 2]
Robert Shearman
rob at codeweavers.com
Wed Oct 3 07:10:58 CDT 2007
---
server/file.c | 235
++++++++++++++++++++++++++++++++++++++++++++++++++++-
server/security.h | 13 +++
server/token.c | 15 +---
3 files changed, 248 insertions(+), 15 deletions(-)
Updated to use security_unix_uid_to_sid instead of assuming the file
belongs to the current user.
Also, updated the access rights to not mention READ_CONTROL since it is
implied in the other access rights and to not give WRITE_DAC and
WRITE_OWNER to Everyone since only the owner can change the
group/permissions of a file in Unix.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fb7217ef1aa0bf7f47f121f47b0e45b06c4445ca.diff
Type: text/x-patch
Size: 13693 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071003/d5093094/attachment.bin
More information about the wine-patches
mailing list