tag | line | file | source code |
who | 33 | kernel/sys.c | static int proc_sel(struct task_struct *p, int which, int who) |
who | 37 | kernel/sys.c | if (!who && p == current) |
who | 39 | kernel/sys.c | return(p->pid == who); |
who | 41 | kernel/sys.c | if (!who) |
who | 42 | kernel/sys.c | who = current->pgrp; |
who | 43 | kernel/sys.c | return(p->pgrp == who); |
who | 45 | kernel/sys.c | if (!who) |
who | 46 | kernel/sys.c | who = current->uid; |
who | 47 | kernel/sys.c | return(p->uid == who); |
who | 52 | kernel/sys.c | asmlinkage int sys_setpriority(int which, int who, int niceval) |
who | 65 | kernel/sys.c | if (!*p || !proc_sel(*p, which, who)) |
who | 82 | kernel/sys.c | asmlinkage int sys_getpriority(int which, int who) |
who | 91 | kernel/sys.c | if (!*p || !proc_sel(*p, which, who)) |
who | 709 | kernel/sys.c | int getrusage(struct task_struct *p, int who, struct rusage *ru) |
who | 719 | kernel/sys.c | switch (who) { |
who | 753 | kernel/sys.c | asmlinkage int sys_getrusage(int who, struct rusage *ru) |
who | 755 | kernel/sys.c | if (who != RUSAGE_SELF && who != RUSAGE_CHILDREN) |
who | 757 | kernel/sys.c | return getrusage(current, who, ru); |