Smack: Make the syslog control configurable
authorCasey Schaufler <casey@schaufler-ca.com>
Mon, 23 Dec 2013 19:07:10 +0000 (11:07 -0800)
committerChanho Park <parkch98@gmail.com>
Fri, 23 Jan 2015 14:26:29 +0000 (23:26 +0900)
commit73a5c54c8bd14a1d9845606ce3592c6e6f83375d
treea9dd1d4853308cae1282e2485eea263bfeefe00f
parentf448c267175fafd20a3f0fd2fbca60fb8570f28b
Smack: Make the syslog control configurable

The syslog control requires that the calling proccess
have the floor ("_") Smack label. Tizen does not run any
processes except for kernel helpers with the floor label.
This changes allows the admin to configure a specific
label for syslog. The default value is the star ("*")
label, effectively removing the restriction. The value
can be set using smackfs/syslog for anyone who wants
a more restrictive behavior.

Change-Id: Ia4270bf8864bd8342e585bbdd4791fb8359e8916
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Signed-off-by: Ɓukasz Stelmach <l.stelmach@samsung.com>
security/smack/smack.h
security/smack/smack_lsm.c
security/smack/smackfs.c