aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux
diff options
context:
space:
mode:
authorTycho Andersen <tycho@tycho.ws>2020-02-19 12:01:29 -0700
committerTejun Heo <tj@kernel.org>2020-03-04 11:53:33 -0500
commit2e5383d7904e60529136727e49629a82058a5607 (patch)
tree97142f1aa020ab593f1860a0f8521a243c98cdf6 /include/linux
parentcgroup: fix psi_show() crash on 32bit ino archs (diff)
downloadwireguard-linux-2e5383d7904e60529136727e49629a82058a5607.tar.xz
wireguard-linux-2e5383d7904e60529136727e49629a82058a5607.zip
cgroup1: don't call release_agent when it is ""
Older (and maybe current) versions of systemd set release_agent to "" when shutting down, but do not set notify_on_release to 0. Since 64e90a8acb85 ("Introduce STATIC_USERMODEHELPER to mediate call_usermodehelper()"), we filter out such calls when the user mode helper path is "". However, when used in conjunction with an actual (i.e. non "") STATIC_USERMODEHELPER, the path is never "", so the real usermode helper will be called with argv[0] == "". Let's avoid this by not invoking the release_agent when it is "". Signed-off-by: Tycho Andersen <tycho@tycho.ws> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions