|
@@ -309,7 +309,7 @@ void security_file_set_fowner(struct file *file);
|
|
|
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_file_open(struct file *file);
|
|
|
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);
|
|
@@ -858,8 +858,7 @@ static inline int security_file_receive(struct file *file)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static inline int security_file_open(struct file *file,
|
|
|
- const struct cred *cred)
|
|
|
+static inline int security_file_open(struct file *file)
|
|
|
{
|
|
|
return 0;
|
|
|
}
|