All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: ssh policy hassles
@ 2003-09-24 21:55 Inger, Slav (S.B.)
  2003-09-24 22:11 ` Dale Amon
  0 siblings, 1 reply; 27+ messages in thread
From: Inger, Slav (S.B.) @ 2003-09-24 21:55 UTC (permalink / raw)
  To: 'Dale Amon', SELinux Mail List

-----Original Message-----
From: Dale Amon [mailto:amon@vnl.com]
Sent: Wednesday, September 24, 2003 4:31 PM
To: SELinux Mail List
Subject: ssh policy hassles

> avc:  denied  { search } for  pid=654 exe=/usr/sbin/sshd dev=sda2 ino=903169 
> scontext=system_u:system_r:sshd_t tcontext=system_u:object_r:var_lib_t tclass=dir
> 
> Can anyone think of a reason why an sshd would try to search
> /var/lib upon an incoming ssh connection? /var/lib is
> not in the source code, it's not in the config files...
> The only thing I see that looks even vaguely like a possible 
> target there is /var/lib/urandom.

Don't know if this helps much, but the only reference I see to /var/lib in the trace is sshd doing a stat on directory /var/lib/empty.

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Some minor thoughts on syntax/semantics
@ 2003-09-23 15:09 Dale Amon
  2003-09-24 13:34 ` Russell Coker
       [not found] ` <20030927133244.GC22582@vnl.com>
  0 siblings, 2 replies; 27+ messages in thread
From: Dale Amon @ 2003-09-23 15:09 UTC (permalink / raw)
  To: Stephen Smalley; +Cc: SELinux Mail List

There seems to be a bit of mental gymnastics involved
in reading allow statements. They are written like this:

allow  this_t   that_t:class  {this that and the other};

but semantically we want to think of it as:

"Allow a domain this_t to do {this that and the other} 
from something like that_t:class"

So I wonder if there was a reason you didn't go for
a similar syntax, eg

allow  this_t {this that and the other}  that_t:class;

Just curious.

-- 
------------------------------------------------------
       IN MY NAME:            Dale Amon, CEO/MD
  No Mushroom clouds over     Islandone Society
    London and New York.      www.islandone.org
------------------------------------------------------

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2003-09-30  6:37 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-24 21:55 ssh policy hassles Inger, Slav (S.B.)
2003-09-24 22:11 ` Dale Amon
2003-09-24 22:27   ` Dale Amon
2003-09-25  3:01     ` Diyab
2003-09-25  8:30       ` Dale Amon
2003-09-25  6:46   ` Tom
2003-09-25  8:14     ` Russell Coker
2003-09-25 10:29     ` Dale Amon
2003-09-25 12:55       ` Diyab
2003-09-25 16:47         ` Russell Coker
2003-09-26  0:16           ` Diyab
2003-09-26  2:42             ` Russell Coker
2003-09-29 20:27               ` SELinux & UML FAQ Nick Davis
2003-09-29 20:51                 ` Stephen Smalley
2003-09-30  6:36                 ` Russell Coker
  -- strict thread matches above, loose matches on Subject: below --
2003-09-23 15:09 Some minor thoughts on syntax/semantics Dale Amon
2003-09-24 13:34 ` Russell Coker
2003-09-24 20:31   ` ssh policy hassles Dale Amon
2003-09-24 21:20     ` Kerry Thompson
2003-09-25  3:32     ` Russell Coker
2003-09-25 10:44       ` Dale Amon
2003-09-25 11:31         ` Dale Amon
2003-09-25 12:17         ` Dale Amon
2003-09-25 12:21           ` Russell Coker
2003-09-25 12:55             ` Stephen Smalley
2003-09-25 14:20               ` Dale Amon
2003-09-27 10:47               ` Dale Amon
     [not found] ` <20030927133244.GC22582@vnl.com>
     [not found]   ` <20030927133352.GD22582@vnl.com>
2003-09-27 14:13     ` Russell Coker
2003-09-27 23:00       ` Dale Amon

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.