Smack: Signal delivery as an append operation 48/104548/2
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 00:56:46 +0000 (16:56 -0800)
commitb2fa86505873e3496dc99a46c868f9e304616efe
tree7327d8f611279be7f37e7b3628cf28f11d8db249
parent3ed68f5eb0dd1fc6e25aee2c64ad3630b62c997d
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: I969f0f9eefc076d81a95f3d36e695cd07507bfd4
security/smack/Kconfig
security/smack/smack.h
security/smack/smack_lsm.c