From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CE8A013800E for ; Sun, 2 Feb 2014 12:18:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4384DE09B3; Sun, 2 Feb 2014 12:18:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C918BE09B3 for ; Sun, 2 Feb 2014 12:18:36 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B977433F155 for ; Sun, 2 Feb 2014 12:18:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 6D5BD18832 for ; Sun, 2 Feb 2014 12:18:34 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1391343453.2a38128e3940d14e9cae65ecdb80ab0812af9e9b.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/admin/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/admin/usermanage.te X-VCS-Directories: policy/modules/admin/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 2a38128e3940d14e9cae65ecdb80ab0812af9e9b X-VCS-Branch: master Date: Sun, 2 Feb 2014 12:18:34 +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: 3d8e7b1c-1f59-4f1d-b435-499479fc5303 X-Archives-Hash: 3571eec5b5e06386ddf6e38318eac379 commit: 2a38128e3940d14e9cae65ecdb80ab0812af9e9b Author: Sven Vermeulen siphos be> AuthorDate: Sun Feb 2 12:17:33 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Feb 2 12:17:33 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=2a38128e Fix bug #499036 - avc_running assertion fails otherwise --- policy/modules/admin/usermanage.te | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/policy/modules/admin/usermanage.te b/policy/modules/admin/usermanage.te index 3ba4972..7bfba16 100644 --- a/policy/modules/admin/usermanage.te +++ b/policy/modules/admin/usermanage.te @@ -565,3 +565,17 @@ optional_policy(` rpm_use_fds(useradd_t) rpm_rw_pipes(useradd_t) ') + +ifdef(`distro_gentoo',` + ######################################## + # groupadd_t + + # fix bug #499036 + allow groupadd_t self:netlink_selinux_socket { create bind }; + + ######################################## + # useradd_t + + # fix bug #499036 + allow useradd_t self:netlink_selinux_socket { create bind }; +')