Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1658681
| From | José Bollo <jobol@nonadev.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] procfs: add smack subdir to attrs |
| Date | 2017-06-06 14:00 +0200 |
| Message-ID | <tPljs-8jR-7@gated-at.bofh.it> (permalink) |
| References | <tNEgx-6Xe-3@gated-at.bofh.it> <tNHR7-UQ-7@gated-at.bofh.it> <tNIka-1mJ-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 1 Jun 2017 16:59:24 -0700 Casey Schaufler <casey@schaufler-ca.com> wrote: > On 6/1/2017 4:38 PM, James Morris wrote: > > On Thu, 1 Jun 2017, Casey Schaufler wrote: > > > >> Subject: [PATCH] procfs: add smack subdir to attrs > > Is there value in this without major stacking support? > > Yes. If a Smack aware application reads /proc/self/attr/current > it has no way to know if what it sees is a Smack label or an > SELinux context. True, the application can look elsewhere > (i.e. /sys/kernel/security/lsm) to find out which is enabled. > But the real fix is for Smack to use a different interface > than SELinux. Which is what this does. True, it will be even > more important when/if major stacking comes in, but it is still > significant now, and I would like to have it regardless of > the future acceptance of major stacking. I agree that it is a nice forward movement to leave the mud. I have a subsidiary question to ask. Should we keep the name 'attr' for the subdirectory? It seems at least convenient but if a better name is valuable (security, lsm, ...) why not to switch now? BR josé > > -- > To unsubscribe from this list: send the line "unsubscribe > linux-security-module" in the body of a message to > majordomo@vger.kernel.org More majordomo info at > http://vger.kernel.org/majordomo-info.html
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] procfs: add smack subdir to attrs Casey Schaufler <casey@schaufler-ca.com> - 2017-06-01 21:50 +0200
Re: [PATCH] procfs: add smack subdir to attrs James Morris <jmorris@namei.org> - 2017-06-02 01:40 +0200
Re: [PATCH] procfs: add smack subdir to attrs Casey Schaufler <casey@schaufler-ca.com> - 2017-06-02 02:10 +0200
Re: [PATCH] procfs: add smack subdir to attrs José Bollo <jobol@nonadev.net> - 2017-06-06 14:00 +0200
Re: [PATCH] procfs: add smack subdir to attrs Casey Schaufler <casey@schaufler-ca.com> - 2017-06-06 16:50 +0200
csiph-web