aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
authorJohn Johansen <john.johansen@canonical.com>2026-02-17 11:26:48 -0800
committerJohn Johansen <john.johansen@canonical.com>2026-06-13 20:14:06 -0700
commite7501736405a39fa513625ba1f81909c847e4e70 (patch)
treea29088155e949b55b90474cdb5aed10bd7f3a973 /security
parent654fe7505dc6889724d4094fa64f89991afabfc3 (diff)
downloadath-e7501736405a39fa513625ba1f81909c847e4e70.tar.gz
apparmor: enable differential encoding
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>
Diffstat (limited to 'security')
-rw-r--r--security/apparmor/apparmorfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/apparmorfs.c b/security/apparmor/apparmorfs.c
index aeff3d2d863bc..252a7ca98a9e6 100644
--- a/security/apparmor/apparmorfs.c
+++ b/security/apparmor/apparmorfs.c
@@ -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),