From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 382BE139695 for ; Mon, 27 Feb 2017 10:50:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9D16C21C08D; Mon, 27 Feb 2017 10:50:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7C4D121C08D for ; Mon, 27 Feb 2017 10:50:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A9BF1340C97 for ; Mon, 27 Feb 2017 10:50:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75109564B for ; Mon, 27 Feb 2017 10:50:55 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1488191830.9276dbc09b973cb5ec8e5ec46f39257c7ab65e3d.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/authlogin.if X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 9276dbc09b973cb5ec8e5ec46f39257c7ab65e3d X-VCS-Branch: master Date: Mon, 27 Feb 2017 10:50:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dad7d5c7-a200-449b-8991-5791398a4675 X-Archives-Hash: b757b33228bedf2373226d3e65f3f9b2 Message-ID: <20170227105055.bxZqvBrFjH5T2q9-s8G9EjyJ5SDZ860kqoYevUUxCM0@z> commit: 9276dbc09b973cb5ec8e5ec46f39257c7ab65e3d Author: cgzones googlemail com> AuthorDate: Sat Feb 18 20:46:56 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Feb 27 10:37:10 2017 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=9276dbc0 authlogin: introduce auth_use_pam_systemd add special interface for pam_systemd module permissions policy/modules/system/authlogin.if | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/policy/modules/system/authlogin.if b/policy/modules/system/authlogin.if index 5bac5fb3..fb92132d 100644 --- a/policy/modules/system/authlogin.if +++ b/policy/modules/system/authlogin.if @@ -91,6 +91,23 @@ interface(`auth_use_pam',` ######################################## ## +## Use the pam module systemd during authentication. +## +## +## +## Domain allowed access. +## +## +# +interface(`auth_use_pam_systemd',` + optional_policy(` + dbus_system_bus_client($1) + systemd_dbus_chat_logind($1) + ') +') + +######################################## +## ## Make the specified domain used for a login program. ## ##