From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: SE-Linux <selinux@tycho.nsa.gov>
Subject: patch for ssh-agent
Date: Mon, 23 Aug 2004 22:59:04 +0100 [thread overview]
Message-ID: <20040823215904.GE13677@lkcl.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 458 bytes --]
absolutely clueless as to what this is for, but at least it gets
rid of the audit warnings, which were bugging me.
l.
--
--
Truth, honesty and respect are rare commodities that all spring from
the same well: Love. If you love yourself and everyone and everything
around you, funnily and coincidentally enough, life gets a lot better.
--
<a href="http://lkcl.net"> lkcl.net </a> <br />
<a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />
[-- Attachment #2: ssh_agent --]
[-- Type: text/plain, Size: 1077 bytes --]
diff -Naur
--- default.1.14/macros/program/ssh_agent_macros.te 2004-08-02 08:28:37.000000000 +0100
+++ current/macros/program/ssh_agent_macros.te 2004-08-14 23:34:48.000000000 +0100
@@ -86,7 +86,10 @@
ifdef(`xdm.te', `
allow $1_ssh_agent_t xdm_t:fd { use };
-allow $1_ssh_agent_t xdm_t:fifo_file { write };
+allow $1_ssh_agent_t xdm_t:fifo_file { read write };
+
+# kdm: sigchld
+allow $1_ssh_agent_t xdm_t:process { sigchld };
')
#
@@ -103,5 +106,17 @@
allow $1_ssh_t $1_tmp_t:sock_file write;
allow $1_ssh_t $1_t:unix_stream_socket connectto;
allow $1_ssh_t sshd_t:unix_stream_socket connectto;
+
+dontaudit $1_ssh_agent_t selinux_config_t:file { getattr read };
+ #EXE=/usr/bin/ssh-agent NAME=config : read
+ #EXE=/usr/bin/ssh-agent PATH=/etc/selinux/config : getattr
+
+allow $1_ssh_agent_t self:dir { search };
+ #EXE=/usr/bin/ssh-agent NAME=2971 : search
+
+allow $1_ssh_agent_t self:file { getattr read };
+ #EXE=/usr/bin/ssh-agent NAME=mounts : read
+ #EXE=/usr/bin/ssh-agent PATH=/proc/2971/mounts : getattr
+
')dnl end if ssh_agent
next reply other threads:[~2004-08-23 21:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-23 21:59 Luke Kenneth Casson Leighton [this message]
2004-08-24 11:21 ` patch for ssh-agent Stephen Smalley
2004-08-24 14:57 ` Luke Kenneth Casson Leighton
2004-08-25 10:13 ` Russell Coker
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=20040823215904.GE13677@lkcl.net \
--to=lkcl@lkcl.net \
--cc=selinux@tycho.nsa.gov \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.