From: "Jason Zaman" <gentoo@perfinion.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-refpolicy:perfinion commit in: policy/modules/system/
Date: Mon, 25 Aug 2014 17:16:23 +0000 (UTC) [thread overview]
Message-ID: <1408734319.1df21420237c54a402798d9cff437c32017c714e.perfinion@gentoo> (raw)
commit: 1df21420237c54a402798d9cff437c32017c714e
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Fri Aug 22 19:05:19 2014 +0000
Commit: Jason Zaman <gentoo <AT> perfinion <DOT> com>
CommitDate: Fri Aug 22 19:05:19 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=1df21420
Allow sysadmins to interact with kernel (for instance for lsusb command)
---
policy/modules/system/userdomain.if | 2 ++
1 file changed, 2 insertions(+)
diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if
index 5b26aef..78cb3ad 100644
--- a/policy/modules/system/userdomain.if
+++ b/policy/modules/system/userdomain.if
@@ -1245,6 +1245,8 @@ template(`userdom_admin_user_template',`
ifdef(`distro_gentoo',`
# Grant block_suspend capability2 to administrators, this annoys the heck out of me
allow $1_t self:capability2 { block_suspend };
+ # Allow admins to interact with kernel, for instance using lsusb command
+ allow $1 self:netlink_kobject_uevent_socket create_socket_perms;
# Moved out of files_relabel_non_auth_files as it cannot be used in tunable_policy otherwise
seutil_relabelto_bin_policy($1_t)
')
next reply other threads:[~2014-08-25 17:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-25 17:16 Jason Zaman [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-10-12 9:51 [gentoo-commits] proj/hardened-refpolicy:perfinion commit in: policy/modules/system/ Jason Zaman
2014-10-12 9:51 Jason Zaman
2014-08-25 17:16 Jason Zaman
2014-08-25 17:16 Jason Zaman
2014-08-22 12:27 Jason Zaman
2014-08-22 12:27 Jason Zaman
2014-08-20 17:10 [gentoo-commits] proj/hardened-refpolicy:next " Jason Zaman
2014-08-20 17:13 ` [gentoo-commits] proj/hardened-refpolicy:perfinion " Jason Zaman
2014-08-20 17:07 Jason Zaman
2014-08-19 20:18 Jason Zaman
2014-08-19 20:18 Jason Zaman
2014-08-19 20:18 Jason Zaman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1408734319.1df21420237c54a402798d9cff437c32017c714e.perfinion@gentoo \
--to=gentoo@perfinion.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox