]> git.proxmox.com Git - mirror_lxc.git/blob - src/lxc/apparmor.h
Makefile.am: use right .h file name for seccomp
[mirror_lxc.git] / src / lxc / apparmor.h
1 #include <lxc/start.h> /* for lxc_handler */
2 #include <lxc/conf.h>
3
4 struct lxc_handler;
5
6 #if HAVE_APPARMOR
7 extern int apparmor_load(struct lxc_handler *handler);
8 extern int lsm_mount_proc_if_needed(char *root_src, char *rootfs_tgt);
9 extern void apparmor_handler_init(struct lxc_handler *handler);
10 #else
11 static inline int apparmor_load(struct lxc_handler *handler) {
12 return 0;
13 }
14 static inline int lsm_mount_proc_if_needed(char *root_src, char *rootfs_tgt) {
15 return 0;
16 }
17 extern void apparmor_handler_init(struct lxc_handler *handler);
18 #endif