How to we enable security flags for Kernel modules

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to we enable security flags for Kernel modules

752 Views
TBYE
Contributor I

Hi,

I am trying to add security flags like relro, pie, stack canary, nx and strip the libraries too.

For the same i tried to add meta-security bastille and added security_flags.inc in local.conf.

With this i am able to add security flags in all libraries but kernel modules.

I have added kernel module like brcm.ko or ov5640.ko , for these file nethier m able to add secure flags nor stripped.

Please share some doc to do the same using yocto.

Thanks.

0 Kudos
Reply
0 Replies