diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-10 21:13:18 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-07-12 17:04:15 +0300 |
commit | 9481769208b5e39b871ae4e89f5328c776ec38dc (patch) | |
tree | 5d872c4cf7a436366c4261b67ed39511e20b3d0d /include/linux/lsm_hooks.h | |
parent | e3f20ae21079ecac282df65d83865c5771f4bca0 (diff) | |
download | linux-9481769208b5e39b871ae4e89f5328c776ec38dc.tar.xz |
->file_open(): lose cred argument
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/lsm_hooks.h')
-rw-r--r-- | include/linux/lsm_hooks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index 8f1131c8dd54..a8ee106b865d 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -1569,7 +1569,7 @@ union security_list_options { int (*file_send_sigiotask)(struct task_struct *tsk, struct fown_struct *fown, int sig); int (*file_receive)(struct file *file); - int (*file_open)(struct file *file, const struct cred *cred); + int (*file_open)(struct file *file); int (*task_alloc)(struct task_struct *task, unsigned long clone_flags); void (*task_free)(struct task_struct *task); |