libsmack: fixed apply_accesses() (regression in d2283792)
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 28 Nov 2013 15:49:47 +0000 (17:49 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 28 Nov 2013 15:59:32 +0000 (17:59 +0200)
commitbf06dd3f4bee45a432d04228e25c6e7985b4f5fb
tree511f2804c5a46d032a0689b71ce3fdfd071005de
parent9fabf146e0a1ea17dd63aa6af00c10151e0cf64d
libsmack: fixed apply_accesses() (regression in d2283792)

Took accesses_apply() from 8fd0167 and converted it mechanically
as possible to use the changed struct smack_rule. Now smackload
works succesfully for a single file too. Mistake I did in
d2283792 was that I unncessarily cleaned up accesses_apply()
at the same time as changing things. My bad.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
libsmack/libsmack.c