| /dragonfly/sys/sys/ |
| HD | stat.h | 76 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 …]
|
| HD | ipc.h | 63 typedef __uint16_t mode_t; /* permissions */ typedef 77 mode_t mode; /* r/w permission */
|
| /dragonfly/gnu/usr.bin/grep/libgreputils/sys/ |
| HD | stat.h | 633 (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/ |
| HD | hcproto.h | 101 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/ |
| HD | smb_conn.h | 153 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);
|
| HD | smb_dev.h | 81 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/ |
| HD | fspred.c | 58 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/ |
| HD | vfs_helper.c | 78 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/ |
| HD | setmode.c | 58 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()
|
| HD | creat.c | 38 int __creat(const char *, mode_t); 41 __creat(const char *path, mode_t mode) in __creat()
|
| HD | devname.c | 48 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/ |
| HD | db.h | 210 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);
|
| HD | spawn.h | 37 typedef __uint16_t mode_t; typedef 83 int, const char * __restrict, int, mode_t);
|
| /dragonfly/bin/mkdir/ |
| HD | mkdir.c | 46 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/ |
| HD | server.c | 221 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()
|
| HD | server.h | 40 mode_t mask; 58 extern enum server_stat server_LocalOpen(struct bundle *, const char *, mode_t);
|
| /dragonfly/contrib/grep/lib/ |
| HD | openat.h | 36 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/ |
| HD | msdosfsmount.h | 74 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/ |
| HD | cd9660_mount.h | 46 mode_t fmask; /* file mask to be applied for files */ 47 … mode_t dmask; /* file mask to be applied for directories */
|
| /dragonfly/contrib/libarchive/libarchive/ |
| HD | archive_entry_strmode.c | 42 static const mode_t permbits[] = in archive_entry_strmode() 45 mode_t mode; in archive_entry_strmode()
|
| /dragonfly/usr.bin/fstat/ |
| HD | fstat.h | 47 mode_t mode; 53 static inline mode_t
|
| /dragonfly/sbin/jscan/ |
| HD | dump_mirror.c | 73 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/ |
| HD | flopen.c | 43 mode_t mode; in flopen() 54 mode = (mode_t)va_arg(ap, int); /* mode_t promoted to int */ in flopen()
|
| HD | login_class.c | 280 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/ |
| HD | smbfs.h | 64 mode_t file_mode; 65 mode_t dir_mode;
|