if you encounter
the solution is simple: download and install exactly the same Vbox Version you had installed before, do NOT update! if you updated then just deinstall everything.
You can get any old version from here: https://www.virtualbox.org/wiki/Download_Old_Builds
XOR or ⊕ - a type of logical disjunction on two operands that results in a value of true if the operands, or disjuncts, have opposite truth values. A simple way to state this is "one or the other but not both."
Tuesday, June 10, 2014
Monday, June 9, 2014
How to compile a grsecurity patched kernel under Debian 7
with GCC 4.7
packages you need
# aptitude install patch bin86 kernel-package build-essential lzop bc libncurses5-dev gcc-4.7-plugin-dev
use j flag in correspondence to your core/threads +1
packages you need
# aptitude install patch bin86 kernel-package build-essential lzop bc libncurses5-dev gcc-4.7-plugin-dev
# cd /usr/src
# wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.5.tar.xz
# wget http://grsecurity.net/test/grsecurity-3.0-3.14.5-201406051310.patch
this is an example, use most recent kernel and patch (attention version number!)
# tar -xf linux-3.14.5.tar.xz
# cd linux-3.14.5.tar.xz
# patch -p1 < ../grsecurity-3.0-3.14.5-201406051310.patch
# make menuconfig
config your kernel, see Debian Handbook how to build a kernel and http://en.wikibooks.org/wiki/Grsecurity/Appendix/Grsecurity_and_PaX_Configuration_Options for GRSec Options
# fakeroot make deb-pkg -j5
use j flag in correspondence to your core/threads +1
kernel will be compiled and .debs created
# cd ..
# dpkg -i *.deb
# shutdown -r now
:)
Subscribe to:
Posts (Atom)