Lines Matching refs:cred

36 struct cred;
137 extern int cap_capable(const struct cred *cred, struct user_namespace *ns,
143 extern int cap_capset(struct cred *new, const struct cred *old,
158 extern int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags);
257 int security_binder_set_context_mgr(const struct cred *mgr);
258 int security_binder_transaction(const struct cred *from,
259 const struct cred *to);
260 int security_binder_transfer_binder(const struct cred *from,
261 const struct cred *to);
262 int security_binder_transfer_file(const struct cred *from,
263 const struct cred *to, struct file *file);
270 int security_capset(struct cred *new, const struct cred *old,
274 int security_capable(const struct cred *cred,
318 const struct cred *old,
319 struct cred *new);
364 int security_inode_copy_up(struct dentry *src, struct cred **new);
386 int security_cred_alloc_blank(struct cred *cred, gfp_t gfp);
387 void security_cred_free(struct cred *cred);
388 int security_prepare_creds(struct cred *new, const struct cred *old, gfp_t gfp);
389 void security_transfer_creds(struct cred *new, const struct cred *old);
390 void security_cred_getsecid(const struct cred *c, u32 *secid);
391 int security_kernel_act_as(struct cred *new, u32 secid);
392 int security_kernel_create_files_as(struct cred *new, struct inode *inode);
402 int security_task_fix_setuid(struct cred *new, const struct cred *old,
404 int security_task_fix_setgid(struct cred *new, const struct cred *old,
413 int security_task_prlimit(const struct cred *cred, const struct cred *tcred,
421 int sig, const struct cred *cred);
499 static inline int security_binder_set_context_mgr(const struct cred *mgr) in security_binder_set_context_mgr()
504 static inline int security_binder_transaction(const struct cred *from, in security_binder_transaction()
505 const struct cred *to) in security_binder_transaction()
510 static inline int security_binder_transfer_binder(const struct cred *from, in security_binder_transfer_binder()
511 const struct cred *to) in security_binder_transfer_binder()
516 static inline int security_binder_transfer_file(const struct cred *from, in security_binder_transfer_file()
517 const struct cred *to, in security_binder_transfer_file()
542 static inline int security_capset(struct cred *new, in security_capset()
543 const struct cred *old, in security_capset()
551 static inline int security_capable(const struct cred *cred, in security_capable() argument
556 return cap_capable(cred, ns, cap, opts); in security_capable()
728 const struct cred *old, in security_dentry_create_files_as()
729 struct cred *new) in security_dentry_create_files_as()
901 static inline int security_inode_copy_up(struct dentry *src, struct cred **new) in security_inode_copy_up()
996 static inline int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank() argument
1001 static inline void security_cred_free(struct cred *cred) in security_cred_free() argument
1004 static inline int security_prepare_creds(struct cred *new, in security_prepare_creds()
1005 const struct cred *old, in security_prepare_creds()
1011 static inline void security_transfer_creds(struct cred *new, in security_transfer_creds()
1012 const struct cred *old) in security_transfer_creds()
1016 static inline void security_cred_getsecid(const struct cred *c, u32 *secid) in security_cred_getsecid()
1021 static inline int security_kernel_act_as(struct cred *cred, u32 secid) in security_kernel_act_as() argument
1026 static inline int security_kernel_create_files_as(struct cred *cred, in security_kernel_create_files_as() argument
1063 static inline int security_task_fix_setuid(struct cred *new, in security_task_fix_setuid()
1064 const struct cred *old, in security_task_fix_setuid()
1070 static inline int security_task_fix_setgid(struct cred *new, in security_task_fix_setgid()
1071 const struct cred *old, in security_task_fix_setgid()
1112 static inline int security_task_prlimit(const struct cred *cred, in security_task_prlimit() argument
1113 const struct cred *tcred, in security_task_prlimit()
1143 const struct cred *cred) in security_task_kill() argument
1326 int security_post_notification(const struct cred *w_cred,
1327 const struct cred *cred,
1330 static inline int security_post_notification(const struct cred *w_cred, in security_post_notification()
1331 const struct cred *cred, in security_post_notification() argument
1818 int security_key_alloc(struct key *key, const struct cred *cred, unsigned long flags);
1820 int security_key_permission(key_ref_t key_ref, const struct cred *cred,
1827 const struct cred *cred, in security_key_alloc() argument
1838 const struct cred *cred, in security_key_permission() argument