taglinefilesource code
who37kernel/sys.cstatic int proc_sel(struct task_struct *p, int which, int who)
who41kernel/sys.cif (!who && p == current)
who43kernel/sys.creturn(p->pid == who);
who45kernel/sys.cif (!who)
who46kernel/sys.cwho = current->pgrp;
who47kernel/sys.creturn(p->pgrp == who);
who49kernel/sys.cif (!who)
who50kernel/sys.cwho = current->uid;
who51kernel/sys.creturn(p->uid == who);
who56kernel/sys.cint sys_setpriority(int which, int who, int niceval)
who69kernel/sys.cif (!*p || !proc_sel(*p, which, who))
who86kernel/sys.cint sys_getpriority(int which, int who)
who95kernel/sys.cif (!*p || !proc_sel(*p, which, who))
who609kernel/sys.cvoid getrusage(struct task_struct *p, int who, struct rusage *ru)
who616kernel/sys.cswitch (who) {
who649kernel/sys.cint sys_getrusage(int who, struct rusage *ru)
who651kernel/sys.cif (who != RUSAGE_SELF && who != RUSAGE_CHILDREN)
who653kernel/sys.cgetrusage(current, who, ru);