mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Update from Gnulib by running admin/merge-gnulib
* m4/wchar_t.m4: Remove; no longer needed.
This commit is contained in:
parent
fad7109e52
commit
4a8c8021cc
23 changed files with 558 additions and 269 deletions
|
|
@ -89,6 +89,14 @@ acl_access_nontrivial (acl_t acl)
|
|||
group:Administrators:rwx
|
||||
mask::r-x
|
||||
other::r-x
|
||||
or
|
||||
user::rwx
|
||||
group::r-x
|
||||
group:SYSTEM:rwx
|
||||
group:Administrators:rwx
|
||||
group:Users:rwx
|
||||
mask::rwx
|
||||
other::r-x
|
||||
*/
|
||||
case ACL_GROUP:
|
||||
{
|
||||
|
|
@ -105,9 +113,12 @@ acl_access_nontrivial (acl_t acl)
|
|||
/* Ignore the ace if the group_sid is one of
|
||||
- S-1-5-18 (group "SYSTEM")
|
||||
- S-1-5-32-544 (group "Administrators")
|
||||
Cf. <https://learn.microsoft.com/en-us/windows/win32/secauthz/well-known-sids> */
|
||||
- S-1-5-32-545 (group "Users")
|
||||
Cf. <https://learn.microsoft.com/en-us/windows/win32/secauthz/well-known-sids>
|
||||
and look at the output of the 'mkgroup' command. */
|
||||
ignorable = (strcmp (group_sid, "S-1-5-18") == 0
|
||||
|| strcmp (group_sid, "S-1-5-32-544") == 0);
|
||||
|| strcmp (group_sid, "S-1-5-32-544") == 0
|
||||
|| strcmp (group_sid, "S-1-5-32-545") == 0);
|
||||
}
|
||||
}
|
||||
if (!ignorable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue