diff options
Diffstat (limited to 'include/linux/cred.h')
-rw-r--r-- | include/linux/cred.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/cred.h b/include/linux/cred.h index 55a9c995d69..26c1ab17994 100644 --- a/include/linux/cred.h +++ b/include/linux/cred.h | |||
@@ -18,6 +18,7 @@ | |||
18 | 18 | ||
19 | struct user_struct; | 19 | struct user_struct; |
20 | struct cred; | 20 | struct cred; |
21 | struct inode; | ||
21 | 22 | ||
22 | /* | 23 | /* |
23 | * COW Supplementary groups list | 24 | * COW Supplementary groups list |
@@ -148,6 +149,11 @@ extern int commit_creds(struct cred *); | |||
148 | extern void abort_creds(struct cred *); | 149 | extern void abort_creds(struct cred *); |
149 | extern const struct cred *override_creds(const struct cred *); | 150 | extern const struct cred *override_creds(const struct cred *); |
150 | extern void revert_creds(const struct cred *); | 151 | extern void revert_creds(const struct cred *); |
152 | extern struct cred *prepare_kernel_cred(struct task_struct *); | ||
153 | extern int change_create_files_as(struct cred *, struct inode *); | ||
154 | extern int set_security_override(struct cred *, u32); | ||
155 | extern int set_security_override_from_ctx(struct cred *, const char *); | ||
156 | extern int set_create_files_as(struct cred *, struct inode *); | ||
151 | extern void __init cred_init(void); | 157 | extern void __init cred_init(void); |
152 | 158 | ||
153 | /** | 159 | /** |