Searched refs:cred (Results 1 - 21 of 21) sorted by relevance

/include/linux/
H A Dcred.h23 struct cred;
69 extern void set_groups(struct cred *, struct group_info *);
97 * task->cred points to the subjective context that defines the details of how
102 struct cred { struct
141 extern void __put_cred(struct cred *);
144 extern const struct cred *get_task_cred(struct task_struct *);
145 extern struct cred *cred_alloc_blank(void);
146 extern struct cred *prepare_creds(void);
147 extern struct cred *prepare_exec_creds(void);
148 extern int commit_creds(struct cred *);
169 __validate_creds(const struct cred *cred, const char *file, unsigned line) argument
188 validate_creds(const struct cred *cred) argument
206 get_new_cred(struct cred *cred) argument
225 get_cred(const struct cred *cred) argument
245 struct cred *cred = (struct cred *) _cred; local
[all...]
H A Duser_namespace.h49 extern int create_user_ns(struct cred *new);
50 extern int unshare_userns(unsigned long unshare_flags, struct cred **new_cred);
73 static inline int create_user_ns(struct cred *new)
79 struct cred **new_cred)
H A Dkmod.h48 struct cred;
64 int (*init)(struct subprocess_info *info, struct cred *new);
74 int (*init)(struct subprocess_info *info, struct cred *new),
H A Dsecurity.h32 struct cred;
76 extern int cap_capable(const struct cred *cred, struct user_namespace *ns,
82 extern int cap_capset(struct cred *new, const struct cred *old,
96 extern int cap_task_fix_setuid(struct cred *new, const struct cred *old, int flags);
226 * pointed to by @current->cred and the information set in @bprm->cred by
235 * have, by this point, been set to @current->cred
1987 security_capable(const struct cred *cred, struct user_namespace *ns, int cap) argument
1993 security_capable_noaudit(const struct cred *cred, struct user_namespace *ns, int cap) argument
2361 security_file_open(struct file *file, const struct cred *cred) argument
2375 security_cred_alloc_blank(struct cred *cred, gfp_t gfp) argument
2380 security_cred_free(struct cred *cred) argument
2395 security_kernel_act_as(struct cred *cred, u32 secid) argument
2400 security_kernel_create_files_as(struct cred *cred, struct inode *inode) argument
3088 security_key_alloc(struct key *key, const struct cred *cred, unsigned long flags) argument
3099 security_key_permission(key_ref_t key_ref, const struct cred *cred, unsigned perm) argument
[all...]
H A Dkey.h79 struct cred;
217 const struct cred *cred,
291 const struct cred *cred,
353 extern int install_thread_keyring_to_cred(struct cred *cred);
H A Daudit.h241 const struct cred *new,
242 const struct cred *old);
243 extern void __audit_log_capset(const struct cred *new, const struct cred *old);
300 const struct cred *new,
301 const struct cred *old)
308 static inline void audit_log_capset(const struct cred *new,
309 const struct cred *old)
415 const struct cred *new,
416 const struct cred *ol
[all...]
H A Dnsproxy.h70 struct cred *, struct fs_struct *);
H A Dbinfmts.h36 struct cred *cred; /* new credentials */ member in struct:linux_binprm
H A Dnfs_fs.h53 struct rpc_cred * cred; member in struct:nfs_access_entry
81 struct rpc_cred *cred; member in struct:nfs_open_context
97 struct rpc_cred *cred; member in struct:nfs_open_dir_context
204 #define NFS_INO_INVALID_ACCESS 0x0008 /* cached access cred invalid */
365 extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, struct rpc_cred *cred, fmode_t mode);
440 return ctx->cred;
465 extern int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags);
H A Dpnfs_osd_xdr.h106 void *cred; member in struct:pnfs_osd_opaque_cred
H A Dinit_task.h130 extern struct cred init_cred;
205 RCU_POINTER_INITIALIZER(cred, &init_cred), \
H A Dnfs_xdr.h251 struct rpc_cred *cred; member in struct:nfs4_layoutget
287 struct rpc_cred *cred; member in struct:nfs4_layoutcommit_data
309 struct rpc_cred *cred; member in struct:nfs4_layoutreturn
1283 struct rpc_cred *cred; member in struct:nfs_pgio_header
1341 struct rpc_cred *cred; member in struct:nfs_commit_data
1370 struct rpc_cred *cred; member in struct:nfs_unlinkdata
1378 struct rpc_cred *cred; member in struct:nfs_renamedata
H A Dsocket.h13 struct cred;
H A Dsched.h56 #include <linux/cred.h>
1393 const struct cred __rcu *real_cred; /* objective and real subjective task
1395 const struct cred __rcu *cred; /* effective (overridable) subjective task member in struct:task_struct
2335 const struct cred *, u32);
H A Dfs.h47 struct cred;
807 const struct cred *f_cred;
1555 int (*dentry_open)(struct dentry *, struct file *, const struct cred *);
2071 extern int vfs_open(const struct path *, struct file *, const struct cred *);
2072 extern struct file * dentry_open(const struct path *, int, const struct cred *);
/include/linux/sunrpc/
H A Dsvcauth.h19 #include <linux/cred.h>
30 static inline void init_svc_cred(struct svc_cred *cred) argument
32 cred->cr_group_info = NULL;
33 cred->cr_principal = NULL;
34 cred->cr_gss_mech = NULL;
37 static inline void free_svc_cred(struct svc_cred *cred) argument
39 if (cred->cr_group_info)
40 put_group_info(cred->cr_group_info);
41 kfree(cred->cr_principal);
42 gss_mech_put(cred
[all...]
H A Dauth.h29 RPC_CRED_NO_CRKEY_TIMEOUT = 0, /* underlying cred has no key timeout */
30 RPC_CRED_KEY_EXPIRE_SOON = 1, /* underlying cred key will expire soon */
31 RPC_CRED_NOTIFY_TIMEOUT = 2, /* nofity generic cred when underlying
80 unsigned int au_cslack; /* call cred size estimate */
105 #define RPCAUTH_LOOKUP_NEW 0x01 /* Accept an uninitialised cred */
191 struct rpc_cred * get_rpccred(struct rpc_cred *cred) argument
193 atomic_inc(&cred->cr_count);
194 return cred;
H A Dclnt.h165 struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred,
/include/net/
H A Daf_vsock.h46 const struct cred *owner;
H A Dsock.h406 const struct cred *sk_peer_cred;
/include/scsi/
H A Dosd_ore.h33 u8 cred[OSD_CAP_LEN]; member in struct:ore_comp

Completed in 361 milliseconds