How to Configure FreeBSD Kernel Security Levels

Author: , October 23rd, 2009

The kernel runs with five different security levels. Any super-user process can raise the level, but no process can lower it. The security levels are: -1: Permanently insecure mode – always run the system in insecure mode. This is the default initial value. 0: Insecure mode – immutable and append-only flags may be turned off. All devices may be […]

How to Modify the FreeBSD 7 Kernel to Add DTrace Support

Author: , October 21st, 2009

Here is a quick-start guide: http://wiki.freebsd.org/DTrace The kernel config files are located in: /usr/src/sys/{ARCH}/conf. Create a new one called DTRACE: [code] # cd /usr/src/sys/amd64/conf # cp GENERIC DTRACE # vim DTRACE [/code] For DTrace support, add the following options: [code] options KDTRACE_HOOKS # all architectures – enable general DTrace hooks options DDB_CTF # all architectures […]