From: "Jason Zaman" <perfinion@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/, policy/modules/apps/
Date: Sat, 15 Feb 2020 07:33:29 +0000 (UTC) [thread overview]
Message-ID: <1581751925.cbb17a7e783f777c56f806584b008a6db411665f.perfinion@gentoo> (raw)
commit: cbb17a7e783f777c56f806584b008a6db411665f
Author: bauen1 <j2468h <AT> gmail <DOT> com>
AuthorDate: Sat Feb 1 20:53:36 2020 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 07:32:05 2020 +0000
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=cbb17a7e
udev: run consolesetup
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
policy/modules/apps/loadkeys.te | 6 ++++++
policy/modules/system/udev.te | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/policy/modules/apps/loadkeys.te b/policy/modules/apps/loadkeys.te
index 1976e2cb..5c3b18d5 100644
--- a/policy/modules/apps/loadkeys.te
+++ b/policy/modules/apps/loadkeys.te
@@ -48,6 +48,12 @@ miscfiles_read_localization(loadkeys_t)
userdom_use_user_ttys(loadkeys_t)
userdom_list_user_home_content(loadkeys_t)
+ifdef(`distro_debian',`
+ optional_policy(`
+ consolesetup_read_conf(loadkeys_t)
+ ')
+')
+
optional_policy(`
keyboardd_read_pipes(loadkeys_t)
')
diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te
index 71d98fc8..0371da7a 100644
--- a/policy/modules/system/udev.te
+++ b/policy/modules/system/udev.te
@@ -215,6 +215,12 @@ ifdef(`distro_debian',`
avahi_setattr_pid_dirs(udev_t)
avahi_filetrans_pid(udev_t, dir, "avahi-daemon")
')
+
+ optional_policy(`
+ consolesetup_exec_conf(udev_t)
+ consolesetup_manage_runtime(udev_t)
+ consolesetup_pid_filetrans_runtime(udev_t)
+ ')
')
ifdef(`distro_gentoo',`
next reply other threads:[~2020-02-15 7:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-15 7:33 Jason Zaman [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-02-15 7:33 [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/, policy/modules/apps/ Jason Zaman
2021-02-01 2:10 Jason Zaman
2025-03-08 23:55 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=1581751925.cbb17a7e783f777c56f806584b008a6db411665f.perfinion@gentoo \
--to=perfinion@gentoo.org \
--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