diff options
| author | Eli Zaretskii | 2012-12-17 21:14:34 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-12-17 21:14:34 +0200 |
| commit | 66447e07c1aa037730127d6fcdd2658f87f13dc0 (patch) | |
| tree | 0547cb5e75ae1ffeb51d7b3f80275e0a65f70720 /src/ChangeLog | |
| parent | 207a7ef0531ca92468e19115a2c2064c9b22bfd4 (diff) | |
| download | emacs-66447e07c1aa037730127d6fcdd2658f87f13dc0.tar.gz emacs-66447e07c1aa037730127d6fcdd2658f87f13dc0.zip | |
Support Posix ACL APIs on MS-Windows.
src/w32.c: Include sddl.h and sys/acl.h.
(SDDL_REVISION_1): Define if not already defined.
(g_b_init_get_security_descriptor_dacl)
(g_b_init_convert_sd_to_sddl, g_b_init_convert_sddl_to_sd)
(g_b_init_is_valid_security_descriptor)
(g_b_init_set_file_security): New static flags.
(globals_of_w32): Initialize them to zero.
(SetFileSecurity_Name): New string constant.
(SetFileSecurity_Proc, GetSecurityDescriptorDacl_Proc)
(ConvertStringSecurityDescriptorToSecurityDescriptor_Proc)
(ConvertSecurityDescriptorToStringSecurityDescriptor_Proc)
(IsValidSecurityDescriptor_Proc): New typedefs.
(get_file_security, get_security_descriptor_owner)
(get_security_descriptor_group): Set errno to ENOTSUP.
(set_file_security, get_security_descriptor_dacl)
(is_valid_security_descriptor, convert_sd_to_sddl)
(convert_sddl_to_sd, acl_valid, acl_to_text, acl_from_text)
(acl_free, acl_get_file, acl_set_file): New functions.
src/fileio.c (Fcopy_file) [WINDOWSNT]: Support copying ACLs.
nt/inc/sys/acl.h: New file.
nt/inc/ms-w32.h (ENOTSUP): Define if undefined.
nt/config.nt (HAVE_POSIX_ACL): Define.
doc/lispref/files.texi (File Attributes, Changing Files): Update to include
MS-Windows support for ACLs.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d5071c541b4..acfd5c561b7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,27 @@ | |||
| 1 | 2012-12-17 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | Emulate Posix ACL APIs on MS-Windows. | ||
| 4 | * w32.c: Include sddl.h and sys/acl.h. | ||
| 5 | (SDDL_REVISION_1): Define if not already defined. | ||
| 6 | (g_b_init_get_security_descriptor_dacl) | ||
| 7 | (g_b_init_convert_sd_to_sddl, g_b_init_convert_sddl_to_sd) | ||
| 8 | (g_b_init_is_valid_security_descriptor) | ||
| 9 | (g_b_init_set_file_security): New static flags. | ||
| 10 | (globals_of_w32): Initialize them to zero. | ||
| 11 | (SetFileSecurity_Name): New string constant. | ||
| 12 | (SetFileSecurity_Proc, GetSecurityDescriptorDacl_Proc) | ||
| 13 | (ConvertStringSecurityDescriptorToSecurityDescriptor_Proc) | ||
| 14 | (ConvertSecurityDescriptorToStringSecurityDescriptor_Proc) | ||
| 15 | (IsValidSecurityDescriptor_Proc): New typedefs. | ||
| 16 | (get_file_security, get_security_descriptor_owner) | ||
| 17 | (get_security_descriptor_group): Set errno to ENOTSUP. | ||
| 18 | (set_file_security, get_security_descriptor_dacl) | ||
| 19 | (is_valid_security_descriptor, convert_sd_to_sddl) | ||
| 20 | (convert_sddl_to_sd, acl_valid, acl_to_text, acl_from_text) | ||
| 21 | (acl_free, acl_get_file, acl_set_file): New functions. | ||
| 22 | |||
| 23 | * fileio.c (Fcopy_file) [WINDOWSNT]: Support copying ACLs. | ||
| 24 | |||
| 1 | 2012-12-17 Paul Eggert <eggert@cs.ucla.edu> | 25 | 2012-12-17 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 26 | ||
| 3 | Don't reraise SIGCHLD, as that can now lose (Bug#13192). | 27 | Don't reraise SIGCHLD, as that can now lose (Bug#13192). |