Ninjatrappeur's systemd working tree
Go to file
Lennart Poettering 45497f4d3b sysctl: let's by default increase the numeric PID range from 2^16 to 2^22
This should PID collisions a tiny bit less likely, and thus improve
security and robustness.

2^22 isn't particularly a lot either, but it's the current kernel
limitation.

Bumping this limit was suggested by Linus himself:

https://lwn.net/ml/linux-kernel/CAHk-=wiZ40LVjnXSi9iHLE_-ZBsWFGCgdmNiYZUXn1-V5YBg2g@mail.gmail.com/

Let's experiment with this in systemd upstream first. Downstreams and
users can after all still comment this easily.

Besides compat concern the most often heard issue with such high PIDs is
usability, since they are potentially hard to type. I am not entirely sure though
whether 4194304 (as largest new PID) is that much worse to type or to
copy than 65563.

This should also simplify management of per system tasks limits as by
this move the sysctl /proc/sys/kernel/threads-max becomes the primary
knob to control how many processes to have in parallel.
2019-04-09 11:22:52 +02:00
.github/ISSUE_TEMPLATE docs: move markdown docs from .github/ to docs/ 2018-09-08 13:39:03 -07:00
.lgtm/cpp-queries lgtm: warn about strerror() use 2019-04-05 16:58:52 +02:00
.mkosi mkosi: (Archlinux) increase the size of root partition. 2019-02-22 19:53:27 +09:00
catalog catalog: update Polish translation 2018-11-19 09:23:04 +01:00
coccinelle coccinelle: add coccinelle script for empty_or_dash() use 2019-04-08 14:31:15 +02:00
docs docs: also document updates to stable repo 2019-04-03 16:43:17 +02:00
factory/etc man,factory: update factory config for nsswitch.conf to match the man pages 2018-11-27 22:35:02 +01:00
hwdb hwdb: update hwdb 2019-04-08 11:42:16 +02:00
man Merge pull request #12223 from yuwata/network-wireguard-preshared-key-file 2019-04-09 10:52:52 +02:00
modprobe.d Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
network link-config: add "keep" policy and use it by default 2019-01-17 13:56:02 +01:00
po l10n: Updated Lithuanian translation 2019-04-09 09:00:16 +02:00
presets Drop my copyright headers 2018-06-14 13:03:20 +02:00
rules units: add usb-gadget target 2019-02-15 18:16:27 +01:00
semaphoreci semaphoreci: caching and more robust creation of container image 2019-03-04 15:05:14 +01:00
shell-completion completion/zsh/journalctl: Add --no-hostname 2019-03-26 07:59:30 +01:00
src Merge pull request #12223 from yuwata/network-wireguard-preshared-key-file 2019-04-09 10:52:52 +02:00
sysctl.d sysctl: let's by default increase the numeric PID range from 2^16 to 2^22 2019-04-09 11:22:52 +02:00
sysusers.d sysusers,tmpfiles: re-create systemd-network, systemd-resolve and systemd-timesync 2018-07-16 17:11:50 +02:00
test Merge pull request #12223 from yuwata/network-wireguard-preshared-key-file 2019-04-09 10:52:52 +02:00
tmpfiles.d sysusers,tmpfiles: re-create systemd-network, systemd-resolve and systemd-timesync 2018-07-16 17:11:50 +02:00
tools tools: check all directives even if it detects non-updated files 2019-02-25 12:41:11 +09:00
travis-ci travis: use /bin/systemd instead of /usr/bin/systemd 2019-03-05 08:00:22 +03:00
units units: add time-set.target 2019-04-08 14:34:05 +02:00
xorg login: avoid external process call 2018-01-12 18:02:57 +01:00
.ctags editors: Prevent ctags from following symlinks 2019-02-15 11:01:20 -08:00
.dir-locals.el Better C code formatting of arguments in Emacs 2019-02-28 16:50:53 +01:00
.editorconfig editorconfig: add rule for meson.build files (#6671) 2017-08-28 16:37:23 +02:00
.gitattributes git: indicate that tabs are never OK in the systemd tree 2013-10-30 02:25:38 +01:00
.gitignore gitignore: add nspawn image lock and mkosi temporary files 2018-09-07 20:00:22 +02:00
.lgtm.yml lgtm: use python3 2018-12-10 03:07:17 +09:00
.mailmap update .mailmap 2019-04-02 17:31:00 +02:00
.travis.yml travis: add another stage to really run everything under ASan+UBsan 2018-12-24 08:52:33 +01:00
.vimrc coding style: reduce text width to 109 characters 2018-12-08 10:14:28 +01:00
.ycm_extra_conf.py ycm: add doc string for all the functions in configuration file 2017-11-29 13:21:49 -07:00
LICENSE.GPL2 relicense to LGPLv2.1 (with exceptions) 2012-04-12 00:24:39 +02:00
LICENSE.LGPL2.1 licence: remove references to old FSF address 2012-12-17 11:41:31 +01:00
Makefile build-sys: Fix Makefile wrapper for install target (#6548) 2017-08-07 11:29:20 +02:00
NEWS Merge pull request #12223 from yuwata/network-wireguard-preshared-key-file 2019-04-09 10:52:52 +02:00
README README: mention that we need tzdata >= 2014f 2019-02-28 15:38:47 +01:00
README.md Revert "README: remove Coverity Scan badge" 2019-02-14 12:13:55 +01:00
TODO sysctl: let's by default increase the numeric PID range from 2^16 to 2^22 2019-04-09 11:22:52 +02:00
configure build-sys: add basic support for ./configure && make && make install 2017-07-18 10:05:06 -04:00
meson.build meson: drop misplaced -Wl,--undefined argument 2019-04-07 19:37:08 +02:00
meson_options.txt Merge pull request #11827 from keszybz/pkgconfig-variables 2019-02-26 18:58:03 +01:00
mkosi.build mkosi: let's update the boot loader also in /efi 2019-03-01 12:41:32 +01:00
mkosi.default mkosi: create .mkosi directory 2016-10-06 11:53:58 -04:00
zanata.xml po: add basic fedora.zanata.org configuration 2018-02-19 13:56:57 +01:00

README.md

systemd - System and Service Manager

Count of open issues over time Count of open pull requests over time Semaphore CI Build Status
Coverity Scan Status
CII Best Practices
Travis CI Build Status
Language Grade: C/C++
CentOS CI Build Status

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.