diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2023-09-12 23:56:54 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-11-13 06:54:42 +0300 |
commit | 223981db9bafb80f558162c148f261e2ff043dbe (patch) | |
tree | d37609096f2fb8759238527f9e0b7833cfd0b1ff /security/apparmor/include/procattr.h | |
parent | 38b323e5881608b5a229526d9a567df6182255ef (diff) | |
download | linux-223981db9bafb80f558162c148f261e2ff043dbe.tar.xz |
AppArmor: Add selfattr hooks
Add hooks for setselfattr and getselfattr. These hooks are not very
different from their setprocattr and getprocattr equivalents, and
much of the code is shared.
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Acked-by: John Johansen <john.johansen@canonical.com>
[PM: forward ported beyond v6.6 due merge window changes]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/apparmor/include/procattr.h')
-rw-r--r-- | security/apparmor/include/procattr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/include/procattr.h b/security/apparmor/include/procattr.h index 31689437e0e1..03dbfdb2f2c0 100644 --- a/security/apparmor/include/procattr.h +++ b/security/apparmor/include/procattr.h @@ -11,7 +11,7 @@ #ifndef __AA_PROCATTR_H #define __AA_PROCATTR_H -int aa_getprocattr(struct aa_label *label, char **string); +int aa_getprocattr(struct aa_label *label, char **string, bool newline); int aa_setprocattr_changehat(char *args, size_t size, int flags); #endif /* __AA_PROCATTR_H */ |