/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | 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/usr.bin/mesg/ |
H A D | mesg.c | 72 if (sb.st_mode & S_IWGRP) { in main() 82 if (chmod(tty, sb.st_mode | S_IWGRP) < 0) in main() 86 if (chmod(tty, sb.st_mode & ~S_IWGRP) < 0) in main()
|
/freebsd/usr.sbin/lpr/common_source/ |
H A D | lp.h | 215 #define LOCK_FILE_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH) 220 #define STAT_FILE_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH) 221 #define LOG_FILE_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH) 222 #define TEMP_FILE_MODE (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH)
|
/freebsd/contrib/openpam/lib/libpam/ |
H A D | 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/sys/kern/ |
H A D | 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()
|
H A D | subr_acl_posix1e.c | 381 if (mode & S_IWGRP) in acl_posix1e_mode_to_perm() 455 mode |= S_IWGRP; in acl_posix1e_perms_to_mode()
|
/freebsd/crypto/heimdal/kcm/ |
H A D | acl.c | 111 mask |= S_IWUSR|S_IWGRP|S_IWOTH; in kcm_access() 132 mask |= S_IWGRP; in kcm_access()
|
/freebsd/contrib/tcsh/ |
H A D | 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/crypto/heimdal/lib/krb5/ |
H A D | 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/contrib/nvi/cl/ |
H A D | 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/lib/libutil/ |
H A D | _secure_path.c | 64 } else if ((int)gid != -1 && sb.st_gid != gid && (sb.st_mode & S_IWGRP)) in _secure_path()
|
/freebsd/contrib/ntp/libntp/lib/isc/win32/include/isc/ |
H A D | stat.h | 36 #define S_IWGRP _S_IWRITE /* Group write permission */ macro
|
/freebsd/usr.bin/mkfifo/ |
H A D | mkfifo.c | 42 #define BASEMODE S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | \
|
/freebsd/sys/sys/ |
H A D | stat.h | 259 #define S_IWGRP 0000020 /* W for group */ 300 #define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH) 258 #define S_IWGRP global() macro
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | strmode.c | 104 if (mode & S_IWGRP) in strmode()
|
/freebsd/lib/libc/string/ |
H A D | strmode.c | 101 if (mode & S_IWGRP) in strmode()
|
/freebsd/lib/libc/posix1e/ |
H A D | acl_equiv_mode_np.c | 77 ret_mode |= S_IWGRP; in acl_equiv_mode_np()
|
H A D | acl_from_mode_np.c | 86 if (mode & S_IWGRP) in acl_from_mode_np()
|
/freebsd/contrib/nvi/common/ |
H A D | 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/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 272 bitset(S_IWGRP, st->st_mode)) 302 bitset(S_IWUSR|S_IWGRP|S_IWOTH, mode) && 427 mode |= S_IWGRP;
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_acl.c | 963 (!(seen & S_IWGRP))) { in zfs_mode_compute() 964 seen |= S_IWGRP; in zfs_mode_compute() 966 mode |= S_IWGRP; in zfs_mode_compute() 1004 if (!(seen & S_IWGRP)) { in zfs_mode_compute() 1005 seen |= S_IWGRP; in zfs_mode_compute() 1007 mode |= S_IWGRP; in zfs_mode_compute() 1225 if (!(mode & S_IWUSR) && (mode & (S_IWGRP|S_IWOTH))) in acl_trivial_access_masks() 1233 if (!(mode & S_IWGRP) && (mode & S_IWOTH)) in acl_trivial_access_masks() 1241 if ((mode & S_IWUSR) && (!(mode & S_IWGRP) && (mode & S_IWOTH))) in acl_trivial_access_masks() 1260 if (mode & S_IWGRP) in acl_trivial_access_masks()
|
/freebsd/contrib/elftoolchain/ar/ |
H A D | util.c | 143 buf[5] = m & S_IWGRP ? 'w' : '-'; in bsdar_strmode()
|
/freebsd/tests/sys/acl/ |
H A D | acl-api-test.c | 51 S_IWGRP,
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | iruserok.c | 270 else if (sbuf.st_mode & (S_IWGRP|S_IWOTH)) in iruserok()
|
/freebsd/usr.bin/talk/ |
H A D | init_disp.c | 62 if (!(sb.st_mode & S_IWGRP)) in check_writeable()
|