[PATCH 3.16 54/63] seccomp: create internal mode-setting function

2018-09-21 Thread Ben Hutchings
3.16.58-rc1 review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit d78ab02c2c194257a03355fbb79eb721b381d105 upstream. In preparation for having other callers of the seccomp mode setting logic, split the prctl entry point away from the core

[PATCH 3.16 54/63] seccomp: create internal mode-setting function

2018-09-21 Thread Ben Hutchings
3.16.58-rc1 review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit d78ab02c2c194257a03355fbb79eb721b381d105 upstream. In preparation for having other callers of the seccomp mode setting logic, split the prctl entry point away from the core