Commit ca22eca6 authored by YueHaibing's avatar YueHaibing Committed by Paul Moore

cred: remove unsued extern declaration change_create_files_as()

Since commit 3a3b7ce9 ("CRED: Allow kernel services to override LSM settings for task actions")
this is never used, so can be removed.
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Fixes: 3a3b7ce9 ("CRED: Allow kernel services to override LSM settings for task actions")
[PM: subject tweak, fixes tag]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent c31288e5
...@@ -164,7 +164,6 @@ extern void abort_creds(struct cred *); ...@@ -164,7 +164,6 @@ extern void abort_creds(struct cred *);
extern const struct cred *override_creds(const struct cred *); extern const struct cred *override_creds(const struct cred *);
extern void revert_creds(const struct cred *); extern void revert_creds(const struct cred *);
extern struct cred *prepare_kernel_cred(struct task_struct *); extern struct cred *prepare_kernel_cred(struct task_struct *);
extern int change_create_files_as(struct cred *, struct inode *);
extern int set_security_override(struct cred *, u32); extern int set_security_override(struct cred *, u32);
extern int set_security_override_from_ctx(struct cred *, const char *); extern int set_security_override_from_ctx(struct cred *, const char *);
extern int set_create_files_as(struct cred *, struct inode *); extern int set_create_files_as(struct cred *, struct inode *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment