Smack: Signal delivery as an append operation 09/104509/3
authorCasey Schaufler <casey@schaufler-ca.com>
Tue, 30 Aug 2016 17:31:39 +0000 (10:31 -0700)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 16 Dec 2016 01:07:06 +0000 (17:07 -0800)
commit226924813c02e7f4eb701478cff8c119efc34f8a
treeb8a11646a38a971008459969ea08a40e999c8de5
parent1284208048861c60630259ee067adb6497ed2013
Smack: Signal delivery as an append operation

Under a strict subject/object security policy delivering a
signal or delivering network IPC could be considered either
a write or an append operation. The original choice to make
both write operations leads to an issue where IPC delivery
is desired under policy, but delivery of signals is not.
This patch provides the option of making signal delivery
an append operation, allowing Smack rules that deny signal
delivery while allowing IPC. This was requested for Tizen.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
[mainline backport of commit c60b906673eebb4f65840fa9dc204401caf276ea]
Change-Id: I474d9a2b51b653c9c6d21391a2c281c1f1f2d709
security/smack/Kconfig
security/smack/smack.h
security/smack/smack_lsm.c