Home
last modified time | relevance | path

Searched refs:mode_t (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/dragonfly/sys/sys/
HDstat.h76 typedef __uint16_t mode_t; /* permissions */ typedef
104 mode_t st_mode; /* inode protection mode */
290 int chmod(const char *, mode_t);
291 int fchmod(int, mode_t);
293 int fchmodat(int, const char *, mode_t, int);
301 int mkdir(const char *, mode_t);
302 int mkfifo(const char *, mode_t);
304 int mknod(const char *, mode_t, dev_t);
308 mode_t umask(mode_t);
311 int mkdirat(int, const char *, mode_t);
[all …]
HDipc.h63 typedef __uint16_t mode_t; /* permissions */ typedef
77 mode_t mode; /* r/w permission */
/dragonfly/gnu/usr.bin/grep/libgreputils/sys/
HDstat.h633 (int fd, char const *file, mode_t mode, int flag)
637 (int fd, char const *file, mode_t mode, int flag));
749 (const char *filename, mode_t mode));
752 _GL_FUNCDECL_SYS (lchmod, int, (const char *filename, mode_t mode)
755 _GL_CXXALIAS_SYS (lchmod, int, (const char *filename, mode_t mode));
805 _GL_FUNCDECL_RPL (mkdir, int, (char const *name, mode_t mode)
807 _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode));
817 rpl_mkdir (char const *name, mode_t mode) in rpl_mkdir()
827 _GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode));
829 _GL_CXXALIAS_SYS (mkdir, int, (char const *name, mode_t mode));
[all …]
/dragonfly/bin/cpdup/
HDhcproto.h101 int hc_open(struct HostConf *hc, const char *path, int flags, mode_t mode);
106 int hc_mkdir(struct HostConf *hc, const char *path, mode_t mode);
110 int hc_chmod(struct HostConf *hc, const char *path, mode_t mode);
111 int hc_lchmod(struct HostConf *hc, const char *path, mode_t mode);
112 int hc_mknod(struct HostConf *hc, const char *path, mode_t mode, dev_t rdev);
117 mode_t hc_umask(struct HostConf *hc, mode_t numask);
/dragonfly/sys/netproto/smb/
HDsmb_conn.h153 mode_t mode; /* access mode */
168 mode_t mode; /* access mode */
263 mode_t vc_mode; /* access mode */
307 mode_t ss_mode; /* access mode */
329 mode_t mode;
330 mode_t rights;
346 mode_t mode;
347 mode_t rights;
372 int smb_vc_access(struct smb_vc *vcp, struct smb_cred *scred, mode_t mode);
389 int smb_share_access(struct smb_share *ssp, struct smb_cred *scred, mode_t mode);
HDsmb_dev.h81 mode_t ioc_mode; /* desired access mode */
82 mode_t ioc_rights; /* SMBM_* */
92 mode_t ioc_mode; /* desired access mode to share */
93 mode_t ioc_rights; /* SMBM_* */
/dragonfly/usr.sbin/installer/libaura/
HDfspred.c58 vstatmod(mode_t *m, int *error, const char *fmt, va_list args) in vstatmod()
81 mode_t m; in is_dir()
98 mode_t m; in is_file()
154 mode_t m; in is_device()
171 mode_t m; in is_named_pipe()
/dragonfly/sys/kern/
HDvfs_helper.c78 mode_t ino_mode, u_int32_t ino_flags) in vop_helper_access()
82 mode_t mask, mode = ap->a_mode; in vop_helper_access()
207 vop_helper_create_uid(struct mount *mp, mode_t dmode, uid_t duid, in vop_helper_create_uid()
208 struct ucred *cred, mode_t *modep) in vop_helper_create_uid()
224 vop_helper_chmod(struct vnode *vp, mode_t new_mode, struct ucred *cred, in vop_helper_chmod()
225 uid_t cur_uid, gid_t cur_gid, mode_t *cur_modep) in vop_helper_chmod()
251 uid_t *cur_uidp, gid_t *cur_gidp, mode_t *cur_modep) in vop_helper_chown()
/dragonfly/lib/libc/gen/
HDsetmode.c58 mode_t bits;
79 mode_t
80 getmode(const void *bbox, mode_t omode) in getmode()
83 mode_t clrval, newmode, value; in getmode()
173 mode_t mask; in setmode()
209 perm = (mode_t)perml; in setmode()
359 set->bits = (mode_t)~0; in addcmd()
HDcreat.c38 int __creat(const char *, mode_t);
41 __creat(const char *path, mode_t mode) in __creat()
HDdevname.c48 devname_r(dev_t dev, mode_t type, char *buf, size_t len) in devname_r()
64 devname(dev_t dev, mode_t type) in devname()
/dragonfly/include/
HDdb.h210 DB *dbopen(const char *, int, mode_t, DBTYPE, const void *);
214 DB *__bt_open(const char *, int, mode_t, const BTREEINFO *, int);
215 DB *__hash_open(const char *, int, mode_t, const HASHINFO *, int);
216 DB *__rec_open(const char *, int, mode_t, const RECNOINFO *, int);
HDspawn.h37 typedef __uint16_t mode_t; typedef
83 int, const char * __restrict, int, mode_t);
/dragonfly/bin/mkdir/
HDmkdir.c46 static int build(char *, mode_t);
57 mode_t omode; in main()
129 build(char *path, mode_t omode) in build()
132 mode_t numask, oumask; in build()
/dragonfly/usr.sbin/ppp/
HDserver.c221 mode_t mask; in server_Reopen()
243 server_LocalOpen(struct bundle *bundle, const char *name, mode_t mask) in server_LocalOpen()
246 mode_t oldmask; in server_LocalOpen()
249 oldmask = (mode_t)-1; /* Silence compiler */ in server_LocalOpen()
269 if (mask != (mode_t)-1) in server_LocalOpen()
272 if (mask != (mode_t)-1) in server_LocalOpen()
278 if (mask != (mode_t)-1) in server_LocalOpen()
HDserver.h40 mode_t mask;
58 extern enum server_stat server_LocalOpen(struct bundle *, const char *, mode_t);
/dragonfly/contrib/grep/lib/
HDopenat.h36 int openat_permissive (int fd, char const *file, int flags, mode_t mode,
82 chmodat (int fd, char const *file, mode_t mode) in chmodat()
88 lchmodat (int fd, char const *file, mode_t mode) in lchmodat()
/dragonfly/sys/vfs/msdosfs/
HDmsdosfsmount.h74 mode_t pm_mask; /* mask to and with file protection bits
76 mode_t pm_dirmask; /* mask to and with file protection bits
231 mode_t mask; /* file mask to be applied for msdosfs perms */
235 mode_t dirmask; /* dir mask to be applied for msdosfs perms */
/dragonfly/sys/vfs/isofs/cd9660/
HDcd9660_mount.h46 mode_t fmask; /* file mask to be applied for files */
47mode_t dmask; /* file mask to be applied for directories */
/dragonfly/contrib/libarchive/libarchive/
HDarchive_entry_strmode.c42 static const mode_t permbits[] = in archive_entry_strmode()
45 mode_t mode; in archive_entry_strmode()
/dragonfly/usr.bin/fstat/
HDfstat.h47 mode_t mode;
53 static inline mode_t
/dragonfly/sbin/jscan/
HDdump_mirror.c73 mode_t save_umask; in dump_mirror_stream()
430 if (jattr->modes != (mode_t)-1) in dump_mirror_rebuild_redo()
459 if (jattr->path1 && jattr->modes != (mode_t)-1) { in dump_mirror_rebuild_redo()
487 if (jattr->path1 && jattr->modes != (mode_t)-1) { in dump_mirror_rebuild_redo()
581 if (jattr->path1 && jattr->modes != (mode_t)-1) { in dump_mirror_rebuild_undo()
658 if (jattr->modes != (mode_t)-1) in dosetattr()
672 if (jattr->modes != (mode_t)-1) in dosetattr()
/dragonfly/lib/libutil/
HDflopen.c43 mode_t mode; in flopen()
54 mode = (mode_t)va_arg(ap, int); /* mode_t promoted to int */ in flopen()
HDlogin_class.c280 static mode_t
282 mode_t mymask, unsigned long flags) in setlogincontext()
290 mymask = (mode_t)login_getcapnum(lc, "umask", mymask, mymask); in setlogincontext()
321 mode_t mymask; in setusercontext()
/dragonfly/sys/vfs/smbfs/
HDsmbfs.h64 mode_t file_mode;
65 mode_t dir_mode;

12345678910>>...12