/include/linux/sunrpc/ |
H A D | svcauth.h | 19 #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 D | auth.h | 29 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;
|
/include/linux/ |
H A D | binfmts.h | 36 struct cred *cred; /* new credentials */ member in struct:linux_binprm
|
H A D | cred.h | 23 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 D | pnfs_osd_xdr.h | 106 void *cred; member in struct:pnfs_osd_opaque_cred
|
H A D | nfs_fs.h | 53 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 D | nfs_xdr.h | 251 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 D | security.h | 32 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 D | sched.h | 56 #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);
|
/include/scsi/ |
H A D | osd_ore.h | 33 u8 cred[OSD_CAP_LEN]; member in struct:ore_comp
|