aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cred.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/cred.h')
-rw-r--r--include/linux/cred.h6
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
19struct user_struct; 19struct user_struct;
20struct cred; 20struct cred;
21struct 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 *);
148extern void abort_creds(struct cred *); 149extern void abort_creds(struct cred *);
149extern const struct cred *override_creds(const struct cred *); 150extern const struct cred *override_creds(const struct cred *);
150extern void revert_creds(const struct cred *); 151extern void revert_creds(const struct cred *);
152extern struct cred *prepare_kernel_cred(struct task_struct *);
153extern int change_create_files_as(struct cred *, struct inode *);
154extern int set_security_override(struct cred *, u32);
155extern int set_security_override_from_ctx(struct cred *, const char *);
156extern int set_create_files_as(struct cred *, struct inode *);
151extern void __init cred_init(void); 157extern void __init cred_init(void);
152 158
153/** 159/**