[lkml]   [2011]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 3/5] v2 seccomp filters: Enable ftrace-based system call filtering
Ingo Molnar <mingo <at>> writes:

> <flame>
> IMHO the key design mistake of LSM is that it detaches security
> policy from applications: you need to be admin to load policies, you
> need to be root to use/configure an LSM. Dammit, you need to be root
> to add labels to files!
> This not only makes the LSM policies distro specific (and needlessly
> forked and detached from real security), but also gives the message
> that:
> 'to ensure your security you need to be privileged'
> which is the anti-concept of good security IMO.
> [....]
> </flame>
> Thanks,
> Ingo

An incomplete idea I had some time ago:

Couldn't the security information (like the selinux profiles) be
part of the binaries?

Each source package should deliver it's own security information
and this should be better than adding it later, because the
developer of the program knows, what his program should be allowed
to do. Moreover, if the developer changes something, he can/must
add the security information altogether.

Of course these information has to be signed in some way to
avoid tampering.

Just an idea...

 \ /
  Last update: 2011-06-09 11:07    [W:0.103 / U:0.960 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site