Capsicum Kernel The Sequel

So here we are, the morning after part one took place, and I’ve got two shiny new .deb packages waiting for installation.

When we left off, I had just issues the make command and headed to sleep for the evening. The kernel build actually didn’t take as long as I had feared:

me@capsicum $ time make
    real  57m11.326s
    user  137m41.864s
    sys   8m51.505s

The next steps from here are to actually install the new kernel:

me@capsicum $ cd .. # <-- up a level to where the *.deb packages are
me@capsicum $ sudo dpkg -i linux-image-3.13.1-capsicum_3.13.1-capsicum-1_amd64.deb
me@capsicum $ sudo dpkg -i linux-headers-3.13.1-capsicum_3.13.1-capsicum-1_amd64.deb

We are now ready to reboot and take the new kernel for a test drive:

me@capsicum $ sudo reboot

To be continued…

Update, Five Minutes Later

Well, after the reboot things came up fine (no kernel panic, thankfully!). Once the system was running, I verified that the new kernel was in place:

me@capsicum $ uname -a
Linux charon 3.13.1-capsicum #1 SMP Tue Feb 11 00:18:44 PST 2014 x86_64 x86_64 x86_64 GNU/Linux

In the next Capsicum related post, we’ll write some small programs to test the capabilities API!

Stay tuned!