Gentoo Archives: gentoo-commits

From: Kenton Groombridge <concord@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/
Date: Wed, 02 Nov 2022 14:43:00
Message-Id: 1667398036.30e5ae18635c5685eb4bd6e40bdb7c8616207a42.concord@gentoo
1 commit: 30e5ae18635c5685eb4bd6e40bdb7c8616207a42
2 Author: Kenton Groombridge <me <AT> concord <DOT> sh>
3 AuthorDate: Sat Sep 24 16:35:52 2022 +0000
4 Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 2 14:07:16 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=30e5ae18
7
8 mount: allow mounting glusterfs volumes
9
10 Signed-off-by: Kenton Groombridge <me <AT> concord.sh>
11 Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org>
12
13 policy/modules/system/mount.te | 7 +++++++
14 1 file changed, 7 insertions(+)
15
16 diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te
17 index 615f165fa..8b02840f0 100644
18 --- a/policy/modules/system/mount.te
19 +++ b/policy/modules/system/mount.te
20 @@ -198,6 +198,13 @@ optional_policy(`
21 container_getattr_fs(mount_t)
22 ')
23
24 +optional_policy(`
25 + glusterfs_domtrans_daemon(mount_t)
26 +
27 + # required for mount.glusterfs
28 + corecmd_exec_shell(mount_t)
29 +')
30 +
31 optional_policy(`
32 modutils_read_module_deps(mount_t)
33 ')