Re: Friendlier EPERM e-mail on lkml

From: Vasily Kulikov
Date: Wed Jan 09 2013 - 12:32:56 EST


Hi Eric,

On Wed, Jan 09, 2013 at 11:18 -0500, Eric Paris wrote:
> http://marc.info/?l=linux-kernel&m=135774748910987&w=2
>
> Basic idea is a proc file which tells you WHY the last EPERM from the
> kernel happened. Was it SELinux? Was it SMACK? Was it capabilities?
> Was it file rwx bits?
>
> I'd like comments. I'll cc LSM on any future replies to that thread...

Why does application need it? Why does anybody but admin need this
information?

Probably this may be implemented as root-only audit messages? Or
introduce new NETLINK_EPERMREASON netlink family?

--
Vasily Kulikov
http://www.openwall.com - bringing security into open computing environments
--
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/