tag | line | file | source code |
who | 55 | kernel/sys.c | static int proc_sel(struct task_struct *p, int which, int who) |
who | 59 | kernel/sys.c | if (!who && p == current) |
who | 61 | kernel/sys.c | return(p->pid == who); |
who | 63 | kernel/sys.c | if (!who) |
who | 64 | kernel/sys.c | who = current->pgrp; |
who | 65 | kernel/sys.c | return(p->pgrp == who); |
who | 67 | kernel/sys.c | if (!who) |
who | 68 | kernel/sys.c | who = current->uid; |
who | 69 | kernel/sys.c | return(p->uid == who); |
who | 74 | kernel/sys.c | asmlinkage int sys_setpriority(int which, int who, int niceval) |
who | 87 | kernel/sys.c | if (!*p || !proc_sel(*p, which, who)) |
who | 104 | kernel/sys.c | asmlinkage int sys_getpriority(int which, int who) |
who | 113 | kernel/sys.c | if (!*p || !proc_sel(*p, which, who)) |
who | 686 | kernel/sys.c | int getrusage(struct task_struct *p, int who, struct rusage *ru) |
who | 696 | kernel/sys.c | switch (who) { |
who | 730 | kernel/sys.c | asmlinkage int sys_getrusage(int who, struct rusage *ru) |
who | 732 | kernel/sys.c | if (who != RUSAGE_SELF && who != RUSAGE_CHILDREN) |
who | 734 | kernel/sys.c | return getrusage(current, who, ru); |