Zbigniew Jędrzejewski-Szmek 6debb39826 acl-util: only set the mask if not present
When we have non-owner user or group entries, we need the mask
for the acl to be valid. But acl_calc_mask() calculates the mask
to include all permissions, even those that were masked before.
Apparently this happens when we inherit *:r-x permissions from
a parent directory — the kernel sets *:r-x, mask:r--, effectively
masking the executable bit. acl_calc_mask() would set the mask:r-x,
effectively enabling the bit. To avoid this, be more conservative when
to add the mask entry: first iterate over all entries, and do nothing
if a mask.

This returns the code closer to J.A.Steffens' original version
in v204-90-g23ad4dd884.

Should fix https://github.com/systemd/systemd/issues/1977.
2015-11-28 18:48:03 -05:00
2015-07-06 17:47:38 +02:00
2015-11-14 09:54:17 +01:00
2015-11-27 13:55:23 +00:00
2015-11-22 23:05:23 +01:00
2015-08-31 18:12:37 +02:00
2015-11-23 12:32:59 +01:00
2015-11-28 18:47:34 -05:00
2015-06-03 00:22:53 +02:00
2015-07-27 20:15:34 +02:00
2015-11-18 08:59:06 +01:00
2015-11-28 18:47:34 -05:00
2015-11-02 10:05:20 -06:00
2015-11-27 00:46:51 +01:00

systemd - System and Service Manager

Build Status
Coverity Scan Status

Details

  • General information about systemd can be found in the systemd Wiki
  • Information about build requirements are provided in the README file
S
Description
systemd patched fork
Readme
409 MiB
Languages
C 88.5%
Shell 5.7%
Python 4.6%
Meson 1.1%