it shows:
PID TTY STAT TIME COMMAND
2092 ttyp0 S 0:00 su guest -c ps $PPID;wc -m </proc/$PPID/cmdline
0
but cat shows:
su guest -c 'ps $PPID; cat /proc/$PPID/cmdline'
PID TTY STAT TIME COMMAND
2144 ttyp0 S 0:00 su guest -c ps $PPID; cat /proc/$PPID/cmdline
suguest-cps $PPID; cat /proc/$PPID/cmdline
what happened?
>
> If it does not, access_process_vm is not fixed properly.
>
> Second, calling this as root:
>
> strace -fewrite su -c /bin/echo 2>&1 | grep pid
>
> should give:
>
> [pid 2599] --- SIGSTOP (Stopped (signal)) @ 0 (0) ---
> [pid 2599] write(1, "\n", 1
it shows:
localhost root # strace -fewrite su -c /bin/echo 2>&1 | grep pid
[pid 2159] write(1, "\n", 1
>
> If it does not, ptrace_check_attach is not fixed properly.
>
> (These are only the checks for the well known side
> effects which should be fixed even with the short
> is_dumpable() -> task_dumpable patch.)
Looks like my results are slightly diffent, Does this mean i did not apply the
patch correctly? I applied it twice manually, because patch did not succeed
and compiled the kernel 3 times...
-- e-admin internet gmbh Andreas Gietl tel +49 941 3810884 Ludwig-Thoma-Strasse 35 fax +49 89 244329104 93051 Regensburg mobil +49 171 6070008PGP/GPG-Key unter http://www.e-admin.de/gpg.html
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/