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

/freebsd-10.0-release/sys/ufs/ufs/
H A Ddinode.h100 #define ISGID 0002000 /* Set-gid. */ macro
H A Dufs_vnops.c783 if (!groupmember(ip->i_gid, cred) && (mode & ISGID)) {
921 if ((ip->i_mode & (ISUID | ISGID)) && (ouid != uid || ogid != gid)) {
923 ip->i_mode &= ~(ISUID | ISGID);
2702 if ((ip->i_mode & ISGID) && !groupmember(ip->i_gid, cnp->cn_cred) &&
2704 ip->i_mode &= ~ISGID;
/freebsd-10.0-release/sys/fs/ext2fs/
H A Dinode.h130 #define ISGID 0002000 /* Set-gid. */ macro
H A Dext2_vnops.c514 if (!groupmember(ip->i_gid, cred) && (mode & ISGID)) {
564 if ((ip->i_mode & (ISUID | ISGID)) && (ouid != uid || ogid != gid)) {
566 ip->i_mode &= ~(ISUID | ISGID);
1572 if ((ip->i_mode & ISGID) && !groupmember(ip->i_gid, cnp->cn_cred)) {
1574 ip->i_mode &= ~ISGID;
2046 if ((ip->i_mode & (ISUID | ISGID)) && resid > uio->uio_resid &&
2049 ip->i_mode &= ~(ISUID | ISGID);
/freebsd-10.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);
726 if (!groupmember(inode->i_gid, cred) && (mode & ISGID)) {
788 if ((inode->i_mode & (ISUID | ISGID)) &&
791 inode->i_mode &= ~(ISUID | ISGID);
/freebsd-10.0-release/sys/ufs/ffs/
H A Dffs_vnops.c822 if ((ip->i_mode & (ISUID | ISGID)) && resid > uio->uio_resid &&
825 ip->i_mode &= ~(ISUID | ISGID);
1145 if ((ip->i_mode & (ISUID | ISGID)) && resid > uio->uio_resid && ucred) {
1147 ip->i_mode &= ~(ISUID | ISGID);

Completed in 130 milliseconds