diff options
author | John Johansen <john.johansen@canonical.com> | 2017-06-09 21:36:48 +0300 |
---|---|---|
committer | John Johansen <john.johansen@canonical.com> | 2017-06-11 03:11:36 +0300 |
commit | df8073c67fd8acb7e79f203ba4c0fa456bb82762 (patch) | |
tree | f2f3424c1ee0219162c9f8b4835826c5d71e6498 /security/apparmor/include/procattr.h | |
parent | dca91402e999aa0824c4144ad216bd61dd4fe3ff (diff) | |
download | linux-df8073c67fd8acb7e79f203ba4c0fa456bb82762.tar.xz |
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>
Diffstat (limited to 'security/apparmor/include/procattr.h')
-rw-r--r-- | security/apparmor/include/procattr.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/security/apparmor/include/procattr.h b/security/apparmor/include/procattr.h index 6bd5f33d9533..c0055d727868 100644 --- a/security/apparmor/include/procattr.h +++ b/security/apparmor/include/procattr.h @@ -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 */ |