I have a custom application running on an embedded linux (generated with Buildroot). The kernel is patched with grsec and then, in the linux-menuconfig I enable GRsecurity. I haven't enable any more Grsec related options (except preventing code reuse).
Everything works fine, except that one application crashes with a coredump and causes a kernel panic.
I have tried the same application, without enabling Grsecurity in the kernel (but still patching the kernel) and it works fine.
The application, needs harware access through a special device (let's say /dev/mydev) and a module loaded at boot in a /etc/rc file.
My thoughts are that, maybe, grsec prevents or alter the load of the module, even though lsmod or modinfo shows correctly the module.
The most troubling thing, is that it is hard to get more info about this, as the kernel panic causes reboot of the device (so I can only read the last line of the messages).
Here is the error message:
Any one knows if something needed to be configured in the kernel so any out of tree module could be loaded properly ?
I tried reading the official wikibook but most of it is about the RBAC which is not activated when I launch the application.