summaryrefslogtreecommitdiff
path: root/src/network/networkd-dhcp4.c
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2019-07-10 17:00:46 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-07-17 06:24:27 +0900
commita9fd4cd1206832a61aaf61fff583bb133e6cb965 (patch)
tree4959f1c1159986f76e8fd1bc498002ded8e5bde9 /src/network/networkd-dhcp4.c
parentca22d04ceea1198d00b170f2c13725a4f6d600ad (diff)
downloadsystemd-a9fd4cd1206832a61aaf61fff583bb133e6cb965.tar.gz
pid1: make sure to restore correct default values for some rlimits
Commit fb39af4ce42d7ef9af63009f271f404038703704 forgot to restore the default rlimit values (RLIMIT_NOFILE and RLIMIT_MEMLOCK) while PID1 is reloading. This patch extracts the code in charge of initializing the default values for those rlimits in order to create dedicated functions, which take care of their initialization. These functions are then called in parse_configuration() so we make sure that the default values for these rlimits get restored every time PID1 is reloading its configuration.
Diffstat (limited to 'src/network/networkd-dhcp4.c')
0 files changed, 0 insertions, 0 deletions