Irregular Expressions

May 21 2010   9:46AM GMT

Building a FreeBSD MAC Kernel – Part 2



Posted by: Dan O'Connor
Tags:
biba
freebsd
freebsd kernel mac
kernel freebsd
mac biba

Once the sync is completed go to /usr/src

cd /usr/src/

There is a sys/ dir in under src/ in sys/ there is a listing of possible architectures you can build a kernel for, inside the one you select there is a conf/ dir.

If you do a ‘ls’ in the conf/ dir you will see the possible pre-built kernel configs you can select from. In the MAC config you will see a few options to uncomment.  Remove the # from infront of ‘options MAC_BIBA’.

options        MAC
options        MAC_BIBA                # BIBA data integrity policy

Once you are done that go back to /usr/src/ and you can start to make the kernel.

make buildkernel KERNCONF=MAC
make installkernel KERNCONF=MAC

That’s the build completed but there is a few more steps to configuring biba on your system to come.


 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: