Avoid memory allocation while opening smackfs files.
authorRafal Krypa <r.krypa@samsung.com>
Mon, 22 Jul 2013 09:22:30 +0000 (11:22 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@intel.com>
Fri, 16 Aug 2013 10:28:44 +0000 (13:28 +0300)
commit0426039bffdb82b0f7974639c1c1e361929b1cd5
tree7f97e642281a0a498dfe4fe3d65185ab72abb119
parent5cee758863b25c20b1da17e0cb7f7bc3cdfa6fd4
Avoid memory allocation while opening smackfs files.

Using openat() on pre-opened smackfs directory eliminates need to construct
absolute path to a smackfs file before opening it.
libsmack/init.c
libsmack/libsmack.c
utils/common.c