Compiling the security policy

You compile the security policy provided by secpolgenerate using the secpolcompile utility.

Use the following command to compile the policy:

secpolcompile -o secpol.bin policy

For more information about this utility, see secpolcompile in the Utilities Reference.

Add the output of the compilation, secpol.bin, to the IFS in /proc/boot. To avoid having to specify the location wherever it is needed, QNX recommends that you use the default policy filepath /proc/boot/secpol.bin.