<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://homeostasis.scs.carleton.ca/wiki/index.php?action=history&amp;feed=atom&amp;title=Operating_Systems_2022F_Lecture_23</id>
	<title>Operating Systems 2022F Lecture 23 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://homeostasis.scs.carleton.ca/wiki/index.php?action=history&amp;feed=atom&amp;title=Operating_Systems_2022F_Lecture_23"/>
	<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2022F_Lecture_23&amp;action=history"/>
	<updated>2026-04-05T22:41:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2022F_Lecture_23&amp;diff=24177&amp;oldid=prev</id>
		<title>Soma: Created page with &quot;==Video==  Video from the lecture given on December 8, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec23-20221208.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec23-20221208.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources-&gt;Zoom meeting-&gt;Cloud Recordings tab)  ==Notes==  &lt;pre&gt; Lecture 23 ----------   * Assignment 4 solutions  * Final...&quot;</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2022F_Lecture_23&amp;diff=24177&amp;oldid=prev"/>
		<updated>2022-12-08T23:23:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Video==  Video from the lecture given on December 8, 2022 is now available: * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec23-20221208.m4v video] * [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec23-20221208.cc.vtt auto-generated captions] Video is also available through Brightspace (Resources-&amp;gt;Zoom meeting-&amp;gt;Cloud Recordings tab)  ==Notes==  &amp;lt;pre&amp;gt; Lecture 23 ----------   * Assignment 4 solutions  * Final...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Video==&lt;br /&gt;
&lt;br /&gt;
Video from the lecture given on December 8, 2022 is now available:&lt;br /&gt;
* [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec23-20221208.m4v video]&lt;br /&gt;
* [https://homeostasis.scs.carleton.ca/~soma/os-2022f/lectures/comp3000-2022f-lec23-20221208.cc.vtt auto-generated captions]&lt;br /&gt;
Video is also available through Brightspace (Resources-&amp;gt;Zoom meeting-&amp;gt;Cloud Recordings tab)&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Lecture 23&lt;br /&gt;
----------&lt;br /&gt;
&lt;br /&gt;
 * Assignment 4 solutions&lt;br /&gt;
 * Final Exam review!&lt;br /&gt;
&lt;br /&gt;
- sorry about A3, one question remains to be graded, should get that done tomorrow&lt;br /&gt;
- A4 will be graded before the final so you&amp;#039;ll have everything before the 21st&lt;br /&gt;
&lt;br /&gt;
- My next week is busy so not planning on any other meetings, but I will be answering questions on Teams&lt;br /&gt;
   - and I can have an ad-hoc meeting if there is something I can&amp;#039;t address via Teams&lt;br /&gt;
&lt;br /&gt;
What is on the final exam?&lt;br /&gt;
 - A3 &amp;amp; A4&lt;br /&gt;
 - midterm&lt;br /&gt;
&lt;br /&gt;
Same format as the midterm&lt;br /&gt;
&lt;br /&gt;
So how will I test the material from A4?&lt;br /&gt;
 - some questions will test whether you actually did the assignment&lt;br /&gt;
   (so not easily searchable, also not directly in solutions, have to&lt;br /&gt;
    *understand* solutions)&lt;br /&gt;
 - below is NOT exhaustive, but a view of concepts that are covered in the questions&lt;br /&gt;
 - you should have an integrated view of what is going on&lt;br /&gt;
&lt;br /&gt;
1: tainting, how modules are loaded/removed, what happens&lt;br /&gt;
2: virtual &amp;amp; physical addresses, write functions in kernel modules&lt;br /&gt;
3: what does dd do at a system call level (not in detail, not the ioctl&amp;#039;s),&lt;br /&gt;
   what bpftrace does (can watch functions in the kernel), what are probes&lt;br /&gt;
4: seeking in a module versus just reading (probably not)&lt;br /&gt;
5: role of put_user (kernel vs userspace), importance of doing this right&lt;br /&gt;
6: page table entries, page tables in general, maybe a specific reference&lt;br /&gt;
   to the code&lt;br /&gt;
7: kernel memory management, why it uses pages, consequences of not&lt;br /&gt;
   allocating or freeing memory in the kernel&lt;br /&gt;
8: process tree in Linux, how stored in task_struct&lt;br /&gt;
   - why you might need locks&lt;br /&gt;
9: what &amp;quot;walking the page table&amp;quot; means&lt;br /&gt;
   - not too much on this, we haven&amp;#039;t spent too much time on it&lt;br /&gt;
   - why could lookups fail? (missing entry -&amp;gt; part of page table&lt;br /&gt;
     that isn&amp;#039;t valid for whatever reason)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From Assignment 3?&lt;br /&gt;
1: rm command? how it could be dangerous (what rm -rf means)&lt;br /&gt;
2: what does the unshare command do? (not all, but some simple parts of it)&lt;br /&gt;
3: how the PID space is unshared, what that means&lt;br /&gt;
4: what is busybox, what does installing busybox mean, how does it put things in the &amp;quot;right&amp;quot; place, what does chroot do (what it means for it to run a script)&lt;br /&gt;
5: what determines free space in a filesystem&lt;br /&gt;
6: differences between virtual and physical size of files, file holes, what mounting a file does (how it brings in the loopX device, how it acts like a &amp;quot;real&amp;quot; disk that can give errors)&lt;br /&gt;
7: symbolic vs hard links, again busybox install what that does&lt;br /&gt;
8: how dynamically linked binaries work, what they depend on&lt;br /&gt;
   (linker &amp;amp; config, libraries)&lt;br /&gt;
9: useradd, passwd &amp;amp; related files, what goes into making an account&lt;br /&gt;
10: mounting, device files, security implications&lt;br /&gt;
11: hostnames &amp;amp; unshare&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Soma</name></author>
	</entry>
</feed>