| /freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/ |
| HD | t_umask.c | 51 S_IWGRP, 100 (void)umask(S_IWGRP | S_IWOTH); in ATF_TC_BODY() 107 (void)umask(S_IWGRP | S_IWOTH); in ATF_TC_CLEANUP() 153 (void)umask(S_IWGRP | S_IWOTH); in ATF_TC_BODY() 161 (void)umask(S_IWGRP | S_IWOTH); in ATF_TC_CLEANUP() 188 (void)umask(S_IWGRP | S_IWOTH); in ATF_TC_BODY() 195 (void)umask(S_IWGRP | S_IWOTH); in ATF_TC_CLEANUP()
|
| /freebsd-13-stable/usr.bin/mesg/ |
| HD | mesg.c | 84 if (sb.st_mode & S_IWGRP) { in main() 94 if (chmod(tty, sb.st_mode | S_IWGRP) < 0) in main() 98 if (chmod(tty, sb.st_mode & ~S_IWGRP) < 0) in main()
|
| /freebsd-13-stable/usr.sbin/lpr/common_source/ |
| HD | lp.h | 217 #define LOCK_FILE_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH) 222 #define STAT_FILE_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH) 223 #define LOG_FILE_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH) 224 #define TEMP_FILE_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH)
|
| /freebsd-13-stable/contrib/openpam/lib/libpam/ |
| HD | openpam_check_owner_perms.c | 77 (sb.st_mode & (S_IWGRP|S_IWOTH)) != 0) { in openpam_check_desc_owner_perms() 128 (sb.st_mode & (S_IWGRP|S_IWOTH)) != 0) { in openpam_check_path_owner_perms()
|
| /freebsd-13-stable/contrib/apr/file_io/unix/ |
| HD | fileacc.c | 53 mode |= S_IWGRP; in apr_unix_perms2mode() 88 if (mode & S_IWGRP) in apr_unix_mode2perms()
|
| /freebsd-13-stable/sys/kern/ |
| HD | subr_acl_nfs4.c | 680 if (mode & S_IWGRP) in acl_nfs4_sync_acl_from_mode_draft() 769 ((seen & S_IWGRP) == 0)) { in acl_nfs4_sync_mode_from_acl() 770 seen |= S_IWGRP; in acl_nfs4_sync_mode_from_acl() 772 mode |= S_IWGRP; in acl_nfs4_sync_mode_from_acl() 804 if ((seen & S_IWGRP) == 0) { in acl_nfs4_sync_mode_from_acl() 805 seen |= S_IWGRP; in acl_nfs4_sync_mode_from_acl() 807 mode |= S_IWGRP; in acl_nfs4_sync_mode_from_acl() 1112 if ((mode & S_IWGRP) == 0) in acl_nfs4_inherit_entries() 1149 if (mode & S_IWGRP) in acl_nfs4_compute_inherited_acl_psarc()
|
| HD | subr_acl_posix1e.c | 382 if (mode & S_IWGRP) in acl_posix1e_mode_to_perm() 456 mode |= S_IWGRP; in acl_posix1e_perms_to_mode()
|
| /freebsd-13-stable/crypto/heimdal/kcm/ |
| HD | acl.c | 111 mask |= S_IWUSR|S_IWGRP|S_IWOTH; in kcm_access() 132 mask |= S_IWGRP; in kcm_access()
|
| /freebsd-13-stable/contrib/tcsh/ |
| HD | tc.os.h | 291 #ifndef S_IWGRP 292 # define S_IWGRP (S_IWRITE >> 3) macro 329 # define S_IRWXG (S_IRGRP | S_IWGRP | S_IXGRP)
|
| /freebsd-13-stable/crypto/heimdal/lib/krb5/ |
| HD | kuserok.c | 74 if ((st.st_mode & (S_IWGRP | S_IWOTH)) != 0) { in check_one_file() 131 if ((st.st_mode & (S_IWGRP | S_IWOTH)) != 0) in check_directory()
|
| /freebsd-13-stable/lib/libutil/ |
| HD | _secure_path.c | 65 } else if ((int)gid != -1 && sb.st_gid != gid && (sb.st_mode & S_IWGRP)) in _secure_path()
|
| /freebsd-13-stable/contrib/ntp/libntp/lib/isc/win32/include/isc/ |
| HD | stat.h | 36 #define S_IWGRP _S_IWRITE /* Group write permission */ macro
|
| /freebsd-13-stable/contrib/nvi/cl/ |
| HD | cl_term.c | 328 clp->tgw = sb.st_mode & S_IWGRP ? TGW_SET : TGW_UNSET; in cl_omesg() 332 if (chmod(tty, sb.st_mode | S_IWGRP) < 0) { in cl_omesg() 339 if (chmod(tty, sb.st_mode & ~S_IWGRP) < 0) { in cl_omesg()
|
| /freebsd-13-stable/usr.bin/mkfifo/ |
| HD | mkfifo.c | 54 #define BASEMODE S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | \
|
| /freebsd-13-stable/crypto/openssh/openbsd-compat/ |
| HD | strmode.c | 104 if (mode & S_IWGRP) in strmode()
|
| /freebsd-13-stable/sys/sys/ |
| HD | stat.h | 260 #define S_IWGRP 0000020 /* W for group */ macro 301 #define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
|
| /freebsd-13-stable/lib/libc/string/ |
| HD | strmode.c | 105 if (mode & S_IWGRP) in strmode()
|
| /freebsd-13-stable/libexec/tftpd/ |
| HD | tftpd.c | 103 static mode_t mask = S_IWGRP | S_IWOTH; 677 S_IWGRP | S_IROTH | S_IWOTH); in find_next_name() 798 S_IWGRP | S_IROTH | S_IWOTH ); in validate_access()
|
| /freebsd-13-stable/contrib/nvi/common/ |
| HD | exf.c | 261 S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH, in file_init() 402 (!(sb.st_mode & (S_IWUSR | S_IWGRP | S_IWOTH)) || in file_init() 840 S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)) < 0) { 861 S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); 1155 if (sb.st_mode & (S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)) {
|
| /freebsd-13-stable/contrib/sendmail/libsmutil/ |
| HD | safefile.c | 272 bitset(S_IWGRP, st->st_mode)) 302 bitset(S_IWUSR|S_IWGRP|S_IWOTH, mode) && 427 mode |= S_IWGRP;
|
| /freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/ |
| HD | zfs_acl.c | 945 (!(seen & S_IWGRP))) { in zfs_mode_compute() 946 seen |= S_IWGRP; in zfs_mode_compute() 948 mode |= S_IWGRP; in zfs_mode_compute() 986 if (!(seen & S_IWGRP)) { in zfs_mode_compute() 987 seen |= S_IWGRP; in zfs_mode_compute() 989 mode |= S_IWGRP; in zfs_mode_compute() 1206 if (!(mode & S_IWUSR) && (mode & (S_IWGRP|S_IWOTH))) in acl_trivial_access_masks() 1214 if (!(mode & S_IWGRP) && (mode & S_IWOTH)) in acl_trivial_access_masks() 1222 if ((mode & S_IWUSR) && (!(mode & S_IWGRP) && (mode & S_IWOTH))) in acl_trivial_access_masks() 1241 if (mode & S_IWGRP) in acl_trivial_access_masks()
|
| /freebsd-13-stable/contrib/elftoolchain/ar/ |
| HD | util.c | 143 buf[5] = m & S_IWGRP ? 'w' : '-'; in bsdar_strmode()
|
| /freebsd-13-stable/usr.bin/uuencode/ |
| HD | uuencode.c | 115 #define RW (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH) in main()
|
| /freebsd-13-stable/crypto/heimdal/lib/roken/ |
| HD | iruserok.c | 270 else if (sbuf.st_mode & (S_IWGRP|S_IWOTH)) in iruserok()
|
| /freebsd-13-stable/usr.bin/talk/ |
| HD | init_disp.c | 65 if (!(sb.st_mode & S_IWGRP)) in check_writeable()
|