I am using the release version of OpenBSD 5.6 and have to apply a patch called 004_kernexec.patch.sig (URL: http://ftp.openbsd.org/pub/OpenBSD/patches/5.6/common/004_kernexec.patch.sig )
An excerpt of the said patch is as follows:
OpenBSD 5.6 errata 4, Oct 20, 2014:
Executable headers with an unaligned address will trigger a kernel panic.
Apply patch using:
signify -Vep /etc/signify/openbsd-56-base.pub -x 004_kernexec.patch.sig \
-m - | (cd /usr/src && patch -p0)
Then build and install a new kernel.
I'm now at the section titled 5.3.4 - Building the kernel
(URL: http://www.openbsd.org/faq/faq5.html#Why).
According to it, I need to issue the following command first:
cd /usr/src/sys/arch/`machine`/conf
followed by
config GENERIC
Is it compulsory to use the name GENERIC
? Can I call it something else such as bsd
?
I remember that towards the end of the installation process of the OS, there was this line that stated bsd.mp
would replace bsd.rd
as my machine was a multi-processor system.
sys.tar.gz
. That really helps to narrow down what file I need to patch against.