This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Friendlier EPERM e-mail on lkml
- From: Vasily Kulikov <segoon at openwall dot com>
- To: Eric Paris <eparis at parisplace dot org>
- Cc: LSM List <linux-security-module at vger dot kernel dot org>,linux-kernel at vger dot kernel dot org, libc-alpha at sourceware dot org
- Date: Wed, 9 Jan 2013 21:33:04 +0400
- Subject: Re: Friendlier EPERM e-mail on lkml
- References: <CACLa4pvNYRLGG2t9Y40BYbqnxu9oTYjMWs71C9soJEiwzBMK5Q@mail.gmail.com>
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