Re: Don't audit debugfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2012-08-06 at 16:17 -0700, Haiqing Jiang wrote:
> Hi, all
> 
> 
> Could we apply the following policy in android-4.1.1?
> 
> 
> dontaudit domain debugfs:file {write open}
> 
> 
> The reason is that if you want to debug using adb shell dmesg or
> cat /proc/kmsg, you have to open --> write trace_marker to debug frame
> buffers.
> 
> 
> Could you give some options? Thanks.....  

Bob put the following into his sepolicy.te file for the Nexus 7, but I
guess it or something like it belongs in core policy:
# ftrace support
bool ftrace true;
if (ftrace) {
   allow domain debugfs:file {open write};
} else {
   dontaudit domain debugfs:file {open write};
}

I haven't yet set up a grouper project for SE Android.

-- 
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 majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux