]> git.ipfire.org Git - thirdparty/systemd.git/commit
test-process-util: Ignore EINVAL from setresuid() and setresgid() 34486/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 19 Sep 2024 10:21:55 +0000 (12:21 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 19 Sep 2024 11:42:05 +0000 (13:42 +0200)
commite5c6dcac8768ac88a58095072d407327f7de0116
tree48b00d9ecaed6b6757a8336c28449e469a220cc7
parent34a7ca6db24f285facf0cb409120ab6fd9fd975a
test-process-util: Ignore EINVAL from setresuid() and setresgid()

If we're running in a user namespace with a single user and without
the nobody user, we'll get EINVAL from these system calls so make
sure we handle those gracefully.
src/test/test-process-util.c