/freebsd/usr.bin/biff/ |
H A D | biff.c | 69 sb.st_mode & S_IXGRP ? "b" : "n"); in main() 70 return (sb.st_mode & (S_IXUSR | S_IXGRP) ? 0 : 1); in main() 76 if (chmod(name, sb.st_mode & ~(S_IXUSR | S_IXGRP)) < 0) in main() 80 if (chmod(name, (sb.st_mode & ~(S_IXUSR | S_IXGRP)) | S_IXUSR) in main() 85 if (chmod(name, (sb.st_mode & ~(S_IXUSR | S_IXGRP)) | S_IXGRP) in main() 92 return (sb.st_mode & (S_IXUSR | S_IXGRP) ? 0 : 1); in main()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | strmode.c | 108 switch (mode & (S_IXGRP | S_ISGID)) { in strmode() 112 case S_IXGRP: in strmode() 118 case S_IXGRP | S_ISGID: in strmode()
|
/freebsd/lib/libc/string/ |
H A D | strmode.c | 105 switch (mode & (S_IXGRP | S_ISGID)) { in strmode() 109 case S_IXGRP: in strmode() 115 case S_IXGRP | S_ISGID: in strmode()
|
/freebsd/libexec/comsat/ |
H A D | comsat.c | 164 if (stat(tty, &stb) == -1 || !(stb.st_mode & (S_IXUSR | S_IXGRP))) { in notify() 192 switch (stb.st_mode & (S_IXUSR | S_IXGRP)) { in notify() 194 case (S_IXUSR | S_IXGRP): in notify() 202 case S_IXGRP: in notify()
|
/freebsd/sys/kern/ |
H A D | subr_acl_nfs4.c | 237 (file_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) == 0) in vaccess_acl_nfs4() 265 (S_IXUSR | S_IXGRP | S_IXOTH)) != 0 && in vaccess_acl_nfs4() 684 if (mode & S_IXGRP) in acl_nfs4_sync_acl_from_mode_draft() 775 ((seen & S_IXGRP) == 0)) { in acl_nfs4_sync_mode_from_acl() 776 seen |= S_IXGRP; in acl_nfs4_sync_mode_from_acl() 778 mode |= S_IXGRP; in acl_nfs4_sync_mode_from_acl() 821 if ((seen & S_IXGRP) == 0) { in acl_nfs4_sync_mode_from_acl() 822 seen |= S_IXGRP; in acl_nfs4_sync_mode_from_acl() 824 mode |= S_IXGRP; in acl_nfs4_sync_mode_from_acl() 1115 if ((mode & S_IXGRP) == 0) in acl_nfs4_inherit_entries() [all …]
|
H A D | subr_acl_posix1e.c | 97 (S_IXUSR | S_IXGRP | S_IXOTH)) != 0 && in vaccess_acl_posix1e() 377 if (mode & S_IXGRP) in acl_posix1e_mode_to_perm() 451 mode |= S_IXGRP; in acl_posix1e_perms_to_mode()
|
/freebsd/contrib/elftoolchain/ar/ |
H A D | util.c | 145 c = (m & S_IXGRP) ? 's' : 'S'; in bsdar_strmode() 147 c = (m & S_IXGRP) ? 'x' : '-'; in bsdar_strmode()
|
/freebsd/contrib/tcsh/ |
H A D | tc.os.h | 304 #ifndef S_IXGRP 305 # define S_IXGRP (S_IEXEC >> 3) macro 329 # define S_IRWXG (S_IRGRP | S_IWGRP | S_IXGRP)
|
/freebsd/lib/libc/gen/ |
H A D | setmode.c | 137 if (omode & (S_IFDIR|S_IXUSR|S_IXGRP|S_IXOTH)) in getmode() 272 permXbits = S_IXUSR|S_IXGRP|S_IXOTH; in setmode() 275 perm |= S_IXUSR|S_IXGRP|S_IXOTH; in setmode()
|
/freebsd/sbin/veriexec/ |
H A D | manifest_parser.y | 272 if (!(fmode & (S_IXUSR|S_IXGRP|S_IXOTH))) { in do_ioctl() 276 if (!(st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))) { in do_ioctl()
|
/freebsd/contrib/smbfs/mount_smbfs/ |
H A D | mount_smbfs.c | 251 dir_mode |= S_IXGRP; in main() 262 if (dir_mode & S_IXGRP) in main()
|
/freebsd/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 91 !bitset(S_IXUSR|S_IXGRP|S_IXOTH, st->st_mode) && 303 bitset(S_IXUSR|S_IXGRP|S_IXOTH, st->st_mode)) 638 bitset(S_IXGRP, stbuf.st_mode)) 651 bitset(S_IXGRP, stbuf.st_mode))
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_acl.c | 95 #define ALL_MODE_EXECS (S_IXUSR | S_IXGRP | S_IXOTH) 970 (!(seen & S_IXGRP))) { in zfs_mode_compute() 971 seen |= S_IXGRP; in zfs_mode_compute() 973 mode |= S_IXGRP; in zfs_mode_compute() 1024 if (!(seen & S_IXGRP)) { in zfs_mode_compute() 1025 seen |= S_IXGRP; in zfs_mode_compute() 1027 mode |= S_IXGRP; in zfs_mode_compute() 1227 if (!(mode & S_IXUSR) && (mode & (S_IXGRP|S_IXOTH))) in acl_trivial_access_masks() 1235 if (!(mode & S_IXGRP) && (mode & S_IXOTH)) in acl_trivial_access_masks() 1243 if ((mode & S_IXUSR) && (!(mode & S_IXGRP) && (mode & S_IXOTH))) in acl_trivial_access_masks() [all …]
|
/freebsd/sys/fs/cd9660/ |
H A D | cd9660_node.c | 135 inop->inode.iso_mode |= S_IXGRP; in cd9660_defattr() 148 inop->inode.iso_mode |= S_IRUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH; in cd9660_defattr()
|
/freebsd/lib/libc/posix1e/ |
H A D | acl_equiv_mode_np.c | 79 ret_mode |= S_IXGRP; in acl_equiv_mode_np()
|
H A D | acl_from_mode_np.c | 88 if (mode & S_IXGRP) in acl_from_mode_np()
|
/freebsd/usr.bin/which/ |
H A D | which.c | 112 (fin.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) != 0)) { in is_there()
|
/freebsd/contrib/atf/atf-c/detail/ |
H A D | fs.c | 655 return st->m_sb.st_mode & S_IXGRP; in atf_fs_stat_is_group_executable() 720 if (!ok && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) { in atf_fs_eaccess() 734 ((mode & atf_fs_access_x) && (st.st_mode & S_IXGRP)); in atf_fs_eaccess()
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_umask.c | 52 S_IXGRP,
|
H A D | t_msgget.c | 254 S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH, S_IWOTH, S_IXOTH in ATF_TC_BODY()
|
/freebsd/usr.bin/chpass/ |
H A D | field.c | 249 if ((sbuf.st_mode & (S_IXOTH | S_IXGRP | S_IXUSR)) == 0) { in p_shell()
|
/freebsd/tests/sys/acl/ |
H A D | acl-api-test.c | 52 S_IXGRP,
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_acl.c | 97 #define ALL_MODE_EXECS (S_IXUSR | S_IXGRP | S_IXOTH) 952 (!(seen & S_IXGRP))) { in zfs_mode_compute() 953 seen |= S_IXGRP; in zfs_mode_compute() 955 mode |= S_IXGRP; in zfs_mode_compute() 1006 if (!(seen & S_IXGRP)) { in zfs_mode_compute() 1007 seen |= S_IXGRP; in zfs_mode_compute() 1009 mode |= S_IXGRP; in zfs_mode_compute() 1540 !isdir && ((mode & (S_IXUSR|S_IXGRP|S_IXOTH)) == 0)) { in zfs_acl_inherit()
|
/freebsd/contrib/mandoc/ |
H A D | catman.c | 181 S_IXGRP | S_IROTH | S_IXOTH) == -1 && in process_tree()
|
/freebsd/contrib/ntp/sntp/ |
H A D | kod_management.c | 141 | S_IRGRP | S_IXGRP in write_kod_db()
|