mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
allow directories to be passed to the parser
Allow directories to be passed directly to the parser and handled instead of needing an initscript to find the files in the directory. eg. load all profiles in profiles dir apparmor_parser -r /etc/apparmor.d/ eg. load all binary files in the cache dir apparmor_parser -Br /etc/apparmor.d/cache/ Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Steve Beattie <steve@nxnw.org>
This commit is contained in:
@@ -31,6 +31,6 @@ FILE *search_path(char *filename, char **fullpath);
|
||||
|
||||
extern void push_include_stack(char *filename);
|
||||
extern void pop_include_stack(void);
|
||||
extern void reset_include_stack(char *filename);
|
||||
extern void reset_include_stack(const char *filename);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user