Searched refs:ISGID (Results 1 - 7 of 7) sorted by relevance

/freebsd-11.0-release/sys/ufs/ufs/
H A Ddinode.h100 #define ISGID 0002000 /* Set-gid. */ macro
H A Dufs_vnops.c753 if (!groupmember(ip->i_gid, cred) && (mode & ISGID)) {
891 if ((ip->i_mode & (ISUID | ISGID)) && (ouid != uid || ogid != gid)) {
893 ip->i_mode &= ~(ISUID | ISGID);
2659 if ((ip->i_mode & ISGID) && !groupmember(ip->i_gid, cnp->cn_cred) &&
2661 ip->i_mode &= ~ISGID;
/freebsd-11.0-release/sys/fs/ext2fs/
H A Dinode.h130 #define ISGID 0002000 /* Set-gid. */ macro
H A Dext2_vnops.c519 if (!groupmember(ip->i_gid, cred) && (mode & ISGID)) {
569 if ((ip->i_mode & (ISUID | ISGID)) && (ouid != uid || ogid != gid)) {
571 ip->i_mode &= ~(ISUID | ISGID);
1573 if ((ip->i_mode & ISGID) && !groupmember(ip->i_gid, cnp->cn_cred)) {
1575 ip->i_mode &= ~ISGID;
2061 if ((ip->i_mode & (ISUID | ISGID)) && resid > uio->uio_resid &&
2064 ip->i_mode &= ~(ISUID | ISGID);
/freebsd-11.0-release/sys/fs/nandfs/
H A Dnandfs.h300 #define ISGID 0002000 /* Set-gid. */ macro
H A Dnandfs_vnops.c285 node->nn_inode.i_mode &= ~(ISUID | ISGID);
725 if (!groupmember(inode->i_gid, cred) && (mode & ISGID)) {
787 if ((inode->i_mode & (ISUID | ISGID)) &&
790 inode->i_mode &= ~(ISUID | ISGID);
/freebsd-11.0-release/sys/ufs/ffs/
H A Dffs_vnops.c831 if ((ip->i_mode & (ISUID | ISGID)) && resid > uio->uio_resid &&
834 ip->i_mode &= ~(ISUID | ISGID);
1112 if ((ip->i_mode & (ISUID | ISGID)) && resid > uio->uio_resid && ucred) {
1114 ip->i_mode &= ~(ISUID | ISGID);

Completed in 70 milliseconds