| /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/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/libexec/comsat/ |
| H A D | comsat.c | 158 if (stat(tty, &stb) == -1 || !(stb.st_mode & (S_IXUSR | S_IXGRP))) { in notify() 193 } else if (stb.st_mode & S_IXGRP) { in notify()
|
| /freebsd/contrib/llvm-project/libc/include/llvm-libc-macros/linux/ |
| H A D | sys-stat-macros.h | 41 #define S_IXGRP 00010 macro
|
| /freebsd/contrib/smbfs/mount_smbfs/ |
| H A D | mount_smbfs.c | 250 dir_mode |= S_IXGRP; in main() 261 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/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/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_acl.c | 96 #define ALL_MODE_EXECS (S_IXUSR | S_IXGRP | S_IXOTH) 971 (!(seen & S_IXGRP))) { in zfs_mode_compute() 972 seen |= S_IXGRP; in zfs_mode_compute() 974 mode |= S_IXGRP; in zfs_mode_compute() 1025 if (!(seen & S_IXGRP)) { in zfs_mode_compute() 1026 seen |= S_IXGRP; in zfs_mode_compute() 1028 mode |= S_IXGRP; in zfs_mode_compute() 1228 if (!(mode & S_IXUSR) && (mode & (S_IXGRP|S_IXOTH))) in acl_trivial_access_masks() 1236 if (!(mode & S_IXGRP) && (mode & S_IXOTH)) in acl_trivial_access_masks() 1244 if ((mode & S_IXUSR) && (!(mode & S_IXGRP) && (mode & S_IXOTH))) in acl_trivial_access_masks() [all …]
|
| /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 | 580 return st->m_sb.st_mode & S_IXGRP; in atf_fs_stat_is_group_executable() 645 if (!ok && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) { in atf_fs_eaccess() 659 ((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,
|
| /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/contrib/mandoc/ |
| H A D | catman.c | 251 S_IXGRP | S_IROTH | S_IXOTH) == -1 && in main() 421 S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) == -1)
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_acl.c | 98 #define ALL_MODE_EXECS (S_IXUSR | S_IXGRP | S_IXOTH) 953 (!(seen & S_IXGRP))) { in zfs_mode_compute() 954 seen |= S_IXGRP; in zfs_mode_compute() 956 mode |= S_IXGRP; in zfs_mode_compute() 1007 if (!(seen & S_IXGRP)) { in zfs_mode_compute() 1008 seen |= S_IXGRP; in zfs_mode_compute() 1010 mode |= S_IXGRP; in zfs_mode_compute() 1542 !isdir && ((mode & (S_IXUSR|S_IXGRP|S_IXOTH)) == 0)) { in zfs_acl_inherit()
|
| /freebsd/tests/sys/capsicum/ |
| H A D | fexecve.cc | 122 EXPECT_EQ((mode_t)0, data.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)); in FORK_TEST_F()
|