libsmack: clean up smack_accesses_add_modify()
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Wed, 2 Oct 2013 05:38:59 +0000 (08:38 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 14 Oct 2013 10:00:02 +0000 (13:00 +0300)
commit2fb69ccf105ffa360646065e306016a7f9e134d6
treec4be0379e64e89c0aca8dcf50405171827e793fc
parent9cc1283560218cd663a157075bae77e6b3c2dfce
libsmack: clean up smack_accesses_add_modify()

This patch makes smack_accesses_add_modify() easier to follow by
changing variable names bit more self-documentative and less easier
to mix up with adding and deleting rules. This patch also fixes some
very minor coding style errors.

Also documentation of this function is cleaned up.
(cherry picked from commit 22c98dd03e352057b23f8d8d2d9ad252175c685b)
libsmack/libsmack.c
libsmack/sys/smack.h