mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
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.
This commit is contained in:
parent
608560ee43
commit
618a2260a0
2 changed files with 1 additions and 5 deletions
|
@ -111,8 +111,7 @@ unix_rule::unix_rule(unsigned int type_p, bool audit_p, bool denied):
|
||||||
|
|
||||||
unix_rule::unix_rule(int mode_p, struct cond_entry *conds,
|
unix_rule::unix_rule(int mode_p, struct cond_entry *conds,
|
||||||
struct cond_entry *peer_conds):
|
struct cond_entry *peer_conds):
|
||||||
af_rule("unix"), addr(NULL), peer_addr(NULL),
|
af_rule("unix"), addr(NULL), peer_addr(NULL)
|
||||||
audit(0), deny(0)
|
|
||||||
{
|
{
|
||||||
move_conditionals(conds);
|
move_conditionals(conds);
|
||||||
move_peer_conditionals(peer_conds);
|
move_peer_conditionals(peer_conds);
|
||||||
|
|
|
@ -36,9 +36,6 @@ class unix_rule: public af_rule {
|
||||||
public:
|
public:
|
||||||
char *addr;
|
char *addr;
|
||||||
char *peer_addr;
|
char *peer_addr;
|
||||||
int mode;
|
|
||||||
int audit;
|
|
||||||
bool deny;
|
|
||||||
|
|
||||||
unix_rule(unsigned int type_p, bool audit_p, bool denied);
|
unix_rule(unsigned int type_p, bool audit_p, bool denied);
|
||||||
unix_rule(int mode, struct cond_entry *conds,
|
unix_rule(int mode, struct cond_entry *conds,
|
||||||
|
|
Loading…
Add table
Reference in a new issue