You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
diekmann 391030ed94 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
Booting Сделать все ссылки Github ссылками на конкретный коммит 7 years ago
Cgroups Сделать все ссылки Github ссылками на конкретный коммит 7 years ago
Concepts Сделать все ссылки Github ссылками на конкретный коммит 7 years ago
DataStructures Сделать все ссылки Github ссылками на конкретный коммит 7 years ago
Initialization Fix arch_local_irq_disable C code extract 7 years ago
KernelStructures Merge pull request #444 from mudongliang/master 8 years ago
Misc Improved picture of stack layout 7 years ago
SyncPrim corrected typos 7 years ago
SysCall Clarify: vDSO is linked automatically with glibc 7 years ago
Theory Сделать все ссылки Github ссылками на конкретный коммит 7 years ago
Timers corrected typos 7 years ago
interrupts corrected typos 7 years ago
mm corrected typos 7 years ago
CONTRIBUTING.md Перевод linux-bootstrap-2.md, LINKS.md, CONTRIBUTING.md, исправление ошибок 8 years ago
LINKS.md Сделать все ссылки Github ссылками на конкретный коммит 7 years ago
README.md Удаление недействительных ссылок поддержки 7 years ago
SUMMARY.md Update SUMMARY.md 7 years ago
contributors-ru.md Перевод linux-bootstrap-2.md, LINKS.md, CONTRIBUTING.md, исправление ошибок 8 years ago
contributors.md Improved picture of stack layout 7 years ago
cover.jpg added cover.jpg 10 years ago

README.md

linux-insides

Оригинальный проект

Серия статей о ядре Linux и его внутреннем устройстве.

Цель проста - поделиться своим скромным знанием о внутренностях ядра Linux и помочь людям, которые заинтересованы низкоуровневыми подробостями Linux.

Вопросы/Предложения: Не стесняйтесь задавать любые вопросы и предложения мне на email.

Поддержка

Поддержка Если вам нравится linux-insides, Вы можете поддержать оригинального автора следующими способами:

Помочь с помощью bitcoin Присоединиться к чату https://gitter.im/0xAX/linux-insides

Лицензия

Распространяется на условиях лицензии BY-NC-SA Creative Commons.

Участие

Если у Вас возникнут какие-либо проблемы, не стесняйтесь создавать issues или pull-request.

Пожалуйста, прочтите CONTRIBUTING.md, прежде чем внести изменения.

image

Автор

@0xAX

Переводчик

proninyaroslav