diff -Nru apparmor-2.11.0/debian/changelog apparmor-2.11.0/debian/changelog --- apparmor-2.11.0/debian/changelog 2017-04-11 11:34:18.000000000 -0700 +++ apparmor-2.11.0/debian/changelog 2018-01-08 07:48:01.000000000 -0800 @@ -1,3 +1,10 @@ +apparmor (2.11.0-2ubuntu5) zesty; 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:47:44 -0800 + apparmor (2.11.0-2ubuntu4) zesty; urgency=medium * debian/patches/aa-notify-urgency-normal.patch: adjust the notify-send diff -Nru apparmor-2.11.0/debian/patches/0001-Allow-seven-digit-pid.patch apparmor-2.11.0/debian/patches/0001-Allow-seven-digit-pid.patch --- apparmor-2.11.0/debian/patches/0001-Allow-seven-digit-pid.patch 1969-12-31 16:00:00.000000000 -0800 +++ apparmor-2.11.0/debian/patches/0001-Allow-seven-digit-pid.patch 2018-01-08 07:48:16.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.11.0/profiles/apparmor.d/tunables/kernelvars +=================================================================== +--- apparmor-2.11.0.orig/profiles/apparmor.d/tunables/kernelvars 2018-01-08 07:47:41.932570846 -0800 ++++ apparmor-2.11.0/profiles/apparmor.d/tunables/kernelvars 2018-01-08 07:47:41.924570873 -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.11.0/debian/patches/series apparmor-2.11.0/debian/patches/series --- apparmor-2.11.0/debian/patches/series 2017-04-11 11:30:26.000000000 -0700 +++ apparmor-2.11.0/debian/patches/series 2018-01-08 07:47:40.000000000 -0800 @@ -41,3 +41,4 @@ utils-fix-failing-tests-in-aa-py.patch utils-allow-unordered-dbus-attribs.patch aa-notify-urgency-normal.patch +0001-Allow-seven-digit-pid.patch