multiple avcs in 1 audit event
Hi,
I was running some leaks checks of aureport and found something strange. I have places where there are 2 avc denials for the same audit event. I am wondering if this is really the correct action? Why was the syscall allowed to proceed to where a second problem was encountered (this is using the audit.88 kernel)? Here's the audit event, basically. I have a shared /opt via samba and accessed it without disabling se linux - I have to disable se linux or it just doesn't work right.
----
type=PATH msg=audit(10/21/05 09:09:06.571:618) :
name=policycoreutils-1.27.14/newrole/newrole.c flags=follow inode=1280463 dev=03:05 mode=file,644 ouid=sgrubb ogid=sgrubb rdev=00:00
type=CWD msg=audit(10/21/05 09:09:06.571:618) : cwd=/opt type=AVC_PATH msg=audit(10/21/05 09:09:06.571:618) :
path=/opt/policycoreutils-1.27.14/newrole/newrole.c
type=SYSCALL msg=audit(10/21/05 09:09:06.571:618) : arch=i386 syscall=stat64 success=yes exit=0 a0=bff74df0 a1=bff74870 a2=570ff4 a3=bff74870 items=1 pid=3010 auid=sgrubb uid=nobody gid=root euid=nobody suid=root fsuid=nobody egid=nobody sgid=nobody fsgid=nobody comm=smbd exe=/usr/sbin/smbd
type=AVC msg=audit(10/21/05 09:09:06.571:618) : avc: denied { getattr } for pid=3010 comm=smbd name=newrole.c dev=hda5 ino=1280463 scontext=root:system_r:smbd_t tcontext=user_u:object_r:user_home_t tclass=file type=AVC msg=audit(10/21/05 09:09:06.571:618) : avc: denied { search } for pid=3010 comm=smbd name=policycoreutils-1.27.14 dev=hda5 ino=1280454 scontext=root:system_r:smbd_t tcontext=user_u:object_r:user_home_t tclass=dir
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 19 lines · Steve G
Hi,
I was running some leaks checks of aureport and found something strange. I have places where there are 2 avc denials for the same audit event. I am wondering if this is really the correct action? Why was the syscall allowed to proceed to where a second problem was encountered (this is using the audit.88 kernel)? Here's the audit event, basically. I have a shared /opt via samba and accessed it without disabling se linux - I have to disable se linux or it just doesn't work right.
----
type=PATH msg=audit(10/21/05 09:09:06.571:618) :
name=policycoreutils-1.27.14/newrole/newrole.c flags=follow inode=1280463 dev=03:05 mode=file,644 ouid=sgrubb ogid=sgrubb rdev=00:00
type=CWD msg=audit(10/21/05 09:09:06.571:618) : cwd=/opt type=AVC_PATH msg=audit(10/21/05 09:09:06.571:618) :
path=/opt/policycoreutils-1.27.14/newrole/newrole.c
type=SYSCALL msg=audit(10/21/05 09:09:06.571:618) : arch=i386 syscall=stat64 success=yes exit=0 a0=bff74df0 a1=bff74870 a2=570ff4 a3=bff74870 items=1 pid=3010
Quoted 8 lines
auid=sgrubb uid=nobody gid=root euid=nobody suid=root fsuid=nobody egid=nobody sgid=nobody fsgid=nobody comm=smbd exe=/usr/sbin/smbd
type=AVC msg=audit(10/21/05 09:09:06.571:618) : avc: denied { getattr } for pid=3010 comm=smbd name=newrole.c dev=hda5 ino=1280463 scontext=root:system_r:smbd_t tcontext=user_u:object_r:user_home_t tclass=file type=AVC msg=audit(10/21/05 09:09:06.571:618) : avc: denied { search } for pid=3010 comm=smbd name=policycoreutils-1.27.14 dev=hda5 ino=1280454 scontext=root:system_r:smbd_t tcontext=user_u:object_r:user_home_t tclass=dir
System was in permissive mode?
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.