From 48dce4baf47ae250589cbc778799350d03f26367 Mon Sep 17 00:00:00 2001 From: null Date: Wed, 6 Apr 2016 16:39:56 -0400 Subject: [PATCH 1/2] Fixing spelling mistake --- SysCall/syscall-3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SysCall/syscall-3.md b/SysCall/syscall-3.md index b168c70..c01eb08 100644 --- a/SysCall/syscall-3.md +++ b/SysCall/syscall-3.md @@ -11,7 +11,7 @@ We already know what is a `system call`. This is special routine in the Linux ke Introduction to vsyscalls -------------------------------------------------------------------------------- -The `vsyscall` or `virtual system call` is the first and oldest mechinism in the Linux kernel that is designed to accelerate execution of certain system calls. The principle of work of the `vsyscall` concept is simple. The Linux kernel maps into user space a page that contains some variables and the implementation of some system calls. We can find information about this memory space in the Linux kernel [documentation](https://github.com/torvalds/linux/blob/master/Documentation/x86/x86_64/mm.txt) for the [x86_64](https://en.wikipedia.org/wiki/X86-64): +The `vsyscall` or `virtual system call` is the first and oldest mechanism in the Linux kernel that is designed to accelerate execution of certain system calls. The principle of work of the `vsyscall` concept is simple. The Linux kernel maps into user space a page that contains some variables and the implementation of some system calls. We can find information about this memory space in the Linux kernel [documentation](https://github.com/torvalds/linux/blob/master/Documentation/x86/x86_64/mm.txt) for the [x86_64](https://en.wikipedia.org/wiki/X86-64): ``` ffffffffff600000 - ffffffffffdfffff (=8 MB) vsyscalls From 194d0c83e3273c6167830c29d9ba13ec57bfbcb6 Mon Sep 17 00:00:00 2001 From: null Date: Wed, 6 Apr 2016 16:43:53 -0400 Subject: [PATCH 2/2] Fixing links in System Calls chapter to point to the right sub-pages --- SysCall/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SysCall/README.md b/SysCall/README.md index a5b0bb9..676cdd3 100644 --- a/SysCall/README.md +++ b/SysCall/README.md @@ -4,5 +4,5 @@ This chapter describes the `system call` concept in the linux kernel. * [Introduction to system call concept](http://0xax.gitbooks.io/linux-insides/content/SysCall/syscall-1.html) - this part is introduction to the `system call` concept in the Linux kernel. * [How the Linux kernel handles a system call](http://0xax.gitbooks.io/linux-insides/content/SysCall/syscall-2.html) - this part describes how the Linux kernel handles a system call from an userspace application. -* [vsyscall and vDSO](http://0xax.gitbooks.io/linux-insides/content/SysCall/syscall-2.html) - third part describes `vsyscall` and `vDSO` concepts. -* [How the Linux kernel runs a program](http://0xax.gitbooks.io/linux-insides/content/SysCall/syscall-3.html) - this part describes startup process of a program. +* [vsyscall and vDSO](http://0xax.gitbooks.io/linux-insides/content/SysCall/syscall-3.html) - third part describes `vsyscall` and `vDSO` concepts. +* [How the Linux kernel runs a program](http://0xax.gitbooks.io/linux-insides/content/SysCall/syscall-4.html) - this part describes startup process of a program.