mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 22:05:27 +00:00
add hat flag and add it automatically for embedded hats
remove hat rules
This commit is contained in:
@@ -632,7 +632,7 @@ int sd_serialize_profile(sd_serialize *p, struct codomain *profile,
|
||||
if (!sd_write_struct(p, "flags"))
|
||||
return 0;
|
||||
/* used to be flags.debug, but that's no longer supported */
|
||||
if (!sd_write32(p, 0))
|
||||
if (!sd_write32(p, profile->flags.hat))
|
||||
return 0;
|
||||
if (!sd_write32(p, profile->flags.complain))
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user