SELinux, automounting f2fs card
I have successfully modified my kernel to have f2fs support. I now can mount an f2fs formatted sd card as root in terminal, if the SELinux policy is set to permissive. I want to be able to do this in the enforcing mode, too and I want android to be able to automatically mount the card. I have a couple of questions:
1) Are there any SELinux log files where I can see what exactly was blocked? When I try to mount the card in enforcing mode I just see "Permission Denied"
2) How do I change what SELinux blocks?
3) Most importantly - since for SELinux I can just keep the permissive mode - how can I make android mount the f2fs formatted card automatically? Do I just have to replace some entry in a fstab-like file or do I have to modify more code? Do I need to build f2fs-tools for android?
Sorry if there are obvious answers to the questions - I'm a bit new to this.
My phone is a Galaxy Note 3.