Mauerer bindex.tex V1 - 09/05/2008 9:44am Page 1332
system calls(continued)
system calls(continued)
starting new programs, 79–83
strace, 838–840
structure of, 830
summary, 846
switching between user and kernel mode, 9
system programming and, 820
thread generation, 75–77
threads and, 77–79
timer-related, 944–947
tracing and, 820–822, 843, 845
unmount, 562–563
VFS files, 538–539
VFS programming interface and, 523–524
system calls, for auditing, 1110–1116
access vector cache auditing, 1114–1115
audit context allocation, 1110–1111
standard hooks, 1115–1116
system call events, 1112–1114
system controls.Seesysctls
system devices, accessing, 401
system errors, searching for, 1232–1233
system information
procfilesystem, 648–650
system calls for managing, 829
system management, kernel issues related
to, 35–36
system programming, 820
system security, 829–830
system settings, 829
system startup, 1223–1239
architecture-specific setup, 1226–1227
command-line arguments, 1227–1228
driver setup, 1234–1237
high-level initialization, 1225
IA-32 systems, 1224–1225
initthread, 1233–1234
initialization functions, 162–163
initializing central data structures and
caches, 1228–1232
overview of, 1223
removing initialization data, 1237–1238
searching for system errors, 1232–1233
subsystem initialization, 1225–1226
summary, 1239
userspace initialization, 1238–1239
system trace.Seetracing system calls
System V
interprocess communication and, 347
IPC mechanisms, 366–367
IPC permissions, 376
message queues, 376–380
overview of, 366
semaphore data structures, 369–375
semaphore system calls, 375
semaphore use, 367–369
shared memory, 380–381
T
tags, radix trees, 959–960
tags, search tags, 952
task switching
processes and, 4
scheduler and, 87
scheduler policy compared with, 36
task_structdata structure
code listing, 41–43
exit_stateelement, 44
extension for auditing, 1100–1104
resource limits, 45–47
sections of, 44
stateelement, 44
tasklets, 879–882
executing, 881–882
generating, 880
overview of, 879–880
registering, 880–881
tasks
elements in process task structure, 87–89
procfilesystem, 666
process management and, 62–63
relating task structures to namespaces,
59–62