libsmack: use common code for smack_accesses_add() and smack_accessess_add_modify()
authorRafal Krypa <r.krypa@samsung.com>
Tue, 31 Dec 2013 20:14:24 +0000 (21:14 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Tue, 31 Dec 2013 20:51:56 +0000 (21:51 +0100)
commit61212c7e5632ccd42fb7a458a29fcc58adb4b551
tree52da0b2956f22452e48e75628deeb9a9db8bbb0d
parent9fbf62c5caad1b30764a87979bad3fa95454d821
libsmack: use common code for smack_accesses_add() and smack_accessess_add_modify()

These API functions were very similar and are now implemented as wrappers
to a single internal function. This allows easier changes to data structures
used by libmskack and makes the code shorter.

Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
libsmack/libsmack.c