[PATCH v2 0/1] Introducing domain transition mechanism into Smack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux