Skip to contentSkip to conversation

dpkg.if lacking dpkg_var_lib_t

PATCH In review Shintaro Fujiwara 2 participants 2 messages Sep 18, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dpkg.if lacking dpkg_var_lib_t

Hi, I was checking another interface and found dpkg_var_lib_t is lacking in dpkg.if.

Is it OK with this patch?

modules/admin/dpkg.if (working copy) renamed from modules/admin/dpkg.if (revision 2422) +1 -1
Index: policy/modules/admin/dpkg.if
===================================================================
@@ -223,7 +223,7 @@
 #
 interface(`dpkg_lock_db',`
        gen_require(`
-               type dpkg_lock_t;
+               type dpkg_lock_t, dpkg_var_lib_t;
        ')
 
        files_search_var_lib($1)

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

#1 lore raw
Quoted 4 lines · Shintaro Fujiwara

Hi, I was checking another interface and found dpkg_var_lib_t is lacking in dpkg.if.

Is it OK with this patch?

Its from the right location, but the tabs were replaced with 8 spaces, so it doesn't apply. I merged it manually.

Quoted 18 lines

Index: policy/modules/admin/dpkg.if
===================================================================

modules/admin/dpkg.if (working copy) renamed from modules/admin/dpkg.if (revision 2422) +1 -2
@@ -223,7 +223,7 @@
 #
 interface(`dpkg_lock_db',`
        gen_require(`
-               type dpkg_lock_t;
+               type dpkg_lock_t, dpkg_var_lib_t;
        ')
 
        files_search_var_lib($1)
 
--

This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.