Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1235181
| From | Zbigniew Jasinski <z.jasinski@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/1] Introducing domain transition mechanism into Smack |
| Date | 2015-09-29 16:50 +0200 |
| Message-ID | <qe4ob-ZN-37@gated-at.bofh.it> (permalink) |
| References | <qe3s7-85D-35@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
This patch introduce domain transition mechanism into Smack. The idea was to give a process limited ability to change its Smack label without giving that process CAP_MAC_ADMIN capabilities. Moreover, this ability is granted without any additional Smack policy rules. This feature consists of two, new kernel interfaces: - <smack_fs>/relabel-possible - for setting transition privilege - <smack_fs>/relabel-list - for transition-labels list Process can set transition flag only to itself and only if has CAP_MAC_ADMIN capability. Process can transit (only once) into other Smack label only if it has transition flag set 'on' and target domain is on relabel-list. Changes in v2: * squashed into one commit Zbigniew Jasinski (1): Introducing domain transition mechanism into Smack. Documentation/security/Smack.txt | 13 +++ security/smack/smack.h | 9 ++ security/smack/smack_lsm.c | 27 ++++- security/smack/smackfs.c | 221 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 268 insertions(+), 2 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 0/1] Introducing domain transition mechanism into Smack Zbigniew Jasinski <z.jasinski@samsung.com> - 2015-09-29 16:50 +0200
[PATCH v3 1/1] Introducing domain transition mechanism into Smack. Zbigniew Jasinski <z.jasinski@samsung.com> - 2015-09-29 16:50 +0200
Re: [PATCH v3 1/1] Introducing domain transition mechanism into Smack. Casey Schaufler <casey@schaufler-ca.com> - 2015-09-30 00:20 +0200
csiph-web