Re: [PATCH 2/2] exit_notify: kill the wrong capable(CAP_KILL) check

From: Roland McGrath
Date: Wed Feb 25 2009 - 14:48:45 EST


> I can't understand why exit_notify() checks capable(CAP_KILL), but this
> looks just wrong.

I don't know either why it's there. My guess is that it was not actually
thought out specifically, just a "unless capable" exception added when the
security-motivated exclusions (exec_id stuff) were added.

I can't think of any reason not to drop this check.


Thanks,
Roland
--
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/