process_checkioperm
if ((error = process_checkioperm(p, tr)) != 0)
if ((error = process_checkioperm(curp, tr)) != 0)
int process_checkioperm(struct proc *_curp, struct process *_tr);