Home
last modified time | relevance | path

Searched refs:file_mode (Results 1 – 4 of 4) sorted by relevance

/minix/bin/pax/
H A Dfile_subs.c457 mode_t file_mode; in node_creat() local
469 file_mode = arcn->sb.st_mode & FILEBITS(arcn->type == PAX_DIR); in node_creat()
496 res = domkdir(nm, file_mode); in node_creat()
502 file_mode |= S_IFCHR; in node_creat()
503 res = mknod(nm, file_mode, arcn->sb.st_rdev); in node_creat()
506 file_mode |= S_IFBLK; in node_creat()
507 res = mknod(nm, file_mode, arcn->sb.st_rdev); in node_creat()
510 res = mkfifo(nm, file_mode); in node_creat()
603 set_pmode(nm,file_mode | S_IRWXU); in node_creat()
/minix/lib/libpuffs/
H A Dcreds.c162 puffs_access(enum vtype type, mode_t file_mode, uid_t uid, gid_t gid, in puffs_access() argument
174 (file_mode & (S_IXUSR|S_IXGRP|S_IXOTH)) == 0) in puffs_access()
206 if ((file_mode & mask) == mask) in puffs_access()
/minix/sys/sys/
H A Dkauth.h521 #define KAUTH_ACCESS_ACTION(access_mode, vn_vtype, file_mode) \ argument
523 (FS_OBJECT_CAN_EXEC(vn_vtype, file_mode) ? KAUTH_VNODE_IS_EXEC : 0))
/minix/sys/fs/msdosfs/
H A Dmsdosfs_vnops.c215 mode_t file_mode; in msdosfs_check_permitted() local
218 file_mode = S_IRWXU|S_IRWXG|S_IRWXO; in msdosfs_check_permitted()
220 file_mode = S_IRUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH; in msdosfs_check_permitted()
222 file_mode &= (vp->v_type == VDIR ? pmp->pm_dirmask : pmp->pm_mask); in msdosfs_check_permitted()
225 vp->v_type, file_mode), vp, NULL, genfs_can_access(vp->v_type, in msdosfs_check_permitted()
226 file_mode, pmp->pm_uid, pmp->pm_gid, mode, cred)); in msdosfs_check_permitted()