1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-11 20:58:27 +03:00
Lennart Poettering ee8f26180d units: switch from system call blacklist to whitelist
This is generally the safer approach, and is what container managers
(including nspawn) do, hence let's move to this too for our own
services. This is particularly useful as this this means the new
@system-service system call filter group will get serious real-life
testing quickly.

This also switches from firing SIGSYS on unexpected syscalls to
returning EPERM. This would have probably been a better default anyway,
but it's hard to change that these days. When whitelisting system calls
SIGSYS is highly problematic as system calls that are newly introduced
to Linux become minefields for services otherwise.

Note that this enables a system call filter for udev for the first time,
and will block @clock, @mount and @swap from it. Some downstream
distributions might want to revert this locally if they want to permit
unsafe operations on udev rules, but in general this shiuld be mostly
safe, as we already set MountFlags=shared for udevd, hence at least
@mount won't change anything.
2018-06-14 17:44:20 +02:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2018-01-12 18:02:57 +01:00
2017-11-29 14:33:56 +01:00
2018-06-14 13:03:20 +02:00
2018-06-14 13:03:20 +02:00
2016-10-06 11:53:58 -04:00
2018-06-14 09:57:56 +02:00
2018-06-07 17:53:43 +00:00

systemd - System and Service Manager

Count of open issues over time Count of open pull requests over time Build Status
Coverity Scan Status
CII Best Practices
Build Status

Details

General information about systemd can be found in the systemd Wiki.

Information about build requirements are provided in the README file.

Consult our NEWS file for information about what's new in the most recent systemd versions.

Please see the HACKING file for information how to hack on systemd and test your modifications.

Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.

When preparing patches for systemd, please follow our Coding Style Guidelines.

If you are looking for support, please contact our mailing list or join our IRC channel.

Stable branches with backported patches are available in the stable repo.

Description
The systemd System and Service Manager
Readme 566 MiB
Languages
C 89.2%
Python 5.3%
Shell 4.1%
Meson 1.2%