Lines Matching refs:cred
12 #include <linux/cred.h>
22 const struct cred *saved_cred;
93 static inline void hmdfs_check_cred(const struct cred *cred)
95 if (cred->fsuid.val != OID_SYSTEM || cred->fsgid.val != OID_SYSTEM)
96 hmdfs_warning("uid is %u, gid is %u", cred->fsuid.val,
97 cred->fsgid.val);
222 static inline const struct cred *hmdfs_override_creds(const struct cred *new)
230 static inline void hmdfs_revert_creds(const struct cred *old)
249 const struct cred *hmdfs_override_fsids(bool is_recv_thread);
250 const struct cred *hmdfs_override_dir_fsids(struct inode *dir,
252 const struct cred *hmdfs_override_file_fsids(struct inode *dir, __u16 *perm);
253 void hmdfs_revert_fsids(const struct cred *old_cred);
283 void hmdfs_revert_fsids(const struct cred *old_cred)
307 const struct cred *hmdfs_override_fsids(bool is_recv_thread)
313 const struct cred *hmdfs_override_creds(const struct cred *new)
319 void hmdfs_revert_creds(const struct cred *old)
343 void hmdfs_check_cred(const struct cred *cred)