Re: [PATCH] ptrace: it is fun to strace /sbin/init

From: Andrew Morton
Date: Mon Mar 24 2008 - 18:30:36 EST


On Sun, 23 Mar 2008 16:51:10 +0300
Oleg Nesterov <oleg@xxxxxxxxxx> wrote:

> Ptracing of /sbin/init is not allowed. Of course, this is dangerous, but may
> be useful. Introduce the kernel boot parameter to allow this, so that we can't
> surprise some special/secured systems.

I dunno, is this really needed? If root wants to screw up his kernel then
he is free to do so.

And if we *really* want an extra foot-protector for this, it could be a
runtime /proc/sys/kernel/root-can-shoot-inits-foot rather than a boot-time
option?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/