Home
last modified time | relevance | path

Searched refs:S_IWGRP (Results 1 – 25 of 84) sorted by relevance

1234

/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_umask.c51 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 Dmesg.c72 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 Dlp.h215 #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 Dopenpam_check_owner_perms.c77 (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 Dsubr_acl_nfs4.c680 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 Dsubr_acl_posix1e.c381 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 Dacl.c111 mask |= S_IWUSR|S_IWGRP|S_IWOTH; in kcm_access()
132 mask |= S_IWGRP; in kcm_access()
/freebsd/contrib/tcsh/
H A Dtc.os.h291 #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 Dkuserok.c74 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 Dcl_term.c328 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.c64 } 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 Dstat.h36 #define S_IWGRP _S_IWRITE /* Group write permission */ macro
/freebsd/usr.bin/mkfifo/
H A Dmkfifo.c42 #define BASEMODE S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | \
/freebsd/sys/sys/
H A Dstat.h259 #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 Dstrmode.c104 if (mode & S_IWGRP) in strmode()
/freebsd/lib/libc/string/
H A Dstrmode.c101 if (mode & S_IWGRP) in strmode()
/freebsd/lib/libc/posix1e/
H A Dacl_equiv_mode_np.c77 ret_mode |= S_IWGRP; in acl_equiv_mode_np()
H A Dacl_from_mode_np.c86 if (mode & S_IWGRP) in acl_from_mode_np()
/freebsd/contrib/nvi/common/
H A Dexf.c261 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 Dsafefile.c272 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 Dzfs_acl.c963 (!(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 Dutil.c143 buf[5] = m & S_IWGRP ? 'w' : '-'; in bsdar_strmode()
/freebsd/tests/sys/acl/
H A Dacl-api-test.c51 S_IWGRP,
/freebsd/crypto/heimdal/lib/roken/
H A Diruserok.c270 else if (sbuf.st_mode & (S_IWGRP|S_IWOTH)) in iruserok()
/freebsd/usr.bin/talk/
H A Dinit_disp.c62 if (!(sb.st_mode & S_IWGRP)) in check_writeable()

1234