forked from cs-pub-ro/operating-systems
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
364 lines (357 loc) · 14.1 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
stages:
- make_assets
- prepare_view
- embed_reveal
- docusaurus
build_dir: /build
output_type: last
output_dir: /output
# Static data to describe how source files compose the labs
# Each entry will be named lab1.md, lab2.md, etc.
lab_structure:
- title: Lab 1 - Operating System Perspective
filename: lab1.md
content:
- tasks/basic-syscall.md
- tasks/syscall-wrapper.md
- tasks/libcall-syscall.md
- reading/modern-sw-stack.md
- reading/basic-syscall.md
- reading/syscall-wrapper.md
- reading/libcall-syscall.md
- title: Lab 2 - Library Perspective
filename: lab2.md
content:
- tasks/common-functions.md
- tasks/libc.md
- tasks/high-level-lang.md
- tasks/app-investigation.md
- guides/static-dynamic.md
- reading/common-functions.md
- reading/libc.md
- reading/high-level-lang.md
- reading/app-investigate.md
- title: Lab 3 - Memory
filename: lab3.md
content:
- tasks/memory-access.md
- tasks/memory-corruption.md
- tasks/memory-protection.md
- tasks/access-counter.md
- reading/working-with-memory.md
- reading/process-memory.md
- guides/memory-alloc.md
- guides/memory-vuln.md
- title: Lab 4 - Investigate Memory
filename: lab4.md
content:
- tasks/alloc-size.md
- tasks/copy.md
- tasks/memory-areas.md
- tasks/modify-areas.md
- tasks/static-dynamic.md
- tasks/page-mapper.md
- tasks/reference-counting.md
- reading/investigate-memory.md
- guides/app-investigation-deluge.md
- guides/app-investigation-servo.md
- guides/d-allocator.md
- guides/git.md
- guides/jemalloc.md
- guides/memory-actions.md
- guides/memory-leak.md
- title: Lab 5 - Memory Security
filename: lab5.md
content:
- tasks/pointer-arithmetic-leak.md
- tasks/aslr.md
- tasks/stack-protector.md
- tasks/bypassing-stack-protector.md
- tasks/exec-shellcode.md
- reading/memory-security.md
- guides/buffer-overflow-leak.md
- guides/buffer-overflow-overwrite.md
- title: Lab 6 - Multiprocess and Multithread
filename: lab6.md
content:
- tasks/sleepy.md
- tasks/wait-for-me-processes.md
- tasks/create-process.md
- tasks/multithreaded.md
- tasks/sum-array.md
- tasks/sum-array-bugs.md
- reading/hardware-perspective.md
- reading/processes.md
- reading/threads.md
- guides/create-process.md
- guides/sum-array-processes.md
- guides/system-dissected.md
- guides/sum-array-threads.md
# - guides/wait-for-me-threads.md
- guides/clone.md
- title: Lab 7 - Copy-on-Write
filename: lab7.md
content:
- tasks/apache2.md
- tasks/page-faults.md
- tasks/shared-memory.md
- tasks/mini-shell.md
- reading/processes-threads-apache2.md
- reading/copy-on-write.md
- guides/apache2.md
- guides/fork-faults.md
- title: Lab 8 - Syncronization
filename: lab8.md
content:
- tasks/race-condition.md
- tasks/threadsafe-data-struct.md
- tasks/libult.md
- reading/synchronization.md
- reading/user-level-threads.md
- reading/scheduling.md
- guides/user-level-threads.md
- guides/libult.md
make_assets:
plugin: command
options:
command: make
locations:
- chapters/software-stack
- chapters/data
- chapters/compute
- content/chapters/io/lecture
- content/chapters/app-interact/lecture
args:
- all
prepare_view:
plugin: command
options:
command: python
locations:
- .
args:
- gen-view.py
embed_reveal:
plugin: reveal_embed
options:
target: docusaurus
extension: mdx
build:
Software-Stack: slides/Software-Stack
Data: slides/Data
Compute: slides/Compute
IO: slides/IO
Application-Interaction: slides/Application-Interaction
docusaurus:
plugin: docusaurus
options:
course_name: SO
sidebar: js
structure:
- Introduction: landing-page/README.md
- Setting up the Lab Environment: misc/lab-setup.md
- Software Stack:
path: /build/prepare_view/.view
extra:
- media
subsections:
- Slides: /build/embed_reveal/Software-Stack/Software-Stack.mdx
- Overview: /build/prepare_view/.view/software-stack-overview.md
- Questions:
path: questions
subsections:
- Printf vs Write: printf-vs-write.md
- Syscall ID: syscall-id.md
- Python Tools: python-tools.md
- Malloc: malloc.md
- Software: software.md
- Static Executables: static-executables.md
- Syscall Numbers: syscall-numbers.md
- Printf Syscall: printf-syscall.md
- Syscall Wrapper: syscall-wrapper.md
- Syscall Tool: syscall-tool.md
- Libcall Syscall: libcall-syscall.md
- Libc: libc.md
- Dynamic Libraries: dynamic-libraries.md
- Strcpy Syscall: strcpy-syscall.md
- Lab 1 - Operating System Perspective: lab1.md
- Lab 2 - Library Perspective: lab2.md
- Data:
path: /build/prepare_view/.view
extra:
- media
subsections:
- Slides: /build/embed_reveal/Data/Data.mdx
- Overview: /build/prepare_view/.view/data-overview.md
- Questions:
path: questions
subsections:
- Memory Access: memory-access.md
- Half page: half-page.md
- Malloc Brk: malloc-brk.md
- Malloc Mmap: malloc-mmap.md
- Memory granularity: memory-granularity.md
- Mmap file: mmap-file.md
- Page Allocation: page-allocation.md
- Operators: operators.md
- Memory Leaks: memory-leaks.md
- Valgrind Leaks: valgrind-leaks.md
- Bypass Canary: bypass-canary.md
- Memory Aslr: memory-aslr.md
- Memory Regions Vars: memory-regions-vars.md
- Memory Stack Protector: memory-stack-protector.md
- Stack Layout: stack-layout.md
- String buff over: string-buff-over.md
- String strcpy: string-strcpy.md
- Lab 3 - Memory: lab3.md
- Lab 4 - Investigate Memory: lab4.md
- Lab 5 - Memory Security: lab5.md
- Compute:
path: /build/prepare_view/.view
extra:
- media
subsections:
- Slides: /build/embed_reveal/Compute/Compute.mdx
- Overview: /build/prepare_view/.view/compute-overview.md
- Questions:
path: questions
subsections:
- Parent Faults Before Fork: parent-faults-before-fork.md
- Mmap Cow Flag: mmap-cow-flag.md
- Sections Always Shared: sections-always-shared.md
- Child Faults After Write: child-faults-after-write.md
- Seg Fault Exit Code: seg-fault-exit-code.md
- Threads Shared Data: threads-shared-data.md
- Thread Memory: thread-memory.md
- Apache2 Strace: apache2-strace.md
- Mini Shell Stops After Command: mini-shell-stops-after-command.md
- Cause of File Not Found Error: cause-of-file-not-found-error.md
- Process Creation: process-creation.md
- Who Calls Execve Parent: who-calls-execve-parent.md
- Exec Without Fork: exec-without-fork.md
- Create Sleepy Process Ending: create-sleepy-process-ending.md
- Processes Speedup: processes-speedup.md
- Parent of Sleep Processes: parent-of-sleep-processes.md
- Sleeping on a Fiber: sleeping-on-a-fiber.md
- Fiber Strace: fiber-strace.md
- Type of Scheduler in Libult: type-of-scheduler-in-libult.md
- Number of Running Ults: number-of-running-ults.md
- Why Use Completed Queue: why-use-completed-queue.md
- Ult Thread IDs: ult-thread-ids.md
- TCB Libult Unikraft: tcb-libult-unikraft.md
- Time Slice Value: time-slice-value.md
- Number of Running Threads: number-of-running-threads.md
- Notify Only With Mutex: notify-only-with-mutex.md
- TLS Var Copies: tls-var-copies.md
- TLS Synchronization: tls-synchronization.md
- Semaphore Equivalent: semaphore-equivalent.md
- Coarse vs Granular Critical Section: coarse-vs-granular-critical-section.md
- Not Race Condition: not-race-condition.md
- Lab 6 - Multiprocess and Multithread: lab6.md
- Lab 7 - Copy-on-Write: lab7.md
- Lab 8 - Syncronization: lab8.md
- Lecture:
path: /build/embed_reveal
subsections:
- IO: IO/IO.mdx
- Application Interaction: Application-Interaction/Application-Interaction.mdx
# - Lab:
# - IO:
# path: content/chapters/io/lab/content
# extra:
# - ../media
# - ../quiz
# subsections:
# - Overview: overview.md
# - File Handlers: file-handlers.md
# - File Descriptors: file-descriptors.md
# - Redirections: redirections.md
# - Pipes: pipes.md
# - Local IO in Action: local-io-in-action.md
# - Remote IO: remote-io.md
# - Networking 101: networking-101.md
# - Client-Server Model: client-server-model.md
# - Beyond Network Sockets: beyond-network-sockets.md
# - File Mappings: file-mappings.md
# - IO Internals: io-internals.md
# - Zero-Copy: zero-copy.md
# - Asynchronous IO: async-io.md
# - IO Multiplexing: io-multiplexing.md
# - Application Interaction:
# path: content/chapters/app-interact/lab/content
# extra:
# - ../media
# - ../quiz
# subsections:
# - Overview: overview.md
# - Time Server: time-server.md
# - Password Cracker: password-cracker.md
# - The X Window System: x-window-system.md
# - D-Bus: dbus.md
# - OS Cloud: os-cloud.md
- Assignments:
# These all have the same filename so we need to create separate
# subdirectories for them, otherwise they will overwrite each other.
# (See the trailing slash in the path.)
subsections:
- Mini Libc/: chapters/software-stack/libc/projects/mini-libc/
- Memory Allocator/: content/assignments/memory-allocator/
- Parallel Graph/: content/assignments/parallel-graph/
- Mini Shell/: content/assignments/minishell/
- Asynchronous Web Server/: content/assignments/async-web-server/
- Exams:
path: chapters/general/drills/tasks
subsections:
- 2024 Summer:
subsections:
- Syscall Tracing/: syscall-tracing.md
- Sysinfo Library/: sysinfo-library.md
- Digital Forensics/: digital-forensics.md
- Distributed System/: distributed-system.md
- Aggregator Application/: aggregator-application.md
- Benchmarking Application/: benchmarking-application.md
- Database Application/: database-application.md
- Application Investigator/: application-investigator.md
- Network Performance Utility/: network-performance-utility.md
- Nightly Builds System/: nightly-builds-system.md
- User-level Threading Library/: user-level-threading-library.md
- System Process Monitoring Tool/: system-process-monitoring-tool.md
- Network Configurations Manager/: network-configurations-manager.md
- FaaS Application/: faas-application.md
- Industrial System/: industrial-system.md
- Blockchain System/: blockchain-system.md
- Supervisor-type Service/: supervisor-type-service.md
- Header Analysis Application/: header-analysis-application.md
- Extending an App Manager/: extending-an-app-manager.md
- Backup System/: backup-system.md
- File Changes Notifier/: file-changes-notifier.md
- Intrusion Detection System/: intrusion-detection-system.md
- Resource Monitor/: resource-monitor.md
- Library Warmer/: library-warmer.md
- Web GUI 1/: web-gui-1.md
- Web GUI 2/: web-gui-2.md
- Memory Deduplication/: memory-deduplication.md
- Cloud System/: cloud-system.md
- Hackathons:
path: content/assignments
subsections:
- Lambda Function Loader/: lambda-function-loader/
- Rules and Grading: misc/rules-and-grading.md
- Resources: misc/resources.md
static_assets:
- slides/Compute: /build/make_assets/chapters/compute/_site
- slides/Data: /build/make_assets/chapters/data/_site
- slides/Software-Stack: /build/make_assets/chapters/software-stack/_site
- slides/IO: /build/make_assets/content/chapters/io/lecture/_site
- slides/Application-Interaction: /build/make_assets/content/chapters/app-interact/lecture/_site
config_meta:
title: Operating Systems
url: http://localhost/
baseUrl: /operating-systems/
onBrokenLinks: warn
onBrokenMarkdownLinks: warn
config_socials:
Main site: https://curs.upb.ro
OCW: https://ocw.cs.pub.ro/courses/so
Facebook: https://www.facebook.com/sisteme.de.operare/
copyright_string: SO Team