Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 765140 Details for
Bug 833369
sec-policy/selinux-base-policy (patch) tunable allow portage to use cifs filesystems
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-tunable-portage-use-cifs
0001-tunable-portage-use-cifs.patch (text/plain), 1.56 KB, created by
Tully Gray
on 2022-02-15 00:36:28 UTC
(
hide
)
Description:
0001-tunable-portage-use-cifs
Filename:
MIME Type:
Creator:
Tully Gray
Created:
2022-02-15 00:36:28 UTC
Size:
1.56 KB
patch
obsolete
>From 0463b8303d8d5fa9a7770815f582d37538ad00a6 Mon Sep 17 00:00:00 2001 >From: Tully Gray <tully.gray@protonmail.com> >Date: Tue, 15 Feb 2022 11:07:15 +1100 >Subject: [PATCH 1/1] New policy tunable: Determine whether portage can use > cifs filesystems. > >Signed-off-by: Tully Gray <tully.gray@protonmail.com> >--- > policy/modules/admin/portage.te | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > >diff --git a/policy/modules/admin/portage.te b/policy/modules/admin/portage.te >index 9abbdc37..db7d2b19 100644 >--- a/policy/modules/admin/portage.te >+++ b/policy/modules/admin/portage.te >@@ -13,6 +13,14 @@ policy_module(portage) > ## </desc> > gen_tunable(portage_use_nfs, false) > >+## <desc> >+## <p> >+## Determine whether portage can >+## use cifs filesystems. >+## </p> >+## </desc> >+gen_tunable(portage_use_cifs, false) >+ > ## <desc> > ## <p> > ## Determine whether portage domains can read user content. >@@ -148,6 +156,10 @@ tunable_policy(`portage_use_nfs',` > fs_read_nfs_files(gcc_config_t) > ') > >+tunable_policy(`portage_use_cifs',` >+ fs_read_cifs_files(gcc_config_t) >+') >+ > optional_policy(` > consoletype_exec(gcc_config_t) > ') >@@ -340,6 +352,13 @@ tunable_policy(`portage_use_nfs',` > fs_manage_nfs_symlinks(portage_fetch_t) > ') > >+tunable_policy(`portage_use_cifs',` >+ fs_getattr_cifs(portage_fetch_t) >+ fs_manage_cifs_dirs(portage_fetch_t) >+ fs_manage_cifs_files(portage_fetch_t) >+ fs_manage_cifs_symlinks(portage_fetch_t) >+') >+ > tunable_policy(`portage_read_user_content',` > userdom_read_user_home_content_files(portage_fetch_t) > userdom_list_user_home_content(portage_fetch_t) >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 833369
: 765140