Home
last modified time | relevance | path

Searched refs:sgid (Results 1 – 14 of 14) sorted by relevance

/linux-2.4.37.9/kernel/
Dsys.c413 (current->sgid == egid) || in sys_setregid()
427 current->sgid = new_egid; in sys_setregid()
450 current->gid = current->egid = current->sgid = current->fsgid = gid; in sys_setgid()
452 else if ((gid == current->gid) || (gid == current->sgid)) in sys_setgid()
694 asmlinkage long sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid) in sys_setresgid() argument
698 (rgid != current->egid) && (rgid != current->sgid)) in sys_setresgid()
701 (egid != current->egid) && (egid != current->sgid)) in sys_setresgid()
703 if ((sgid != (gid_t) -1) && (sgid != current->gid) && in sys_setresgid()
704 (sgid != current->egid) && (sgid != current->sgid)) in sys_setresgid()
718 if (sgid != (gid_t) -1) in sys_setresgid()
[all …]
Duid16.c82 asmlinkage long sys_setresgid16(old_gid_t rgid, old_gid_t egid, old_gid_t sgid) in sys_setresgid16() argument
85 low2highgid(sgid)); in sys_setresgid16()
88 asmlinkage long sys_getresgid16(old_gid_t *rgid, old_gid_t *egid, old_gid_t *sgid) in sys_getresgid16() argument
94 retval = put_user(high2lowgid(current->sgid), sgid); in sys_getresgid16()
Dptrace.c69 (current->gid != task->sgid) || in ptrace_attach()
Dkmod.c126 curtask->egid = curtask->gid = curtask->sgid = curtask->fsgid = 0; in exec_usermodehelper()
/linux-2.4.37.9/fs/proc/
Darray.c167 p->gid, p->egid, p->sgid, p->fsgid); in task_state()
322 current->gid == task->sgid && current->gid == task->gid); in proc_pid_stat()
578 (current->gid != task->sgid) || (current->gid != task->gid))) in m_start()
Dbase.c141 (current->gid != task->sgid) || in may_ptrace_attach()
/linux-2.4.37.9/net/core/
Dscm.c46 creds->gid == current->sgid) || capable(CAP_SETGID))) { in scm_check_creds()
/linux-2.4.37.9/fs/coda/
Dcoda_linux.c62 cred->cr_sgid = (vgid_t) current->sgid; in coda_load_creds()
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c3555 extern asmlinkage long sys_getresgid (gid_t *rgid, gid_t *egid, gid_t *sgid);
3558 sys32_getresgid16 (u16 *rgid, u16 *egid, u16 *sgid) in sys32_getresgid16() argument
3571 return put_user(a, rgid) | put_user(b, egid) | put_user(c, sgid); in sys32_getresgid16()
4252 extern asmlinkage long sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid);
4256 __kernel_gid_t32 sgid) in sys32_setresgid() argument
4262 ssgid = (sgid == (__kernel_gid_t32)-1) ? ((gid_t)-1) : ((gid_t)sgid); in sys32_setresgid()
/linux-2.4.37.9/include/linux/
Dsched.h372 gid_t gid,egid,sgid,fsgid; member
/linux-2.4.37.9/Documentation/filesystems/
Daffs.txt116 - All other flags (suid, sgid, ...) are ignored and will
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc32.c181 asmlinkage long sys32_setresgid16(u16 rgid, u16 egid, u16 sgid) in sys32_setresgid16() argument
184 low2highgid(sgid)); in sys32_setresgid16()
187 asmlinkage long sys32_getresgid16(u16 *rgid, u16 *egid, u16 *sgid) in sys32_getresgid16() argument
193 retval = put_user(high2lowgid(current->sgid), sgid); in sys32_getresgid16()
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c163 asmlinkage long sys32_setresgid16(u16 rgid, u16 egid, u16 sgid) in sys32_setresgid16() argument
166 low2highgid(sgid)); in sys32_setresgid16()
169 asmlinkage long sys32_getresgid16(u16 *rgid, u16 *egid, u16 *sgid) in sys32_getresgid16() argument
175 retval = put_user(high2lowgid(current->sgid), sgid); in sys32_getresgid16()
/linux-2.4.37.9/fs/
Dexec.c813 current->sgid = current->egid = current->fsgid = bprm->e_gid; in compute_creds()