From 7395159abad36a6429a802643e19789f407a96e0 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sun, 6 Mar 2016 12:56:12 +0000 Subject: Added device ew7438rpn dumps. Added linux kernel compilation guide. --- md/writeup/compile_linux_kernel.md | 61 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 3 deletions(-) (limited to 'md/writeup/compile_linux_kernel.md') diff --git a/md/writeup/compile_linux_kernel.md b/md/writeup/compile_linux_kernel.md index 1682125..a92d210 100644 --- a/md/writeup/compile_linux_kernel.md +++ b/md/writeup/compile_linux_kernel.md @@ -1,11 +1,66 @@ # Getting sources -## Installing modules +To get main repo kernel +Default kernel is located here + +``` +git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git +``` + +There is whole list of different kernels maintainer ones and much +more. + +``` +https://git.kernel.org/cgit/ +``` + +some distros have their own kernels. Here whole list of kernels +based on ubuntu version + +``` +http://kernel.ubuntu.com/git/ +``` + +And also there is little different native kernel building ways for some distros + +# Compiling + +Run to configure kernel +``` +make menuconfig +``` + +config is saved in _.config_ file. And now we are ready to +compile our first kernel + +``` +make +``` + + + # Linux patches -## Gr security -## Tomoyo \ No newline at end of file +## Grsecurity + +Linux security enhancments + +https://grsecurity.net/ + +## Tomoyo + +MAC based securty mechanism + +http://tomoyo.osdn.jp/ + +# Links + +1. https://git.kernel.org/cgit/ +2. https://wiki.ubuntu.com/Kernel/SourceCode +3. https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel +4. https://fedoraproject.org/wiki/Building_a_custom_kernel -- cgit v1.2.3