| /f-stack/freebsd/sys/ |
| H A D | stat.h | 78 typedef __mode_t mode_t; typedef 108 mode_t st_mode; /* inode protection mode */ 368 int chmod(const char *, mode_t); 373 int fchmod(int, mode_t); 384 int lchmod(const char *, mode_t); 389 int mkdir(const char *, mode_t); 390 int mkfifo(const char *, mode_t); 392 int mknod(const char *, mode_t, dev_t); 396 mode_t umask(mode_t); 399 int mkdirat(int, const char *, mode_t); [all …]
|
| H A D | acl.h | 86 typedef mode_t oldacl_perm_t; 289 acl_perm_t acl_posix1e_mode_to_perm(acl_tag_t tag, mode_t mode); 291 gid_t gid, mode_t mode); 292 mode_t acl_posix1e_perms_to_mode( 296 mode_t acl_posix1e_acl_to_mode(struct acl *acl); 297 mode_t acl_posix1e_newfilemode(mode_t cmode, 303 mode_t mode, int file_owner_id); 304 void acl_nfs4_sync_mode_from_acl(mode_t *mode, 310 struct acl *child_aclp, mode_t mode,
|
| H A D | mman.h | 245 typedef __mode_t mode_t; typedef 274 mode_t shm_mode; 307 struct shmfd *shm_alloc(struct ucred *ucred, mode_t mode, bool largepage); 345 int shm_open(const char *, int, mode_t); 350 int shm_create_largepage(const char *, int, int, int, mode_t);
|
| H A D | ipc.h | 65 typedef __mode_t mode_t; typedef 93 mode_t mode; /* r/w permission */
|
| H A D | fcntl.h | 53 typedef __mode_t mode_t; typedef 349 int creat(const char *, mode_t);
|
| H A D | sysproto.h | 59 char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; 85 char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; 409 char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; 429 char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; 451 char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; 719 char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; 1073 char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; 1268 char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; 1424 char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; 1454 char mode_l_[PADL_(mode_t)]; mode_t mode; char mode_r_[PADR_(mode_t)]; [all …]
|
| H A D | ksem.h | 42 mode_t ks_mode; /* protection bits */
|
| H A D | _semaphore.h | 48 int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode,
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/acl/ |
| H A D | acl_common.h | 47 extern void adjust_ace_pair(ace_t *pair, mode_t mode); 48 extern void adjust_ace_pair_common(void *, size_t, size_t, mode_t); 59 int acl_trivial_create(mode_t mode, boolean_t isdir, ace_t **acl, int *count); 60 void acl_trivial_access_masks(mode_t mode, boolean_t isdir,
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/suid/ |
| H A D | suid_write_to_file.c | 34 test_stat_mode(mode_t extra) in test_stat_mode() 41 mode_t res; in test_stat_mode() 42 mode_t mode = 0777 | extra; in test_stat_mode() 109 mode_t extra; in main()
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | policy.h | 43 uid_t, mode_t, mode_t); 57 int secpolicy_xvattr(xvattr_t *, uid_t, cred_t *, mode_t);
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/ |
| H A D | tmpfile_stat_mode.c | 48 test_stat_mode(mode_t mask) in test_stat_mode() 54 mode_t masked = 0777 & ~mask; in test_stat_mode() 55 mode_t mode; in test_stat_mode()
|
| /f-stack/freebsd/kern/ |
| H A D | subr_acl_posix1e.c | 365 acl_posix1e_mode_to_perm(acl_tag_t tag, mode_t mode) in acl_posix1e_mode_to_perm() 408 acl_posix1e_mode_to_entry(acl_tag_t tag, uid_t uid, gid_t gid, mode_t mode) in acl_posix1e_mode_to_entry() 440 mode_t 444 mode_t mode; in acl_posix1e_perms_to_mode() 474 mode_t 625 mode_t 626 acl_posix1e_newfilemode(mode_t cmode, struct acl *dacl) in acl_posix1e_newfilemode() 628 mode_t mode; in acl_posix1e_newfilemode()
|
| H A D | subr_acl_nfs4.c | 179 mode_t file_mode = 0; in vaccess_acl_nfs4() 360 acl_nfs4_sync_acl_from_mode_draft(struct acl *aclp, mode_t mode, in acl_nfs4_sync_acl_from_mode_draft() 367 mode_t amode; in acl_nfs4_sync_acl_from_mode_draft() 577 mode_t extramode, ownermode; in acl_nfs4_sync_acl_from_mode_draft() 707 acl_nfs4_sync_acl_from_mode(struct acl *aclp, mode_t mode, in acl_nfs4_sync_acl_from_mode() 722 mode_t old_mode = *_mode, mode = 0, seen = 0; in acl_nfs4_sync_mode_from_acl() 847 struct acl *child_aclp, mode_t mode, int file_owner_id, in acl_nfs4_compute_inherited_acl_draft() 1010 struct acl *child_aclp, mode_t mode, int file_owner_id, in acl_nfs4_inherit_entries() 1189 struct acl *child_aclp, mode_t mode, int file_owner_id, in acl_nfs4_compute_inherited_acl() 1209 acl_nfs4_trivial_from_mode(struct acl *aclp, mode_t mode) in acl_nfs4_trivial_from_mode() [all …]
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/ |
| H A D | acl.h | 273 extern int acltomode(aclent_t *, int, mode_t *); 274 extern int aclfrommode(aclent_t *, int, mode_t *); 283 extern int acl_strip(const char *, uid_t, gid_t, mode_t);
|
| /f-stack/tools/libutil/ |
| H A D | flopen.c | 55 mode_t mode; in vflopenat() 63 mode = (mode_t)va_arg(ap, int); /* mode_t promoted to int */ in vflopenat()
|
| H A D | login_class.c | 385 static mode_t 387 mode_t mymask, unsigned long flags) in setlogincontext() 395 mymask = (mode_t)login_getcapnum(lc, "umask", mymask, mymask); in setlogincontext() 429 mode_t mymask; in setusercontext()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | policy.c | 110 mode_t curmode, mode_t wantmode) in secpolicy_vnode_access2() 348 secpolicy_xvattr(xvattr_t *xvap, uid_t owner, cred_t *cr, mode_t type) in secpolicy_xvattr()
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/ |
| H A D | libgen.h | 33 extern int mkdirp(const char *, mode_t);
|
| /f-stack/freebsd/contrib/zstd/programs/ |
| H A D | util.h | 109 typedef int mode_t; typedef 153 int UTIL_chmod(char const* filename, const stat_t* statbuf, mode_t permissions);
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zfs_acl.h | 220 extern int zfs_zaccess_rwx(struct znode *, mode_t, int, cred_t *); 221 extern int zfs_zaccess_unix(struct znode *, mode_t, cred_t *);
|
| /f-stack/freebsd/security/audit/ |
| H A D | audit_private.h | 109 mode_t vn_mode; 170 mode_t pipc_mode; 214 mode_t ar_arg_mode;
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | procfs_list.h | 59 mode_t mode,
|
| H A D | types.h | 78 typedef mode_t o_mode_t;
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | procfs_list.h | 62 mode_t mode,
|