Avoid memory allocation while opening smackfs files.
authorRafal Krypa <r.krypa@samsung.com>
Mon, 22 Jul 2013 09:22:30 +0000 (11:22 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Fri, 16 Aug 2013 08:51:53 +0000 (10:51 +0200)
commit6c1d15b1fe420b848d7afdd0a7ef0c20dfdcc08e
tree5afa9411ffe9ba9d8ec551ec4712ef2e53f3f474
parent2aa62498600a3ca04ad0cedb3a07c6143aae29a2
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