Added format parameter to the smack_write_rules() that allows to
authorJarkko Sakkinen <ext-jarkko.2.sakkinen@nokia.com>
Sat, 13 Nov 2010 00:24:18 +0000 (16:24 -0800)
committerJarkko Sakkinen <ext-jarkko.2.sakkinen@nokia.com>
Sat, 13 Nov 2010 00:24:18 +0000 (16:24 -0800)
commit48d58e92d070b49ee4662934903dd5f2caefd39d
tree104d93e383df67587ed6c822fa44a52421ee44b9
parentba4457d7c0b96f54a5e493bbc6dd94771e187940
Added format parameter to the smack_write_rules() that allows to
select whether rules are written in format accepted by smackfs or
in format that is used in smack accesses files.
src/smack.c
src/smack.h
tests/check_smack.c
tests/data/write_rules-in.txt [new file with mode: 0644]
tests/data/write_rules_config-excepted.txt [new file with mode: 0644]
tests/data/write_rules_kernel-excepted.txt [new file with mode: 0644]