blob: a92d210dcabb39132e686d725935ae1a61283227 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Getting sources
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
## 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
|