Home
last modified time | relevance | path

Searched refs:S_IXGRP (Results 1 – 25 of 83) sorted by relevance

1234

/freebsd/usr.bin/biff/
H A Dbiff.c69 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 Dstrmode.c108 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 Dstrmode.c105 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 Dcomsat.c164 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 Dsubr_acl_nfs4.c237 (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 Dsubr_acl_posix1e.c97 (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 Dutil.c145 c = (m & S_IXGRP) ? 's' : 'S'; in bsdar_strmode()
147 c = (m & S_IXGRP) ? 'x' : '-'; in bsdar_strmode()
/freebsd/contrib/tcsh/
H A Dtc.os.h304 #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 Dsetmode.c137 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 Dmanifest_parser.y272 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 Dmount_smbfs.c251 dir_mode |= S_IXGRP; in main()
262 if (dir_mode & S_IXGRP) in main()
/freebsd/contrib/sendmail/libsmutil/
H A Dsafefile.c91 !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 Dzfs_acl.c95 #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 Dcd9660_node.c135 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 Dacl_equiv_mode_np.c79 ret_mode |= S_IXGRP; in acl_equiv_mode_np()
H A Dacl_from_mode_np.c88 if (mode & S_IXGRP) in acl_from_mode_np()
/freebsd/usr.bin/which/
H A Dwhich.c112 (fin.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)) != 0)) { in is_there()
/freebsd/contrib/atf/atf-c/detail/
H A Dfs.c655 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 Dt_umask.c52 S_IXGRP,
H A Dt_msgget.c254 S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH, S_IWOTH, S_IXOTH in ATF_TC_BODY()
/freebsd/usr.bin/chpass/
H A Dfield.c249 if ((sbuf.st_mode & (S_IXOTH | S_IXGRP | S_IXUSR)) == 0) { in p_shell()
/freebsd/tests/sys/acl/
H A Dacl-api-test.c52 S_IXGRP,
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_acl.c97 #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 Dcatman.c181 S_IXGRP | S_IROTH | S_IXOTH) == -1 && in process_tree()
/freebsd/contrib/ntp/sntp/
H A Dkod_management.c141 | S_IRGRP | S_IXGRP in write_kod_db()

1234