Blame SOURCES/0018-contrib-selinux-Drop-unused-passt_read_data-interfac.patch

f07426
From 6b5f382f342ad4a0a46e30b5ba165713768e363a Mon Sep 17 00:00:00 2001
f07426
From: Stefano Brivio <sbrivio@redhat.com>
f07426
Date: Fri, 10 Mar 2023 14:53:37 +0000
f07426
Subject: [PATCH 18/20] contrib/selinux: Drop unused passt_read_data()
f07426
 interface
f07426
f07426
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
f07426
(cherry picked from commit dcdc50fc2251339d6e929f708fad114e61b60627)
f07426
---
f07426
 contrib/selinux/passt.if | 8 --------
f07426
 1 file changed, 8 deletions(-)
f07426
f07426
diff --git a/contrib/selinux/passt.if b/contrib/selinux/passt.if
f07426
index a79a8ec..3e37c5b 100644
f07426
--- a/contrib/selinux/passt.if
f07426
+++ b/contrib/selinux/passt.if
f07426
@@ -8,14 +8,6 @@
f07426
 # Copyright (c) 2022 Red Hat GmbH
f07426
 # Author: Stefano Brivio <sbrivio@redhat.com>
f07426
 
f07426
-interface(`passt_read_data',`
f07426
-	gen_require(`
f07426
-		type passt_data_t;
f07426
-	')
f07426
-	allow $1 passt_t:dir { search add_name };
f07426
-	allow $1 passt_t:file { open read getattr };
f07426
-')
f07426
-
f07426
 interface(`passt_domtrans',`
f07426
 	gen_require(`
f07426
 		type passt_t, passt_exec_t;
f07426
-- 
f07426
2.39.2
f07426