]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
apparmor: enable differential encoding
authorJohn Johansen <john.johansen@canonical.com>
Tue, 17 Feb 2026 19:26:48 +0000 (11:26 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Sun, 14 Jun 2026 03:14:06 +0000 (20:14 -0700)
Differential encoding while present has not been made broadly
available, pending further review and testing. Now that has happened
advertise its availability to user space.

Reviewed-by: Georgia Garcia <georgia.garcia@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/apparmorfs.c

index aeff3d2d863bc565094b7b755010797134bc1b5f..252a7ca98a9e6a1f97a8d33971e59adca132cbf8 100644 (file)
@@ -2424,6 +2424,7 @@ static struct aa_sfs_entry aa_sfs_entry_versions[] = {
 static struct aa_sfs_entry aa_sfs_entry_policy[] = {
        AA_SFS_DIR("versions",                  aa_sfs_entry_versions),
        AA_SFS_FILE_BOOLEAN("set_load",         1),
+       AA_SFS_FILE_BOOLEAN("diff-encode",              1),
        /* number of out of band transitions supported */
        AA_SFS_FILE_U64("outofband",            MAX_OOB_SUPPORTED),
        AA_SFS_FILE_U64("permstable32_version", 3),