chiark / gitweb /
seccomp: default to something resembling the current personality when locking it
authorLennart Poettering <lennart@poettering.net>
Wed, 9 Aug 2017 18:40:26 +0000 (20:40 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 9 Aug 2017 18:40:26 +0000 (20:40 +0200)
commita0065de1a0eef3a79af751c27b8f90fcfb110a89
treed59a6e372009fb7123181819ca4533c5cce453d5
parent4c604d1e73b04395afc62257fd236128da17a248
seccomp: default to something resembling the current personality when locking it

Let's lock the personality to the currently set one, if nothing is
specifically specified. But do so with a grain of salt, and never
default to any exotic personality here, but only PER_LINUX or
PER_LINUX32.
src/basic/process-util.c
src/basic/process-util.h