]> git.ipfire.org Git - thirdparty/systemd.git/commit
core, sysctl: skip ENOENT for /proc/sys/net/unix/max_dgram_qlen
authorGiuseppe Scrivano <gscrivan@redhat.com>
Mon, 5 Nov 2018 22:06:14 +0000 (23:06 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 6 Nov 2018 13:41:34 +0000 (16:41 +0300)
commit875622c39e925f866587629b997e47fe4c7ff1cd
tree156404e93249faf3fe77a85c562552a5834713a9
parent0e28c86f54f80a6d6364a6024f55eb10b4b5d529
core, sysctl: skip ENOENT for /proc/sys/net/unix/max_dgram_qlen

sysctl is disabled for /proc mounted from an user namespace thus entries like
/proc/sys/net/unix/max_dgram_qlen do not exist.  In this case, skip the error
and do not try to change the default for the AF_UNIX datagram queue length.
src/core/main.c