2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-10-07 13:37:49 +00:00

Merge Fix mode not being printed when debugging AF_UNIX socket rules.

This was due to the values being defined in both af_unix and af_rule leaving the latter values unset.

MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/979
Approved-by: John Johansen <john@jjmx.net>
Merged-by: John Johansen <john@jjmx.net>
(cherry picked from commit da7d3a2101)
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen
2023-02-02 03:44:50 +00:00
committed by John Johansen
parent a80e3dc432
commit 2b97de1b2c
2 changed files with 1 additions and 5 deletions

View File

@@ -36,9 +36,6 @@ class unix_rule: public af_rule {
public:
char *addr;
char *peer_addr;
int mode;
int audit;
bool deny;
unix_rule(unsigned int type_p, bool audit_p, bool denied);
unix_rule(int mode, struct cond_entry *conds,