HomeFreeBSD

Introduce the new function

Description

Introduce the new function

p_trespass(struct proc *p1, struct proc *p2)

which returns zero or an errno depending on the legality of p1 trespassing
on p2.

Replace kern_sig.c:CANSIGNAL() with call to p_trespass() and one
extra signal related check.

Replace procfs.h:CHECKIO() macros with calls to p_trespass().

Only show command lines to process which can trespass on the target
process.

Details

Provenance
phkAuthored on Nov 21 1999, 7:03 PM
Parents
rG7183c3f84855: Add event queue handling. It triggers activities on events read from
Branches
Unknown
Tags
Unknown

Event Timeline