tag | line | file | source code |
who | 38 | kernel/sys.c | static int proc_sel(struct task_struct *p, int which, int who) |
who | 42 | kernel/sys.c | if (!who && p == current) |
who | 44 | kernel/sys.c | return(p->pid == who); |
who | 46 | kernel/sys.c | if (!who) |
who | 47 | kernel/sys.c | who = current->pgrp; |
who | 48 | kernel/sys.c | return(p->pgrp == who); |
who | 50 | kernel/sys.c | if (!who) |
who | 51 | kernel/sys.c | who = current->uid; |
who | 52 | kernel/sys.c | return(p->uid == who); |
who | 57 | kernel/sys.c | asmlinkage int sys_setpriority(int which, int who, int niceval) |
who | 70 | kernel/sys.c | if (!*p || !proc_sel(*p, which, who)) |
who | 87 | kernel/sys.c | asmlinkage int sys_getpriority(int which, int who) |
who | 96 | kernel/sys.c | if (!*p || !proc_sel(*p, which, who)) |
who | 719 | kernel/sys.c | int getrusage(struct task_struct *p, int who, struct rusage *ru) |
who | 728 | kernel/sys.c | switch (who) { |
who | 758 | kernel/sys.c | asmlinkage int sys_getrusage(int who, struct rusage *ru) |
who | 760 | kernel/sys.c | if (who != RUSAGE_SELF && who != RUSAGE_CHILDREN) |
who | 762 | kernel/sys.c | return getrusage(current, who, ru); |