Searched refs:S_ISGID (Results 26 - 46 of 46) sorted by relevance

12

/freebsd-11-stable/bin/test/
H A Dtest.c407 return (s.st_mode & S_ISGID) != 0;
/freebsd-11-stable/sys/security/mac_bsdextended/
H A Dmac_bsdextended.c322 match = (vap->va_mode & S_ISGID);
/freebsd-11-stable/contrib/tcsh/
H A Dsh.exp.c818 i = (S_ISGID & st->st_mode) != 0;
897 ((S_IRWXU|S_IRWXG|S_IRWXO|S_ISUID|S_ISGID) & st->st_mode));
/freebsd-11-stable/sys/fs/tmpfs/
H A Dtmpfs_subr.c1579 if (!groupmember(node->tn_gid, cred) && (mode & S_ISGID)) {
1657 if ((node->tn_mode & (S_ISUID | S_ISGID)) && (ouid != uid || ogid != gid)) {
1659 node->tn_mode &= ~(S_ISUID | S_ISGID);
H A Dtmpfs_vnops.c517 if (node->tn_mode & (S_ISUID | S_ISGID)) {
519 node->tn_mode &= ~(S_ISUID | S_ISGID);
/freebsd-11-stable/bin/rcp/
H A Drcp.c398 #define MODEMASK (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)
/freebsd-11-stable/crypto/heimdal/appl/rcp/
H A Drcp.c319 #define MODEMASK (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
/freebsd-11-stable/contrib/amd/include/
H A Dam_defs.h1312 # undef S_ISGID macro
/freebsd-11-stable/bin/ls/
H A Dprint.c672 else if (mode & S_ISGID)
/freebsd-11-stable/contrib/xz/src/xz/
H A Dfile_io.c678 if (pair->src_st.st_mode & (S_ISUID | S_ISGID)) {
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_pax.c1410 #ifdef S_ISGID
1411 mode &= ~S_ISGID;
H A Darchive_write_disk_posix.c631 if (a->mode & S_ISGID)
645 a->mode &= ~S_ISGID;
3655 mode &= ~ S_ISGID;
/freebsd-11-stable/usr.bin/gzip/
H A Dgzip.c1130 sb.st_mode &= ~(S_ISUID|S_ISGID);
1134 sb.st_mode &= S_ISUID | S_ISGID | S_IRWXU | S_IRWXG | S_IRWXO;
/freebsd-11-stable/sys/kern/
H A Dkern_exec.c513 credential_changing |= (attr.va_mode & S_ISGID) &&
539 if (attr.va_mode & S_ISGID)
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dls.c204 if((st->st_mode & S_ISGID)) {
/freebsd-11-stable/contrib/pjdfstest/
H A Dpjdfstest.c62 #define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
/freebsd-11-stable/crypto/openssh/
H A Dscp.c812 #define FILEMODEMASK (S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO)
/freebsd-11-stable/usr.bin/find/
H A Dfunction.c1297 (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO);
/freebsd-11-stable/contrib/sendmail/src/
H A Ddeliver.c2559 else if (bitset(S_ISGID, stb.st_mode))
5551 mode &= ~(S_ISGID|S_ISUID);
5630 else if (bitset(S_ISGID, mode))
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_vnops.c1163 (zp->z_mode & (S_ISUID | S_ISGID)) != 0 &&
1167 zp->z_mode &= ~(S_ISUID | S_ISGID);
3023 * we may clear S_ISUID/S_ISGID bits.
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp6535 if(mode & S_ISGID)

Completed in 417 milliseconds

12