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)
2017-08-11 12:17:23 +02:00
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`.
2017-08-10 18:36:59 +02:00
Aaron Hill
17da4af718
Make all Github links reference a specific commit
...
Closes #480
2017-07-30 15:56:26 -04:00
Ciro Santilli 六四事件 法轮功 包卓轩scriptalert(1)/script
88170c12ef
Mention Buildroot in addition to ivandaviov/minimal
...
It is more configurable.
2017-06-19 10:13:03 +01:00
Nathan Dautenhahn
1f0b900c47
Minor typos + rewordings
...
Signed-off-by: Nathan Dautenhahn <ndd@cis.upenn.edu>
2017-05-04 17:13:07 -04:00
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.
2017-04-04 14:19:02 +03:00
mudongliang
678a137fa1
fix typos and semantics in program startup
2016-10-28 22:16:02 -04:00
mudongliang
0b9f39a3cd
Change Intel assembly syntax to AT&T assembly syntax
2016-10-23 15:01:17 -04:00
cloud
ed157db372
fix typos
2016-09-11 15:09:12 +00:00
0xAX
1b8fcbef2f
Update program_startup.md
2016-09-11 19:55:15 +06:00
0xAX
7df9f32334
Update program_startup.md
2016-09-11 19:53:49 +06:00
0xAX
2b1f7f5896
Create program_startup.md
2016-09-11 19:51:18 +06:00
Mack Stump
3fda046617
fix typos
2016-05-19 10:46:26 -04:00
Dmitriy Olshevskiy
76785c23b6
fix typos: misc and syscall chapters
2016-04-01 20:09:18 +03:00
0xAX
318ef2a2cd
Update linkers.md
2016-03-09 00:57:20 +06:00
0xAX
4fe66d46e4
Update linkers.md
2016-02-13 00:27:17 +06:00
Aaron Ouellette
3ed521464e
another grammar fix
2015-11-12 21:20:02 -05:00
Aaron Ouellette
2ee9de6059
some gramatical fixes, clarifications
2015-11-01 19:12:42 -05:00
0xAX
38a7f9f769
Merge pull request #280 from mudongliang/master
...
revert "internals" to "insides" in most parts
2015-11-01 23:25:41 +06:00
Tony Allen
0cc935457b
Fixing more grammatical issues.
2015-10-27 21:17:05 -04:00
Tony Allen
1c26852cdd
Fixing more grammatical issues.
2015-10-27 21:14:38 -04:00
Tony Allen
86bab2d16a
Fixed some more grammatical errors.
2015-10-27 21:11:12 -04:00
mudongliang
3842d2223d
revert internals to insides
2015-10-26 09:27:46 +08:00
Aaron Ouellette
2d7fa47fd7
fix some grammar problems and make some sentences more clear
2015-10-19 09:52:19 -04:00
0xAX
6e73f1dbe5
Merge pull request #244 from simar7/patch-6
...
Update how_kernel_compiled.md
2015-10-10 23:35:22 +06:00
Alexander Kuleshov
51e437ae29
Merge branch 'master' of https://github.com/nahakiole/linux-insides into nahakiole-master
2015-10-10 23:22:49 +06:00
Alexander Kuleshov
5bded0c4e3
Merge branch 'master' of https://github.com/stormbeard/linux-insides into stormbeard-master
2015-10-10 23:19:18 +06:00
Alexander Kuleshov
ae7f19aeb9
Merge branch 'patch-3' of https://github.com/kotnik/linux-insides into kotnik-patch-3
2015-10-10 23:16:00 +06:00
Simarpreet Singh
9db4e1ed04
Update how_kernel_compiled.md
2015-10-08 13:09:17 -07:00
Nan Xiao
8b09db1f43
Update how_kernel_compiled.md
...
`KBUILD_MODULES` is used to decide whether build modules, while `KBUILD_BUILTIN` is for kernel.
2015-10-08 13:21:11 +08:00
Tony Allen
b6d002ae97
More gramatical fixes.
2015-10-04 16:30:02 -04:00
Tony Allen
0e598a78ea
More gramatical fixes.
2015-10-04 16:25:09 -04:00
0xAX
47e830ef5a
Merge pull request #227 from cirosantilli/patch-1
...
Recommend ivandaviov/minimal to generate initrd
2015-10-03 15:43:21 +06:00
Ciro Santilli 六四事件 法轮功 纳米比亚 威视
b8d73924d8
Recommend ivandaviov/minimal to generate initrd
2015-10-03 11:16:01 +02:00
0xAX
1efbc09981
Merge pull request #225 from aouelete/grammer-spelling-fixes
...
Grammar and spelling fixes
2015-09-28 23:12:13 +06:00
mitchell.hagstrand
340cea1909
Changed "int" to "in the"
...
Changed "this" to "these"
2015-09-26 23:55:44 -07:00
0xAX
8ed94b9ad0
Merge pull request #217 from remram44/typos
...
Typos in booting section
2015-09-27 11:57:53 +06:00
Andrew Foote
263d1ff4ef
Minor edits in Misc/contribute.md
2015-09-25 13:32:13 -06:00
Alex Lowe
180e6bfd2c
Slight grammatical cleanup of first 3 paragraphs
...
I attempted to keep the same personal feel in the two paragraphs, but modified their content to sound more 'normal' to native English speakers.
2015-09-24 11:16:35 -05:00
Aaron Ouellette
c66084b745
Merge branch 'master' into grammer-spelling-fixes
2015-09-24 08:14:34 -04:00
Sebastien Bourdelin
c406ee9d4b
Fix a typo "bysybox" -> "busybox"
2015-09-22 16:01:34 -04:00
Robin Glauser
774a08ba20
Fixing typos and articulation
2015-09-22 22:01:27 +02:00
Aaron Ouellette
20f27bebd9
fix some grammer/spelling mistakes
2015-09-21 20:11:08 -04:00
cyril
e6ee8ca1cf
Fixed some grammatical errors.
2015-09-21 20:02:50 -04:00
Dennis Birkholz
8a2a263156
More typos
2015-09-22 00:17:54 +02:00
Dennis Birkholz
4f58404c28
Fix typo
2015-09-22 00:06:55 +02:00
Dennis Birkholz
4052279900
Fix typo
2015-09-22 00:02:58 +02:00
Nikola Kotur
f29f5aa315
Update contribute.md
2015-09-21 22:57:27 +02:00
0xAX
ac9b6711e8
Merge pull request #218 from cure/patch-1
...
typo: advice is not used in the plural
2015-09-21 15:33:54 +06:00
Ward Vandewege
c2b22a0abd
advice is not used in the plural
2015-09-20 22:08:38 -04:00