Smack: Signal delivery as an append operation 33/104533/2
authorCasey Schaufler <casey@schaufler-ca.com>
Tue, 30 Aug 2016 17:31:39 +0000 (10:31 -0700)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Mon, 19 Dec 2016 06:15:38 +0000 (22:15 -0800)
commit37aba424ab7cc534700d9e3b00c02d1d0bd7d496
treec5da39a75541b5cd035e0bab2b5ddc9d8294973d
parent316b6481f639abf75e33e85a63c4eab76f596aad
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: If4d2821381ebb608cefe66e4ca5c3c8469f846f8
security/smack/Kconfig
security/smack/smack.h
security/smack/smack_lsm.c