X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=security%2Fsecurity.c;h=5dce67070cdf3344b4ce65a228b80e9baff2dee4;hb=8c479c2c0f9dc105c0afaa662a22f39383d4ce92;hp=68f46d849abea30d148dac3942d833c8ef80e114;hpb=071db7a6759d5d0a85ecf6a600ac1f9caa7f6404;p=linux.git diff --git a/security/security.c b/security/security.c index 68f46d849abe..5dce67070cdf 100644 --- a/security/security.c +++ b/security/security.c @@ -970,11 +970,11 @@ int security_file_receive(struct file *file) return call_int_hook(file_receive, 0, file); } -int security_file_open(struct file *file, const struct cred *cred) +int security_file_open(struct file *file) { int ret; - ret = call_int_hook(file_open, 0, file, cred); + ret = call_int_hook(file_open, 0, file); if (ret) return ret;