tag | line | file | source code |
who | 58 | kernel/sys.c | static int proc_sel(struct task_struct *p, int which, int who) |
who | 62 | kernel/sys.c | if (!who && p == current) |
who | 64 | kernel/sys.c | return(p->pid == who); |
who | 66 | kernel/sys.c | if (!who) |
who | 67 | kernel/sys.c | who = current->pgrp; |
who | 68 | kernel/sys.c | return(p->pgrp == who); |
who | 70 | kernel/sys.c | if (!who) |
who | 71 | kernel/sys.c | who = current->uid; |
who | 72 | kernel/sys.c | return(p->uid == who); |
who | 77 | kernel/sys.c | asmlinkage int sys_setpriority(int which, int who, int niceval) |
who | 90 | kernel/sys.c | if (!*p || !proc_sel(*p, which, who)) |
who | 107 | kernel/sys.c | asmlinkage int sys_getpriority(int which, int who) |
who | 116 | kernel/sys.c | if (!*p || !proc_sel(*p, which, who)) |
who | 722 | kernel/sys.c | int getrusage(struct task_struct *p, int who, struct rusage *ru) |
who | 732 | kernel/sys.c | switch (who) { |
who | 766 | kernel/sys.c | asmlinkage int sys_getrusage(int who, struct rusage *ru) |
who | 768 | kernel/sys.c | if (who != RUSAGE_SELF && who != RUSAGE_CHILDREN) |
who | 770 | kernel/sys.c | return getrusage(current, who, ru); |