Searched refs:mode_t (Results 1 - 25 of 410) sorted by relevance

1234567891011>>

/freebsd-current/sys/contrib/openzfs/lib/libspl/include/
H A Dlibgen.h33 extern int mkdirp(const char *, mode_t);
/freebsd-current/cddl/compat/opensolaris/include/
H A Dsolaris.h11 int mkdirp(const char *, mode_t);
/freebsd-current/sys/fs/cd9660/
H A Dcd9660_mount.h45 mode_t fmask; /* file mask to be applied for files */
46 mode_t dmask; /* file mask to be applied for directories */
/freebsd-current/lib/libc/sys/
H A Dmknod.c35 int __sys_mknodat(int, const char *, mode_t, dev_t);
38 mknod(const char *path, mode_t mode, dev_t dev)
H A Dcreat.c40 int __creat(const char *path, mode_t mode);
44 __creat(const char *path, mode_t mode)
H A Dshm_open.c46 shm_open(const char *path, int flags, mode_t mode)
53 mode_t mode)
/freebsd-current/sys/contrib/openzfs/include/os/freebsd/spl/acl/
H A Dacl_common.h47 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,
/freebsd-current/lib/libc/gen/
H A Ddevname-compat11.c33 freebsd11_devname(uint32_t dev, mode_t type)
40 freebsd11_devname_r(uint32_t dev, mode_t type, char *buf, int len)
H A Dsetmode.c60 mode_t bits;
69 static mode_t get_current_umask(void);
70 static BITCMD *addcmd(BITCMD *, mode_t, mode_t, mode_t, mode_t);
82 mode_t
83 getmode(const void *bbox, mode_t omode)
86 mode_t clrval, newmode, value;
161 set = addcmd(set, (mode_t)(
[all...]
H A Ddevname.c42 devname_r(dev_t dev, mode_t type, char *buf, int len)
66 devname(dev_t dev, mode_t type)
/freebsd-current/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dpolicy.h43 uid_t, mode_t, mode_t);
58 int secpolicy_xvattr(xvattr_t *, uid_t, cred_t *, mode_t);
/freebsd-current/tools/build/cross-build/include/linux/
H A Dunistd.h79 mode_t getmode(const void *, mode_t);
/freebsd-current/usr.sbin/ppp/
H A Dserver.h39 mode_t mask;
57 extern enum server_stat server_LocalOpen(struct bundle *, const char *, mode_t);
/freebsd-current/sys/fs/smbfs/
H A Dsmbfs.h54 mode_t file_mode;
55 mode_t dir_mode;
73 mode_t sm_file_mode;
74 mode_t sm_dir_mode;
/freebsd-current/sys/sys/
H A Dstat.h75 typedef __mode_t mode_t; typedef
105 mode_t st_mode; /* inode protection mode */
125 mode_t st_mode; /* inode protection mode */
161 mode_t st_mode; /* inode protection mode */
365 int chmod(const char *, mode_t);
370 int fchmod(int, mode_t);
373 int fchmodat(int, const char *, mode_t, int);
381 int lchmod(const char *, mode_t);
386 int mkdir(const char *, mode_t);
387 int mkfifo(const char *, mode_t);
[all...]
H A Dksem.h40 mode_t ks_mode; /* protection bits */
H A Dacl.h86 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 mod
[all...]
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_entry_strmode.c41 static const mode_t permbits[] =
44 mode_t mode;
/freebsd-current/contrib/netbsd-tests/lib/libc/c063/
H A Dt_mkfifoat.c58 mode_t mode = 0600;
75 mode_t mode = 0600;
90 mode_t mode = 0600;
103 mode_t mode = 0600;
H A Dt_mkdirat.c58 mode_t mode = 0755;
75 mode_t mode = 0755;
90 mode_t mode = 0755;
103 mode_t mode = 0755;
H A Dt_mknodat.c75 mode_t mode = S_IFCHR|0600;
97 mode_t mode = S_IFCHR|0600;
117 mode_t mode = S_IFCHR|0600;
133 mode_t mode = S_IFCHR|0600;
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/tmpfile/
H A Dtmpfile_stat_mode.c49 test_stat_mode(mode_t mask)
55 mode_t masked = 0777 & ~mask;
56 mode_t mode;
/freebsd-current/contrib/libfido2/fuzz/
H A Dpreload-fuzz.c30 static int (*open_f)(const char *, int, mode_t);
38 mode_t mode;
41 mode = va_arg(ap, mode_t);
/freebsd-current/tests/sys/acl/
H A Dacl-api-test.c46 static const mode_t all_modes[] = {
58 static mode_t gen_random_mode(void)
60 mode_t mode = 0;
62 for (unsigned i = 0; i < sizeof(all_modes) / sizeof(mode_t); i++) {
70 /* Generate a random mode_t, produce an acl_t from it,
71 * then use acl_equiv_mode_np to produce a mode_t again.
72 * The call should succeed and mode_t's should be equal
80 mode_t src_mode, equiv_mode;
103 mode_t mode;
/freebsd-current/tests/sys/fs/fusefs/
H A Dmknod.cc49 mode_t m_oldmask;
50 const static mode_t c_umask = 022;
72 mode_t mode, dev_t dev)
115 mode_t mode, dev_t dev)
149 mode_t mode = S_IFBLK | 0755;
164 mode_t mode = S_IFCHR | 0755;
183 mode_t mode = S_IFIFO | 0755;
206 mode_t mode = S_IFIFO | 0755;
226 mode_t mode = S_IFSOCK | 0755;
257 mode_t mod
[all...]

Completed in 403 milliseconds

1234567891011>>