commit | 9481769208b5e39b871ae4e89f5328c776ec38dc | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Jul 10 14:13:18 2018 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Jul 12 10:04:15 2018 -0400 |
tree | 5d872c4cf7a436366c4261b67ed39511e20b3d0d | |
parent | e3f20ae21079ecac282df65d83865c5771f4bca0 [diff] [blame] |
->file_open(): lose cred argument Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/security/security.c b/security/security.c index 235b35f..5dce670 100644 --- a/security/security.c +++ b/security/security.c
@@ -974,7 +974,7 @@ { int ret; - ret = call_int_hook(file_open, 0, file, file->f_cred); + ret = call_int_hook(file_open, 0, file); if (ret) return ret;