Linux Kernel Architecture
Chapter 13: System Calls ❑ mmap,mmap2,munmap,andmremapperform mapping, unmapping, and remapping opera- tions, whilemprotectandma ...
Chapter 13: System Calls In addition, theLinux security modulessubsystem (LSM) provides a general interface to support modules w ...
Chapter 13: System Calls a small number of handler functions are implemented separately for each platform. When results are retu ...
Chapter 13: System Calls A third ‘‘type‘‘ of system call acts as a multiplexer. Multiplexers use constants to delegate system ca ...
Chapter 13: System Calls Dispatchingand ParameterPassing System calls are uniquely identified by a number assigned by the kernel ...
Chapter 13: System Calls Calling the code stored there (withcall 0xffffe000) allows the standard library to automati- cally sele ...
Chapter 13: System Calls /300/ .word sys_set_robust_list, sys_get_robust_list, sys_migrate_pages, sys_mbind, sys_get_mempolicy . ...
Chapter 13: System Calls Of course, neither programs nor the kernel itself operates with raw numbers but with symbolic constants ...
Chapter 13: System Calls a negative value by adding a sign. For example, if an operation were not permitted, a handler routine w ...
Chapter 13: System Calls The processing of system calls is, of course, a classic situation in which the kernel is busy with the ...
Chapter 13: System Calls ❑ pididentifies the target process. The process identifier is interpreted with respect to the namespace ...
Chapter 13: System Calls space using the aboveptraceoperations to gather relevant information on the system call. The traced pro ...
Chapter 13: System Calls if (val == -1) { return -1; } *res = val; return 0; } void trace_syscall() { long res; res = ptrace(PTR ...
Chapter 13: System Calls struct sigaction sigact; sigact.sa_handler = sigchld_handler; sigaction(SIGCHLD, &sigact, NULL); /* ...
Chapter 13: System Calls ❑ Helping to resume program flow. The kernel must, of course, be informed that execution will be stoppe ...
Chapter 13: System Calls unsigned int ptrace; ... /* ptrace_list/ptrace_children forms the list of my children that were stolen ...
Chapter 13: System Calls Both are discussed in the same section because their code differs only slightly: ❑ WhenPTRACE_SYSCALLis ...
Chapter 13: System Calls The read operation is delegated to theaccess_process_vmfunction that is implemented inmm/memory.c. (Itu ...
Kernel Activities Chapter 13 demonstrated that system execution time can be split into two large and different parts: kernel mod ...
Chapter 14: Kernel Activities................................................ 14.1 Interrupts Until kernel 2.4, the only commona ...
«
39
40
41
42
43
44
45
46
47
48
»
Free download pdf