libsmack: fixed apply_accesses() (regression in d2283792)
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 <6e0a3da6445cd298bc4a6b3aaa269075849c9510@linux.intel.com>

jobol/smack,smack-team/smack,smack-team/smack,jobol/smack