Lines Matching refs:cred
36 struct cred;
130 extern int cap_capable(const struct cred *cred, struct user_namespace *ns,
136 extern int cap_capset(struct cred *new, const struct cred *old,
151 extern int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags);
263 int security_capset(struct cred *new, const struct cred *old,
267 int security_capable(const struct cred *cred,
310 const struct cred *old,
311 struct cred *new);
353 int security_inode_copy_up(struct dentry *src, struct cred **new);
375 int security_cred_alloc_blank(struct cred *cred, gfp_t gfp);
376 void security_cred_free(struct cred *cred);
377 int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp);
378 void security_transfer_creds(struct cred *new, const struct cred *old);
379 void security_cred_getsecid(const struct cred *c, u32 *secid);
380 int security_kernel_act_as(struct cred *new, u32 secid);
381 int security_kernel_create_files_as(struct cred *new, struct inode *inode);
387 int security_task_fix_setuid(struct cred *new, const struct cred *old,
396 int security_task_prlimit(const struct cred *cred, const struct cred *tcred,
404 int sig, const struct cred *cred);
525 static inline int security_capset(struct cred *new, in security_capset()
526 const struct cred *old, in security_capset()
534 static inline int security_capable(const struct cred *cred, in security_capable() argument
539 return cap_capable(cred, ns, cap, opts); in security_capable()
705 const struct cred *old, in security_dentry_create_files_as()
706 struct cred *new) in security_dentry_create_files_as()
871 static inline int security_inode_copy_up(struct dentry *src, struct cred **new) in security_inode_copy_up()
966 static inline int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank() argument
971 static inline void security_cred_free(struct cred *cred) in security_cred_free() argument
974 static inline int security_prepare_creds(struct cred *new, in security_prepare_creds()
975 const struct cred *old, in security_prepare_creds()
981 static inline void security_transfer_creds(struct cred *new, in security_transfer_creds()
982 const struct cred *old) in security_transfer_creds()
986 static inline int security_kernel_act_as(struct cred *cred, u32 secid) in security_kernel_act_as() argument
991 static inline int security_kernel_create_files_as(struct cred *cred, in security_kernel_create_files_as() argument
1020 static inline int security_task_fix_setuid(struct cred *new, in security_task_fix_setuid()
1021 const struct cred *old, in security_task_fix_setuid()
1062 static inline int security_task_prlimit(const struct cred *cred, in security_task_prlimit() argument
1063 const struct cred *tcred, in security_task_prlimit()
1093 const struct cred *cred) in security_task_kill() argument
1741 int security_key_alloc(struct key *key, const struct cred *cred, unsigned long flags);
1744 const struct cred *cred, unsigned perm);
1750 const struct cred *cred, in security_key_alloc() argument
1761 const struct cred *cred, in security_key_permission() argument