104 Commits (master)

Author SHA1 Message Date
Renaud Germain 870ed9e375 copyedit: misc chapter 2 years ago
0xAX 20ee3691a4
Merge branch 'master' into capitalize-linux 2 years ago
0xAX 1f6c29f10e
Merge branch 'master' into patch-2 2 years ago
0xAX 5352b11ceb
Merge pull request #783 from Linux-project/imgbot
chore : [ImgBot] Optimize images
2 years ago
Renaud Germain c2ecc331a0 capitalize Linux everywhere 2 years ago
0xAX be39f46456
Merge pull request #787 from henrybear327/patch-1
Fix busybox typo
2 years ago
Kian-Meng, Ang 2c15599cfb Fix typos 2 years ago
Chun-Hung Tseng ad344c2c91
Fix image link in linux-misc-1.md 3 years ago
Chun-Hung Tseng 5769670cdc Fix busybox typo
Signed-off-by: Henry Tseng <henrybear327@gmail.com>
3 years ago
slowy07 f74f207581 fix: typo grammar spelling 3 years ago
ImgBotApp f82cd213ad
[ImgBot] Optimize images
*Total -- 5,801.05kb -> 4,972.30kb (14.29%)

/Theory/images/4_level_paging.png -- 39.74kb -> 16.28kb (59.03%)
/Misc/images/git_diff.png -- 31.20kb -> 20.24kb (35.12%)
/Interrupts/images/kernel.png -- 65.52kb -> 46.78kb (28.6%)
/Assets/linux-kernel.png -- 42.63kb -> 30.93kb (27.44%)
/Initialization/images/CONFIG_NR_CPUS.png -- 79.77kb -> 59.39kb (25.55%)
/Initialization/images/NX.png -- 8.12kb -> 6.10kb (24.91%)
/Booting/images/minimal_stack.png -- 9.78kb -> 7.96kb (18.61%)
/Booting/images/kernel_first_address.png -- 62.22kb -> 50.95kb (18.12%)
/Booting/images/stack1.png -- 8.14kb -> 6.75kb (17.01%)
/cover.jpg -- 447.00kb -> 374.10kb (16.31%)
/MM/images/memblock.png -- 71.89kb -> 60.89kb (15.3%)
/Booting/images/bss.png -- 8.98kb -> 7.61kb (15.23%)
/Initialization/images/kernel_command_line.png -- 12.67kb -> 10.75kb (15.16%)
/Initialization/images/brk_area.png -- 11.11kb -> 9.50kb (14.52%)
/Timers/images/HZ.png -- 444.06kb -> 383.37kb (13.67%)
/Misc/images/qemu.png -- 87.48kb -> 75.67kb (13.5%)
/Misc/images/dgap_menu.png -- 886.13kb -> 766.69kb (13.48%)
/Misc/images/menuconfig.png -- 837.61kb -> 726.46kb (13.27%)
/Timers/images/base_small.png -- 807.52kb -> 700.40kb (13.27%)
/Misc/images/nconfig.png -- 773.45kb -> 671.00kb (13.25%)
/SysCall/images/ls_shell.png -- 468.70kb -> 407.11kb (13.14%)
/Booting/images/stack2.png -- 9.13kb -> 7.93kb (13.11%)
/Cgroups/images/menuconfig.png -- 118.09kb -> 102.99kb (12.78%)
/Booting/images/video_mode_setup_menu.png -- 12.98kb -> 11.35kb (12.59%)
/Misc/images/google_linux.png -- 120.87kb -> 106.98kb (11.49%)
/Misc/images/github.png -- 73.54kb -> 65.30kb (11.2%)
/MM/images/kernel_configuration_menu1.png -- 123.93kb -> 110.36kb (10.95%)
/Booting/images/linear_address.png -- 8.75kb -> 8.04kb (8.01%)
/MM/images/kernel_configuration_menu2.png -- 117.13kb -> 108.26kb (7.57%)
/Booting/images/try_vmlinuz_in_qemu.png -- 6.87kb -> 6.43kb (6.41%)
/Booting/images/simple_bootloader.png -- 6.05kb -> 5.72kb (5.41%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
3 years ago
Jan Sonntag fa1cf540e8 Fix broken links and emails 4 years ago
Vishwajith-K 5524db1d75
Typo Fix
I'ma -> I'm a
4 years ago
Andre Richter 675751765b
Few Typos 4 years ago
Sebastian Fricke 890101e412 Improve paragraph in Misc/linux-misc-1.md
Increase word variety, fix grammatical errors, place missing
punctuations and add missing articles.

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
4 years ago
Sebastian Fricke 2cff4abf08 Gitbook Links: replace old links with new ones
The old links didn't point to valid locations.
Replace the old links with the new links and test those changes with a
small script: https://github.com/initBasti/markdown_link_check .

______________________________________________________________

In order to find and replace the links, I used the following commands:

grep -rwohP '.' -e "\(https\:\/\/0xax.gitbooks.io\/\S*\)" > links.txt
(Find all links recursivly in the project directories and print out the
 only the matches links)

Within links.txt:
Remove the '(' & ')' => :%s/\(//g  and :%s/\)//g
Remove duplicates => :sort u

Test if the links work with:
python3 md_link_check.py --pattern 0xax.gitbook --output-file bad.txt
(https://github.com/initBasti/markdown_link_check)

Create replace commands:
:%s/.*/grep -rl & '.' | xargs sed -i 's#&##g'
Enter replacement URL between the 2nd & 3rd '#'
Execute commands: :w !sh

Signed-off-by: Sebastian Fricke <sebastian.fricke.linux@gmail.com>
4 years ago
Michael D 639a7b59c3 More image fixes
Patch 5: Misc/

Note that one image, the "busybox menu", was not saved to
the wayback machine and has been lost.
5 years ago
Sourav Karjee bd2d5e7ef1
Update linux-misc-2.md 5 years ago
Josh Byster afe67bc8bf
Minor clarity edit in sentence
I may be misunderstanding the original meaning of the line, however "after the factorial function" seems to mean it would be "offset after the factorial function" (i.e. `0x400537 + 0x18`) but in reality you mean offset after the call function to get to the factorial function (`0x40051a + 0x5 + 0x18`). Very minor edit but may help for clarity. Thanks for creating such an awesome project.
5 years ago
I°_°I 340f313fdb
cand to and
"From this moment we have `argc`cand `argv" -> "From this moment we have `argc` and `argv"
5 years ago
proninyaroslav 163ba61dbe Replace invalid links to the images 6 years ago
Alexander Kuleshov e896e56c86
s/http/https for linux-insides 6 years ago
Alexander Kuleshov 264d910182
fix links to blog posts about assembler 6 years ago
Dongliang Mu 4704d82b25 fix broken links related with 'sync, syscall, timer' 6 years ago
Joshua Murphy 6d69c2431b Refactored files for a unified naming convention, making an autoamted LaTeX build easier too 6 years ago
Theo grevet benbezza 9f25c762c3 typo fix 6 years ago
Ding Fei 6d1ac7ac20 Update how_kernel_compiled.md 7 years ago
diekmann 9f269b41df Improved picture of stack layout
* Added dots around envp and argv since those are arrays of pointers.
  While argc and NULL are just 8B, argv and envp are of variable size,
  usually more than 8B. The dots visualize this.

* In the first image, moved rsp to point to argc. This is the initial
  stack and register layout at the beginning of _start. Only after libc
  popped the top of the stack into rsi, rsp will point to beginning of
  argv. (*)

(*)
I verified this by writing my own _start implementation:
  039ac7c03c/start.asm (L61)
7 years ago
Cornelius Diekmann 8dbc839a8a Language: Added articles. Content: exec* family
Language improvement: Added articles like `the`, `a`, ...

Content: The `exec*` family is a `C` wrapper, the syscall is usually only `execve`.
7 years ago
Aaron Hill 17da4af718
Make all Github links reference a specific commit
Closes #480
7 years ago
Ciro Santilli 六四事件 法轮功 包卓轩scriptalert(1)/script 88170c12ef Mention Buildroot in addition to ivandaviov/minimal
It is more configurable.
7 years ago
Nathan Dautenhahn 1f0b900c47 Minor typos + rewordings
Signed-off-by: Nathan Dautenhahn <ndd@cis.upenn.edu>
7 years ago
PaulCher 3a9e277b05 Fixing broken links and links pointing to the wrong part of code. Fixed
by replacing links to the fixed commit on github, not just to master.
7 years ago
mudongliang 678a137fa1 fix typos and semantics in program startup 8 years ago
mudongliang 0b9f39a3cd Change Intel assembly syntax to AT&T assembly syntax 8 years ago
cloud ed157db372 fix typos 8 years ago
0xAX 1b8fcbef2f Update program_startup.md 8 years ago
0xAX 7df9f32334 Update program_startup.md 8 years ago
0xAX 2b1f7f5896 Create program_startup.md 8 years ago
Mack Stump 3fda046617 fix typos 8 years ago
Dmitriy Olshevskiy 76785c23b6 fix typos: misc and syscall chapters 8 years ago
0xAX 318ef2a2cd Update linkers.md 8 years ago
0xAX 4fe66d46e4 Update linkers.md 8 years ago
Aaron Ouellette 3ed521464e another grammar fix 9 years ago
Aaron Ouellette 2ee9de6059 some gramatical fixes, clarifications 9 years ago
0xAX 38a7f9f769 Merge pull request #280 from mudongliang/master
revert "internals" to "insides" in most parts
9 years ago
Tony Allen 0cc935457b Fixing more grammatical issues. 9 years ago
Tony Allen 1c26852cdd Fixing more grammatical issues. 9 years ago
Tony Allen 86bab2d16a Fixed some more grammatical errors. 9 years ago
mudongliang 3842d2223d revert internals to insides 9 years ago