"Kamil Rytarowski" writes:
> Module Name:  src
> Committed By: kamil
> Date:         Sun Nov  6 16:24:16 UTC 2016
> 
> Modified Files:
>       src/tests/kernel: t_ptrace.c
> 
> Log Message:
> Add new tests attach_pid0 and attach_pid1 to t_ptrace
> 
> attach_pid0 asserts that it is not valid to attach PID 0 as it is a special
> kernel process.
> 
> assert_pid1 asserts that non-root user cannot attach to PID 1 as it is the
> /dev/init process. This tests is skipped if run as root.

also, root can't attach to pid1 if securelevel is >= 0.


.mrg.

Reply via email to