Gentoo Archives: gentoo-commits

From: Jason Zaman <gentoo@×××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:perfinion commit in: policy/modules/system/
Date: Mon, 25 Aug 2014 17:16:27
Message-Id: 1408730829.fe1414d1fa7a4453a871dd3587384d1c6d432ce2.perfinion@gentoo
1 commit: fe1414d1fa7a4453a871dd3587384d1c6d432ce2
2 Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
3 AuthorDate: Fri Aug 22 18:07:09 2014 +0000
4 Commit: Jason Zaman <gentoo <AT> perfinion <DOT> com>
5 CommitDate: Fri Aug 22 18:07:09 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=fe1414d1
7
8 insmod deletes obsolete module deps (make modules_install)
9
10 ---
11 policy/modules/system/modutils.te | 2 ++
12 1 file changed, 2 insertions(+)
13
14 diff --git a/policy/modules/system/modutils.te b/policy/modules/system/modutils.te
15 index 419b826..b17ad6c 100644
16 --- a/policy/modules/system/modutils.te
17 +++ b/policy/modules/system/modutils.te
18 @@ -337,6 +337,8 @@ ifdef(`distro_gentoo',`
19 # insmod_t
20 #
21
22 + # During "make modules_install" insmod removes old/previous deps
23 + delete_files_pattern(insmod_t, modules_object_t, modules_dep_t)
24 # During "make modules_install" temp files created by admin
25 # that invoked the command are later used by kmod.
26 userdom_manage_user_tmp_files(insmod_t)