/linux-2.4.37.9/kernel/ |
D | sys.c | 413 (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 …]
|
D | uid16.c | 82 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()
|
D | ptrace.c | 69 (current->gid != task->sgid) || in ptrace_attach()
|
D | kmod.c | 126 curtask->egid = curtask->gid = curtask->sgid = curtask->fsgid = 0; in exec_usermodehelper()
|
/linux-2.4.37.9/fs/proc/ |
D | array.c | 167 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()
|
D | base.c | 141 (current->gid != task->sgid) || in may_ptrace_attach()
|
/linux-2.4.37.9/net/core/ |
D | scm.c | 46 creds->gid == current->sgid) || capable(CAP_SETGID))) { in scm_check_creds()
|
/linux-2.4.37.9/fs/coda/ |
D | coda_linux.c | 62 cred->cr_sgid = (vgid_t) current->sgid; in coda_load_creds()
|
/linux-2.4.37.9/arch/ia64/ia32/ |
D | sys_ia32.c | 3555 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/ |
D | sched.h | 372 gid_t gid,egid,sgid,fsgid; member
|
/linux-2.4.37.9/Documentation/filesystems/ |
D | affs.txt | 116 - All other flags (suid, sgid, ...) are ignored and will
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | sys_sparc32.c | 181 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/ |
D | linux32.c | 163 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/ |
D | exec.c | 813 current->sgid = current->egid = current->fsgid = bprm->e_gid; in compute_creds()
|