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, 7 Oct 2013 15:55:13 +0000 (18:55 +0300)
commit22c98dd03e352057b23f8d8d2d9ad252175c685b
tree3c19f888d3f8c24fed22f389e15739751b3bf4cc
parentc59864f9d4a67dcf76ba01d9c4db2b12fada6339
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.
libsmack/libsmack.c
libsmack/sys/smack.h