mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
apparmor: convert aa_change_XXX bool parameters to flags
Instead of passing multiple booleans consolidate on a single flags field. Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
dca91402e9
commit
df8073c67f
5 changed files with 29 additions and 32 deletions
|
@ -15,11 +15,7 @@
|
|||
#ifndef __AA_PROCATTR_H
|
||||
#define __AA_PROCATTR_H
|
||||
|
||||
#define AA_DO_TEST 1
|
||||
#define AA_ONEXEC 1
|
||||
|
||||
int aa_getprocattr(struct aa_profile *profile, char **string);
|
||||
int aa_setprocattr_changehat(char *args, size_t size, int test);
|
||||
int aa_setprocattr_changeprofile(char *fqname, bool onexec, int test);
|
||||
int aa_setprocattr_changehat(char *args, size_t size, int flags);
|
||||
|
||||
#endif /* __AA_PROCATTR_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue