diff options
author | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> | 2017-07-14 19:38:36 +0900 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2017-07-18 17:24:03 +1000 |
commit | 3cf29931453215536916d0c4da953fce1911ced3 (patch) | |
tree | 04745a9399692f288e5494acef2e1a912f0e550e /include/linux/security.h | |
parent | c4758fa59285fe4dbfeab4364a6957936d040fbf (diff) | |
download | linux-stable-3cf29931453215536916d0c4da953fce1911ced3.tar.gz linux-stable-3cf29931453215536916d0c4da953fce1911ced3.tar.bz2 linux-stable-3cf29931453215536916d0c4da953fce1911ced3.zip |
LSM: Remove security_task_create() hook.
Since commit a79be238600d1a03 ("selinux: Use task_alloc hook rather than
task_create hook") changed to use task_alloc hook, task_create hook is
no longer used.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index b6ea1dc9cc9d..458e24bea2d4 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -318,7 +318,6 @@ int security_file_send_sigiotask(struct task_struct *tsk, struct fown_struct *fown, int sig); int security_file_receive(struct file *file); int security_file_open(struct file *file, const struct cred *cred); -int security_task_create(unsigned long clone_flags); int security_task_alloc(struct task_struct *task, unsigned long clone_flags); void security_task_free(struct task_struct *task); int security_cred_alloc_blank(struct cred *cred, gfp_t gfp); @@ -885,11 +884,6 @@ static inline int security_file_open(struct file *file, return 0; } -static inline int security_task_create(unsigned long clone_flags) -{ - return 0; -} - static inline int security_task_alloc(struct task_struct *task, unsigned long clone_flags) { |