/linux-2.4.37.9/kernel/ |
D | sys.c | 395 asmlinkage long sys_setregid(gid_t rgid, gid_t egid) in sys_setregid() argument 398 int old_egid = current->egid; in sys_setregid() 404 (current->egid==rgid) || in sys_setregid() 410 if (egid != (gid_t) -1) { in sys_setregid() 411 if ((old_rgid == egid) || in sys_setregid() 412 (current->egid == egid) || in sys_setregid() 413 (current->sgid == egid) || in sys_setregid() 415 new_egid = egid; in sys_setregid() 426 (egid != (gid_t) -1 && egid != old_rgid)) in sys_setregid() 429 current->egid = new_egid; in sys_setregid() [all …]
|
D | uid16.c | 45 asmlinkage long sys_setregid16(old_gid_t rgid, old_gid_t egid) in sys_setregid16() argument 47 return sys_setregid(low2highgid(rgid), low2highgid(egid)); in sys_setregid16() 82 asmlinkage long sys_setresgid16(old_gid_t rgid, old_gid_t egid, old_gid_t sgid) in sys_setresgid16() argument 84 return sys_setresgid(low2highgid(rgid), low2highgid(egid), in sys_setresgid16() 88 asmlinkage long sys_getresgid16(old_gid_t *rgid, old_gid_t *egid, old_gid_t *sgid) in sys_getresgid16() argument 93 !(retval = put_user(high2lowgid(current->egid), egid))) in sys_getresgid16() 162 return high2lowgid(current->egid); in sys_getegid16()
|
D | ptrace.c | 68 (current->gid != task->egid) || in ptrace_attach()
|
D | kmod.c | 126 curtask->egid = curtask->gid = curtask->sgid = curtask->fsgid = 0; in exec_usermodehelper()
|
D | timer.c | 825 return current->egid; in sys_getegid()
|
/linux-2.4.37.9/fs/proc/ |
D | array.c | 167 p->gid, p->egid, p->sgid, p->fsgid); in task_state() 321 current->uid == task->uid && current->gid == task->egid && in proc_pid_stat() 577 (current->uid != task->uid) || (current->gid != task->egid) || in m_start()
|
D | base.c | 140 (current->gid != task->egid) || in may_ptrace_attach() 777 inode->i_gid = task->egid; in proc_pid_make_inode()
|
/linux-2.4.37.9/fs/ |
D | exec.c | 627 if (current->euid == current->uid && current->egid == current->gid) { in flush_old_exec() 650 if (bprm->e_uid != current->euid || bprm->e_gid != current->egid) { in flush_old_exec() 710 bprm->e_gid = current->egid; in prepare_binprm() 813 current->sgid = current->egid = current->fsgid = bprm->e_gid; in compute_creds()
|
D | binfmt_elf.c | 205 NEW_AUX_ENT(12, AT_EGID, (elf_addr_t) current->egid); in create_elf_tables()
|
/linux-2.4.37.9/fs/devfs/ |
D | base.c | 1520 current->egid, &fs_info, 0) && wait) in devfsd_notify() 2427 current->euid, current->egid, fs_info, 0) ) in try_modload() 2817 inode->i_gid = current->egid; in devfs_open() 2821 current->euid, current->egid, fs_info, 0); in devfs_open() 2920 current->euid, current->egid, fs_info, 1); in devfs_d_delete() 3116 de->inode.gid = current->egid; in devfs_symlink() 3147 de->inode.gid = current->egid; in devfs_mkdir() 3216 de->inode.gid = current->egid; in devfs_mknod()
|
/linux-2.4.37.9/net/core/ |
D | scm.c | 45 ((creds->gid == current->gid || creds->gid == current->egid || in scm_check_creds()
|
/linux-2.4.37.9/fs/coda/ |
D | coda_linux.c | 61 cred->cr_egid = (vgid_t) current->egid; in coda_load_creds()
|
/linux-2.4.37.9/ipc/ |
D | util.c | 162 new->gid = new->cgid = current->egid; in ipc_addid()
|
/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() 4240 extern asmlinkage long sys_setregid(gid_t rgid, gid_t egid); 4243 sys32_setregid(__kernel_gid_t32 rgid, __kernel_gid_t32 egid) in sys32_setregid() argument 4248 segid = (egid == (__kernel_gid_t32)-1) ? ((gid_t)-1) : ((gid_t)egid); in sys32_setregid() 4252 extern asmlinkage long sys_setresgid(gid_t rgid, gid_t egid, gid_t sgid); 4255 sys32_setresgid(__kernel_gid_t32 rgid, __kernel_gid_t32 egid, in sys32_setresgid() argument 4261 segid = (egid == (__kernel_gid_t32)-1) ? ((gid_t)-1) : ((gid_t)egid); in sys32_setresgid()
|
/linux-2.4.37.9/net/unix/ |
D | af_unix.c | 440 sk->peercred.gid = current->egid; in unix_listen() 968 newsk->peercred.gid = current->egid; in unix_stream_connect() 1029 ska->peercred.gid = skb->peercred.gid = current->egid; in unix_socketpair()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | sys_sparc32.c | 144 asmlinkage long sys32_setregid16(u16 rgid, u16 egid) in sys32_setregid16() argument 146 return sys_setregid(low2highgid(rgid), low2highgid(egid)); in sys32_setregid16() 181 asmlinkage long sys32_setresgid16(u16 rgid, u16 egid, u16 sgid) in sys32_setresgid16() argument 183 return sys_setresgid(low2highgid(rgid), low2highgid(egid), in sys32_setresgid16() 187 asmlinkage long sys32_getresgid16(u16 *rgid, u16 *egid, u16 *sgid) in sys32_getresgid16() argument 192 !(retval = put_user(high2lowgid(current->egid), egid))) in sys32_getresgid16() 261 return high2lowgid(current->egid); in sys32_getegid16()
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | linux32.c | 126 asmlinkage long sys32_setregid16(u16 rgid, u16 egid) in sys32_setregid16() argument 128 return sys_setregid(low2highgid(rgid), low2highgid(egid)); in sys32_setregid16() 163 asmlinkage long sys32_setresgid16(u16 rgid, u16 egid, u16 sgid) in sys32_setresgid16() argument 165 return sys_setresgid(low2highgid(rgid), low2highgid(egid), in sys32_setresgid16() 169 asmlinkage long sys32_getresgid16(u16 *rgid, u16 *egid, u16 *sgid) in sys32_getresgid16() argument 174 !(retval = put_user(high2lowgid(current->egid), egid))) in sys32_getresgid16() 243 return high2lowgid(current->egid); in sys32_getegid16()
|
/linux-2.4.37.9/fs/smbfs/ |
D | dir.c | 638 attr.ia_gid = current->egid; in smb_make_node()
|
/linux-2.4.37.9/include/linux/ |
D | sched.h | 372 gid_t gid,egid,sgid,fsgid; member
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | osf_sys.c | 206 (®s)->r20 = tsk->egid; in sys_getxgid()
|
/linux-2.4.37.9/arch/mips/kernel/ |
D | irixelf.c | 203 NEW_AUX_ENT (10, AT_EGID, (elf_addr_t) current->egid); in create_irix_tables()
|
D | sysirix.c | 613 regs->regs[3] = current->egid; in irix_getgid()
|
/linux-2.4.37.9/Documentation/filesystems/devfs/ |
D | README | 380 changed to the current euid and egid of the opening process, and the
|