diff -Nru apparmor-2.10.95/debian/changelog apparmor-2.10.95/debian/changelog --- apparmor-2.10.95/debian/changelog 2017-08-25 16:54:53.000000000 -0700 +++ apparmor-2.10.95/debian/changelog 2018-01-08 07:44:39.000000000 -0800 @@ -1,3 +1,10 @@ +apparmor (2.10.95-0ubuntu2.8) xenial; urgency=medium + + * Support PID more than 6 digits (LP: #1717714) + - d/p/0001-Allow-seven-digit-pid.patch + + -- Seyeong Kim Mon, 08 Jan 2018 07:43:46 -0800 + apparmor (2.10.95-0ubuntu2.7) xenial; urgency=medium * Remove initramfs-tools from the dependencies; this isn't used and the diff -Nru apparmor-2.10.95/debian/patches/0001-Allow-seven-digit-pid.patch apparmor-2.10.95/debian/patches/0001-Allow-seven-digit-pid.patch --- apparmor-2.10.95/debian/patches/0001-Allow-seven-digit-pid.patch 1969-12-31 16:00:00.000000000 -0800 +++ apparmor-2.10.95/debian/patches/0001-Allow-seven-digit-pid.patch 2018-01-08 07:44:14.000000000 -0800 @@ -0,0 +1,25 @@ +From 630cb2a981cdc731847e8fdaafc45bcd337fe747 Mon Sep 17 00:00:00 2001 +From: Vincas Dargis +Date: Sat, 30 Sep 2017 15:28:15 +0300 +Subject: [PATCH] Allow seven digit pid + +--- + profiles/apparmor.d/tunables/kernelvars | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Origin: upstream, https://gitlab.com/apparmor/apparmor/commit/630cb2a981cdc731847e8fdaafc45bcd337fe747 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1717714 + +Index: apparmor-2.10.95/profiles/apparmor.d/tunables/kernelvars +=================================================================== +--- apparmor-2.10.95.orig/profiles/apparmor.d/tunables/kernelvars 2018-01-08 07:40:24.985605161 -0800 ++++ apparmor-2.10.95/profiles/apparmor.d/tunables/kernelvars 2018-01-08 07:40:24.981605165 -0800 +@@ -13,7 +13,7 @@ + # and until the parser supports nested groupings like + # @{pid}=[1-9]{[0-9]{[0-9]{[0-9]{[0-9]{[0-9],},},},},} + # use +-@{pid}={[1-9],[1-9][0-9],[1-9][0-9][0-9],[1-9][0-9][0-9][0-9],[1-9][0-9][0-9][0-9][0-9],[1-9][0-9][0-9][0-9][0-9][0-9]} ++@{pid}={[1-9],[1-9][0-9],[1-9][0-9][0-9],[1-9][0-9][0-9][0-9],[1-9][0-9][0-9][0-9][0-9],[1-9][0-9][0-9][0-9][0-9][0-9],[1-4][0-9][0-9][0-9][0-9][0-9][0-9]} + + #same pattern as @{pid} for now + @{tid}=@{pid} diff -Nru apparmor-2.10.95/debian/patches/series apparmor-2.10.95/debian/patches/series --- apparmor-2.10.95/debian/patches/series 2017-03-14 09:54:42.000000000 -0700 +++ apparmor-2.10.95/debian/patches/series 2018-01-08 07:40:23.000000000 -0800 @@ -48,3 +48,4 @@ # Patches backported from upstream fix submissions # utils-add-aa-remove-unknown.patch +0001-Allow-seven-digit-pid.patch