summaryrefslogtreecommitdiff
path: root/md/writeup/compile_linux_kernel.md
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2016-03-06 12:56:12 +0000
committerFreeArtMan <dos21h@gmail.com>2016-03-06 12:56:12 +0000
commit7395159abad36a6429a802643e19789f407a96e0 (patch)
tree2654b0dc8a9cb3cee17dc9433bd5eaa94fb5ddb5 /md/writeup/compile_linux_kernel.md
parent96360f57fd31649aefb900146abb315da3aa8d01 (diff)
downloadmd-content-7395159abad36a6429a802643e19789f407a96e0.tar.gz
md-content-7395159abad36a6429a802643e19789f407a96e0.zip
Added device ew7438rpn dumps. Added linux kernel compilation guide.
Diffstat (limited to 'md/writeup/compile_linux_kernel.md')
-rw-r--r--md/writeup/compile_linux_kernel.md61
1 files changed, 58 insertions, 3 deletions
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
+```
+
+<!--
## Compile module
+-->
+
# 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