/netbsd/external/gpl3/gcc.old/dist/libgfortran/intrinsics/ |
H A D | chmod.c | 432 file_mode = (file_mode & ~(_S_IWRITE | _S_IREAD)) in chmod_internal() 437 file_mode = (file_mode & ~(S_ISUID | S_IRUSR | S_IWUSR | S_IXUSR)) in chmod_internal() 440 file_mode = (file_mode & ~(S_ISGID | S_IRGRP | S_IWGRP | S_IXGRP)) in chmod_internal() 443 file_mode = (file_mode & ~(S_IROTH | S_IWOTH | S_IXOTH)) in chmod_internal() 447 file_mode |= S_ISVTX; in chmod_internal() 449 file_mode &= ~S_ISVTX; in chmod_internal() 456 file_mode &= ~new_mode; in chmod_internal() 459 file_mode &= ~S_ISVTX; in chmod_internal() 464 file_mode |= new_mode; in chmod_internal() 467 file_mode |= S_ISVTX; in chmod_internal() [all …]
|
/netbsd/external/gpl3/gcc/dist/libgfortran/intrinsics/ |
H A D | chmod.c | 435 file_mode = (file_mode & ~(_S_IWRITE | _S_IREAD)) in chmod_internal() 440 file_mode = (file_mode & ~(S_ISUID | S_IRUSR | S_IWUSR | S_IXUSR)) in chmod_internal() 443 file_mode = (file_mode & ~(S_ISGID | S_IRGRP | S_IWGRP | S_IXGRP)) in chmod_internal() 446 file_mode = (file_mode & ~(S_IROTH | S_IWOTH | S_IXOTH)) in chmod_internal() 450 file_mode |= S_ISVTX; in chmod_internal() 452 file_mode &= ~S_ISVTX; in chmod_internal() 459 file_mode &= ~new_mode; in chmod_internal() 462 file_mode &= ~S_ISVTX; in chmod_internal() 467 file_mode |= new_mode; in chmod_internal() 470 file_mode |= S_ISVTX; in chmod_internal() [all …]
|
/netbsd/external/bsd/unbound/dist/libunbound/python/ |
H A D | file_py3.i | 46 static const char * const file_mode[] = {"w+", "w", "r"}; in fdfl_to_str() local 49 return file_mode[0]; in fdfl_to_str() 51 return file_mode[1]; in fdfl_to_str() 53 return file_mode[2]; in fdfl_to_str()
|
/netbsd/sys/miscfs/genfs/ |
H A D | genfs_vnops.c | 705 if (file_mode & S_IXUSR) in genfs_can_access() 707 if (file_mode & S_IRUSR) in genfs_can_access() 709 if (file_mode & S_IWUSR) in genfs_can_access() 721 if (file_mode & S_IXGRP) in genfs_can_access() 723 if (file_mode & S_IRGRP) in genfs_can_access() 725 if (file_mode & S_IWGRP) in genfs_can_access() 732 if (file_mode & S_IXOTH) in genfs_can_access() 734 if (file_mode & S_IROTH) in genfs_can_access() 736 if (file_mode & S_IWOTH) in genfs_can_access() 1100 file_mode = 0; in genfs_can_access_acl_nfs4() [all …]
|
/netbsd/bin/pax/ |
H A D | file_subs.c | 471 mode_t file_mode; in node_creat() local 483 file_mode = arcn->sb.st_mode & FILEBITS(arcn->type == PAX_DIR); in node_creat() 510 res = domkdir(nm, file_mode); in node_creat() 516 file_mode |= S_IFCHR; in node_creat() 517 res = mknod(nm, file_mode, arcn->sb.st_rdev); in node_creat() 520 file_mode |= S_IFBLK; in node_creat() 521 res = mknod(nm, file_mode, arcn->sb.st_rdev); in node_creat() 524 res = mkfifo(nm, file_mode); in node_creat() 617 set_pmode(nm,file_mode | S_IRWXU); in node_creat()
|
/netbsd/lib/libpuffs/ |
H A D | creds.c | 162 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()
|
/netbsd/sys/fs/ntfs/ |
H A D | ntfs_vnops.c | 428 mode_t file_mode; in ntfs_check_permitted() local 430 file_mode = ip->i_mp->ntm_mode | (S_IXUSR|S_IXGRP|S_IXOTH); in ntfs_check_permitted() 433 vp->v_type, file_mode), vp, NULL, genfs_can_access(vp, cred, in ntfs_check_permitted() 434 ip->i_mp->ntm_uid, ip->i_mp->ntm_gid, file_mode, NULL, accmode)); in ntfs_check_permitted()
|
/netbsd/sys/sys/ |
H A D | kauth.h | 537 #define KAUTH_ACCESS_ACTION(access_mode, vn_vtype, file_mode) \ argument 539 (FS_OBJECT_CAN_EXEC(vn_vtype, file_mode) ? KAUTH_VNODE_IS_EXEC : 0))
|
/netbsd/sys/fs/msdosfs/ |
H A D | msdosfs_vnops.c | 211 mode_t file_mode; in msdosfs_check_permitted() local 214 file_mode = S_IRWXU|S_IRWXG|S_IRWXO; in msdosfs_check_permitted() 216 file_mode = S_IRUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH; in msdosfs_check_permitted() 218 file_mode &= (vp->v_type == VDIR ? pmp->pm_dirmask : pmp->pm_mask); in msdosfs_check_permitted() 221 vp->v_type, file_mode), vp, NULL, genfs_can_access(vp, cred, in msdosfs_check_permitted() 222 pmp->pm_uid, pmp->pm_gid, file_mode, NULL, accmode)); in msdosfs_check_permitted()
|
/netbsd/sys/fs/adosfs/ |
H A D | advnops.c | 729 mode_t file_mode = adunixprot(ap->adprot) & ap->amp->mask; in adosfs_check_permitted() local 732 vp->v_type, file_mode), vp, NULL, genfs_can_access(vp, in adosfs_check_permitted() 733 cred, ap->uid, ap->gid, file_mode, NULL, accmode)); in adosfs_check_permitted()
|
/netbsd/external/bsd/ntp/dist/sntp/libopts/ |
H A D | file.c | 130 FILE * fp = fopen(pOD->optArg.argString, mode.file_mode); in fopen_file_fp()
|
/netbsd/sys/fs/hfs/ |
H A D | hfs_vnops.c | 632 if ((bsd->file_mode & S_IFMT) == 0) { in hfs_vop_getattr() 641 vap->va_mode = bsd->file_mode; in hfs_vop_getattr()
|
H A D | hfs_subr.c | 410 mode = ((const hfs_file_record_t *)rec)->bsd.file_mode; in hfs_catalog_keyed_record_vtype()
|
H A D | libhfs.h | 333 uint16_t file_mode; member
|
H A D | libhfs.c | 1990 out_perms->file_mode = be16tohp(&ptr); in hfslib_read_bsd_data()
|
/netbsd/external/bsd/ntp/dist/sntp/libopts/autoopts/ |
H A D | options.h | 183 char const * file_mode; ///< fopen(3) mode string member
|
/netbsd/external/bsd/file/dist/magic/magdir/ |
H A D | geo | 85 # file_mode; file mode mask (0x00 bathy & sidescan, 0x80 bathy, 0x40 sidescan, 0x20 seismic)
|
/netbsd/external/gpl3/gcc/dist/libgfortran/ |
H A D | ChangeLog-2019 | 105 * io/transfer.c (file_mode, current_mode,
|
H A D | ChangeLog-2006 | 773 * io/transfer.c (file_mode): Add modes for unformatted stream and
|
/netbsd/external/gpl3/gcc.old/dist/libgfortran/io/ |
H A D | transfer.c | 199 file_mode; typedef 202 static file_mode 205 file_mode m; in current_mode()
|
/netbsd/external/gpl3/gcc/dist/libgfortran/io/ |
H A D | transfer.c | 199 file_mode; typedef 202 static file_mode 205 file_mode m; in current_mode()
|