public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sven Vermeulen" <sven.vermeulen@siphos.be>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/, policy/modules/system/
Date: Fri,  7 Dec 2012 17:28:25 +0000 (UTC)	[thread overview]
Message-ID: <1354901259.b5bbb70f93b06cfea73f0ce3e4876b1a513a79c3.SwifT@gentoo> (raw)

commit:     b5bbb70f93b06cfea73f0ce3e4876b1a513a79c3
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Fri Dec  7 17:27:39 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Fri Dec  7 17:27:39 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=b5bbb70f

Remove gentoo-only pam_console_data support

We introduced the pam_console_data support earlier on, but a new and upstream'ed
patch obsoletes it (and has a different naming usage).

---
 policy/modules/contrib/consolekit.te |    2 +-
 policy/modules/system/authlogin.if   |   48 ----------------------------------
 2 files changed, 1 insertions(+), 49 deletions(-)

diff --git a/policy/modules/contrib/consolekit.te b/policy/modules/contrib/consolekit.te
index 5dce1a8..c5dbccb 100644
--- a/policy/modules/contrib/consolekit.te
+++ b/policy/modules/contrib/consolekit.te
@@ -81,7 +81,7 @@ userdom_read_user_tmp_files(consolekit_t)
 
 ifdef(`distro_gentoo',`
 	# consolekit daemon creates /var/run/console for tagfiles
-	auth_generic_run_filetrans_pam_console_data(consolekit_t, dir, "console")
+	auth_pid_filetrans_pam_console_data(consolekit_t, dir, "console")
 	auth_create_pam_console_data_dirs(consolekit_t)
 
 	optional_policy(`

diff --git a/policy/modules/system/authlogin.if b/policy/modules/system/authlogin.if
index fea1b6e..8225390 100644
--- a/policy/modules/system/authlogin.if
+++ b/policy/modules/system/authlogin.if
@@ -1102,36 +1102,6 @@ interface(`auth_list_pam_console_data',`
 
 ########################################
 ## <summary>
-##	Automatically transition when a resource is created in the generic run
-##	location (/var/run or /run) to the pam console data label
-##	(pam_var_console_t).
-## </summary>
-## <param name="domain">
-##	<summary>
-##	Domain allowed access
-##	</summary>
-## </param>
-## <param name="class">
-##	<summary>
-##	Class of the resource created
-##	</summary>
-## </param>
-## <param name="filename" optional="true">
-##	<summary>
-##	Name of the resource created (optional).
-##	</summary>
-## </param>
-#
-interface(`auth_generic_run_filetrans_pam_console_data',`
-	gen_require(`
-		type pam_var_console_t;
-	')
-
-	files_pid_filetrans($1, pam_var_console_t, $2, $3)
-')
-
-########################################
-## <summary>
 ##	Create pam var console pid directories.
 ## </summary>
 ## <param name="domain">
@@ -1189,24 +1159,6 @@ interface(`auth_read_pam_console_data',`
 
 ########################################
 ## <summary>
-##	Create pam console data directories
-## </summary>
-## <param name="domain">
-##	<summary>
-##	Domain allowed access
-##	</summary>
-## </param>
-#
-interface(`auth_create_pam_console_data_dirs',`
-	gen_require(`
-		type pam_var_console_t;
-	')
-
-	allow $1 pam_var_console_t:dir create_dir_perms;
-')
-
-########################################
-## <summary>
 ##	Create, read, write, and delete
 ##	pam_console data files.
 ## </summary>


             reply	other threads:[~2012-12-07 17:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-07 17:28 Sven Vermeulen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-05-07 17:41 [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/, policy/modules/system/ Jason Zaman
2017-02-16 11:34 Jason Zaman
2016-12-06 12:26 Jason Zaman
2014-07-15 16:16 Sven Vermeulen
2014-06-25 19:59 Sven Vermeulen
2013-12-17  8:52 Sven Vermeulen
2013-02-11 19:52 Sven Vermeulen
2012-12-31 23:19 Sven Vermeulen
2012-12-08 12:41 Sven Vermeulen
2012-12-08 12:40 Sven Vermeulen
2012-11-12 21:30 Sven Vermeulen
2012-10-29 18:41 Sven Vermeulen
2012-08-29 18:48 Sven Vermeulen
2012-08-15 13:03 Sven Vermeulen
2012-08-08 19:37 Sven Vermeulen
2012-07-24  9:24 Sven Vermeulen
2012-07-17 17:15 Sven Vermeulen
2012-07-12 20:02 Sven Vermeulen
2012-06-27 19:12 Sven Vermeulen

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=1354901259.b5bbb70f93b06cfea73f0ce3e4876b1a513a79c3.SwifT@gentoo \
    --to=sven.vermeulen@siphos.be \
    --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