lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <1443537711-20327-1-git-send-email-z.jasinski@samsung.com>
Date:	Tue, 29 Sep 2015 16:41:50 +0200
From:	Zbigniew Jasinski <z.jasinski@...sung.com>
To:	Casey Schaufler <casey@...aufler-ca.com>,
	Jonathan Corbet <corbet@....net>,
	James Morris <james.l.morris@...cle.com>,
	"Serge E. Hallyn" <serge@...lyn.com>,
	linux-security-module@...r.kernel.org,
	linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org
Cc:	Rafal Krypa <r.krypa@...sung.com>,
	Tomasz Swierczek <t.swierczek@...sung.com>
Subject: [PATCH v2 0/1] Introducing domain transition mechanism into Smack

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ