This website requires JavaScript.
Explore
Help
Sign in
mirrors
/
apparmor
Watch
1
Star
0
Fork
You've already forked apparmor
0
mirror of
https://gitlab.com/apparmor/apparmor.git
synced
2025-03-07 01:41:00 +01:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
333e3cc8d8
apparmor
/
libraries
/
libapparmor
/
include
/
sys
/
Makefile.am
4 lines
90 B
Text
Raw
Normal View
History
Unescape
Escape
libapparmor: move public headers to separate directory This patch moves the apparmor.h and aalogparse.h headers from the libapparmor/src/ directory to a new directory libapparmor/include/. The apparmor.h header is stored in a sys/ directory within libapparmor/include/ to match its usual install location in /usr/include/sys/, simplifying the #include statements of source that wishes to include either the in-tree or system installed version of the header (i.e. #include <sys/apparmor.h> can be used everywhere). The patch size is inflated by the movements of the header files, which are unchanged except for their locations. Otherwise, the rest of the changes are to modify the include search path or to stop looking in $CWD for one of the headers. Signed-off-by: Steve Beattie <steve@nxnw.org> Acked-by: Tyler Hicks <tyhicks@canonical.com>
2014-01-06 14:08:55 -08:00
apparmor_hdrdir = $(includedir)/sys
libapparmor: Create a private API This patch creates a private API in libapparmor in which upstream provides no guarantees in regards to ABI stability. A new header file, <sys/apparmor_private.h>, is created. The "_aa" prefix will be used for symbols belonging to the private API. To kick things off, a library friendly version of is_blacklisted() is moved into libapparmor. The purpose of a private libapparmor API is to prevent duplicated code between the parser and libapparmor. This becomes an issue as we prepare to move chunks of the parser into libapparmor. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Acked-by: John Johansen <john.johansen@canonical.com>
2015-03-25 17:09:27 -05:00
apparmor_hdr_HEADERS = apparmor.h apparmor_private.h
Reference in a new issue
Copy permalink