From eaeca0cab3a326f347f6a3e2ff04ade8e0cb43b6 Mon Sep 17 00:00:00 2001
From: Martyn Welch <martyn.welch@collabora.com>
Date: Mon, 17 Jun 2019 15:34:29 +0100
Subject: [PATCH] Allow busctl to read /proc/1/sched

The busctl utility attempts to read `/proc/1/sched`. As this is orthogonal
to what we are actually trying to test, allow this so as to not introduce
failures into out logging.

Signed-off-by: Martyn Welch <martyn.welch@collabora.com>
---
 usr.bin.busctl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr.bin.busctl b/usr.bin.busctl
index 44bfbc5..a2491fc 100644
--- a/usr.bin.busctl
+++ b/usr.bin.busctl
@@ -11,6 +11,7 @@
   owner @{PROC}/@{pid}/attr/current r,
   owner @{PROC}/@{pid}/stat r,
   @{PROC}/cmdline r,
+  @{PROC}/1/sched r,
   ptrace (read) peer=@{profile_name},
 
   dbus (send)
-- 
GitLab