mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
Lennart Poettering
6b2229c6c6
udev: set fewer process properties
On systemd systems we generally don't need to chdir() to root, we don't need to setup /dev/ ourselves (as PID 1 does that during earliest boot), and we don't need to set the OOM adjustment values, as that's done via unit files. Hence, drop this. if people want to use udev from other init systems they should do this on their own, I am very sure it's a good thing to do it from outside of udevd, so that fewer privileges are required by udevd. In particular the dev_setup() stuff is something that people who build their own non-systemd distros want to set up themselves anyway, in particular as they already have to mount devtmpfs themselves anyway. Note that this only drops stuff that isn't really necessary for testing stuff, i.e. process properties and settings that don't matter if you quickly want to invoke udev from a terminal session to test something.
System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements is 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 guide for information on 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.
Languages
C
89.2%
Python
5.3%
Shell
4.1%
Meson
1.2%