2
0
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:
John Johansen
2008-06-09 11:48:13 +00:00
parent 8420935617
commit d8df8830f1
3 changed files with 3 additions and 24 deletions

View File

@@ -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;