]> git.ipfire.org Git - thirdparty/lxc.git/commit
syscalls: wrap personality syscall if undefined
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 4 May 2021 11:21:28 +0000 (13:21 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 4 May 2021 13:15:28 +0000 (15:15 +0200)
commit3857c4ebf05e6642e22aa4470a91b3aae15cfdee
tree86f4aa3ad3052da87850357a719befcf4e770958
parent1d74176da2661ca1fd8eefc016d7ff48d8758325
syscalls: wrap personality syscall if undefined

There's no need to making personality handling conditional as it has
been around for such a long time that only weird systems wouldn't have
support for it. And especially if the user requested a specific
personality to be set but the system doesn't support the personality
syscall we should loudly fail instead of moving on.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/macro.h
src/lxc/syscall_numbers.h
src/lxc/syscall_wrappers.h