All of lore.kernel.org
 help / color / mirror / Atom feed
* I have a question about log on SELinux
@ 2005-07-21 13:28 shintarou_fujiwara
  2005-07-25 14:15 ` Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: shintarou_fujiwara @ 2005-07-21 13:28 UTC (permalink / raw)
  To: selinux

My name is Shin from JAPAN.

Hello, I'm pretty new to this SELinux world,but one of my friend have some 
question on logging .

He is now using RHEL4u1 and testing SELinux .

He uses targeted & enforcing and httpd_enable_cgi tuned off .

When he accesses to cbi-bin directory, he got these messages on 
/var/log/messages.
######################################################
#First one is,

Jul 12 18:16:20 host1 kernel:
audit(1121159780.840:0): avc:  denied  { search } for  pid=3037
comm=httpd name=cgi-bin dev=cciss/c0d0p1 ino=883150
          ^^^^
scontext=user_u:system_r:httpd_t 
tcontext=system_u:object_r:httpd_sys_script_exec_t
tclass=dir

#Second one is,

Jul 12 18:16:20 host1 kernel:
audit(1121159780.840:0): avc:  denied  { getattr } for  pid=3037
comm=httpd path=/var/www/cgi-bin dev=cciss/c0d0p1 ino=883150
          ^^^^
scontext=user_u:system_r:httpd_t 
tcontext=system_u:object_r:httpd_sys_script_exec_t
tclass=dir
########################################################
His question is , the difference between "name" and "path" .

He and I have no idea the differences between these two.
They look totaly the same...

Please give us an advice .

Thank you.


--
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] 2+ messages in thread

end of thread, other threads:[~2005-07-25 14:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-21 13:28 I have a question about log on SELinux shintarou_fujiwara
2005-07-25 14:15 ` Stephen Smalley

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.