Logging the target?
Hi!
Is there a way to figure out the target object of a deny? An example: when I done an exec("/bin/bash") it was denied by my policy, because some library files was not the right type. It would spare me 2 reboots if the actual target would be stated in the logs.
Signature · 7 lines
GNU GPL: csak tiszta forrásból -- 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 7 lines · Magosányi Árpád
Hi!
Is there a way to figure out the target object of a deny? An example: when I done an
exec("/bin/bash")it was denied by my policy, because some library files was not the right type. It would spare me 2 reboots if the actual target would be stated in the logs.
SELinux logs the target pathname when it has the necessary information available to it, i.e. the (vfsmount,dentry) pair. Otherwise, it cannot generate a pathname for auditing.
Signature · 8 lines
Stephen Smalley <[email protected]> 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.