Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/system/
Date: Mon, 27 Feb 2017 11:40:12
Message-Id: 1488191830.9276dbc09b973cb5ec8e5ec46f39257c7ab65e3d.perfinion@gentoo
1 commit: 9276dbc09b973cb5ec8e5ec46f39257c7ab65e3d
2 Author: cgzones <cgzones <AT> googlemail <DOT> com>
3 AuthorDate: Sat Feb 18 20:46:56 2017 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 10:37:10 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=9276dbc0
7
8 authlogin: introduce auth_use_pam_systemd
9
10 add special interface for pam_systemd module permissions
11
12 policy/modules/system/authlogin.if | 17 +++++++++++++++++
13 1 file changed, 17 insertions(+)
14
15 diff --git a/policy/modules/system/authlogin.if b/policy/modules/system/authlogin.if
16 index 5bac5fb3..fb92132d 100644
17 --- a/policy/modules/system/authlogin.if
18 +++ b/policy/modules/system/authlogin.if
19 @@ -91,6 +91,23 @@ interface(`auth_use_pam',`
20
21 ########################################
22 ## <summary>
23 +## Use the pam module systemd during authentication.
24 +## </summary>
25 +## <param name="domain">
26 +## <summary>
27 +## Domain allowed access.
28 +## </summary>
29 +## </param>
30 +#
31 +interface(`auth_use_pam_systemd',`
32 + optional_policy(`
33 + dbus_system_bus_client($1)
34 + systemd_dbus_chat_logind($1)
35 + ')
36 +')
37 +
38 +########################################
39 +## <summary>
40 ## Make the specified domain used for a login program.
41 ## </summary>
42 ## <param name="domain">