<?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_2018F_Lecture_20</id>
	<title>Operating Systems 2018F Lecture 20 - 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_2018F_Lecture_20"/>
	<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2018F_Lecture_20&amp;action=history"/>
	<updated>2026-06-02T23:08:38Z</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_2018F_Lecture_20&amp;diff=22029&amp;oldid=prev</id>
		<title>Soma at 21:05, 21 November 2018</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2018F_Lecture_20&amp;diff=22029&amp;oldid=prev"/>
		<updated>2018-11-21T21:05:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:05, 21 November 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==Video==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The video from the lecture given on November 21, 2018 [https://homeostasis.scs.carleton.ca/~soma/os-2018f/lectures/comp3000-2018f-lec20-20181121.m4a is now available].&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Sample Questions==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Sample Questions==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Soma</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2018F_Lecture_20&amp;diff=22028&amp;oldid=prev</id>
		<title>Soma: /* Sample Questions */</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2018F_Lecture_20&amp;diff=22028&amp;oldid=prev"/>
		<updated>2018-11-21T21:04:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Sample Questions&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:04, 21 November 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1&lt;/del&gt;] &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Does &amp;lt;tt&amp;gt;alloc_pages()&amp;lt;/tt&amp;gt; in &lt;/del&gt;the Linux kernel &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;immediately allocate &lt;/del&gt;memory, or &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is memory allocated when it is accessed&lt;/del&gt;?&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2&lt;/ins&gt;] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;When &lt;/ins&gt;the Linux kernel &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;allocates physical &lt;/ins&gt;memory, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;does it use that memory with physical &lt;/ins&gt;or &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;virtual addresses?  How do you know&lt;/ins&gt;?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1&lt;/del&gt;] Does an &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;anonymous &lt;/del&gt;mmap system call allocate memory &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;immediately, &lt;/del&gt;or &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is the memory allocated as it is accessed&lt;/del&gt;?&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2&lt;/ins&gt;] Does an mmap system call &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;immediately &lt;/ins&gt;allocate &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;physical &lt;/ins&gt;memory&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;?  Why &lt;/ins&gt;or &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;why not&lt;/ins&gt;?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [2] &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;What is one key advantage &lt;/del&gt;of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lazy &lt;/del&gt;memory &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;allocation&lt;/del&gt;?  &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;What &lt;/del&gt;is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;one key disadvantage&lt;/del&gt;?&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [2] &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Assume a process allocates 10GB of memory (using an anonymous mmap) on a machine with 8 GB &lt;/ins&gt;of &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;physical &lt;/ins&gt;memory&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.  Is it possible for the call to succeed&lt;/ins&gt;?  &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If it succeeds, what will happen as data &lt;/ins&gt;is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;stored to this allocated memory&lt;/ins&gt;? &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; Assume that the memory is accessed at random.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [2] Assume we have modified the remember module so it allocates 16K (4 pages) at a time, and assume we have stored in /dev/remember 16K copies of the letter &amp;quot;a&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# [2] Assume we have modified the remember module so it allocates 16K (4 pages) at a time, and assume we have stored in /dev/remember 16K copies of the letter &amp;quot;a&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* As written, what will a read of /dev/remember return if we use a 4K buffer, starting at the beginning of the file?&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* As written, what will a read of /dev/remember return if we use a 4K buffer, starting at the beginning of the file?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Soma</name></author>
	</entry>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2018F_Lecture_20&amp;diff=22023&amp;oldid=prev</id>
		<title>Soma: Created page with &quot;==Sample Questions==   # [1] Does &lt;tt&gt;alloc_pages()&lt;/tt&gt; in the Linux kernel immediately allocate memory, or is memory allocated when it is accessed? # [1] Does an anonymous m...&quot;</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=Operating_Systems_2018F_Lecture_20&amp;diff=22023&amp;oldid=prev"/>
		<updated>2018-11-21T19:42:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Sample Questions==   # [1] Does &amp;lt;tt&amp;gt;alloc_pages()&amp;lt;/tt&amp;gt; in the Linux kernel immediately allocate memory, or is memory allocated when it is accessed? # [1] Does an anonymous m...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Sample Questions==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# [1] Does &amp;lt;tt&amp;gt;alloc_pages()&amp;lt;/tt&amp;gt; in the Linux kernel immediately allocate memory, or is memory allocated when it is accessed?&lt;br /&gt;
# [1] Does an anonymous mmap system call allocate memory immediately, or is the memory allocated as it is accessed?&lt;br /&gt;
# [2] What is one key advantage of lazy memory allocation?  What is one key disadvantage?&lt;br /&gt;
# [2] Assume we have modified the remember module so it allocates 16K (4 pages) at a time, and assume we have stored in /dev/remember 16K copies of the letter &amp;quot;a&amp;quot;.&lt;br /&gt;
#* As written, what will a read of /dev/remember return if we use a 4K buffer, starting at the beginning of the file?&lt;br /&gt;
#* What will happen if we do a second read, again with a 4K buffer (on the same open file)?&lt;br /&gt;
# [2] When is memory dynamically allocated in the remember module?  When is it freed?&lt;br /&gt;
# [2] As written, what happens when multiple write calls are made to /dev/remember?  What is remembered?  Why?&lt;br /&gt;
# [2] What system call causes getattr() in memoryll.py to be called (on files in a memoryll filesystem)?  How did you verify this?&lt;br /&gt;
# [2] What function in memoryll would you have to change to make it impossible to change file timestamps?  Why?&lt;br /&gt;
# [2] When you run fusermount via execve, what euid does fusermount&amp;#039;s process have?  What uid does it have?&lt;br /&gt;
# [2] What is a process&amp;#039;s effective uid (euid)?  Why is the euid not always equal to its uid?&lt;br /&gt;
# [2] What system calls does memoryll make when performing file operations on behalf of the kernel?  Give one concrete example showing how things work. (Hint: you won&amp;#039;t be able to strace memoryll as a regular user.)&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;[BONUS 5]&amp;#039;&amp;#039;&amp;#039; Implement mmap for the remember device.  Show your implementation and explain how it works.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# [2] Are man pages a good documentation source when developing kernel modules?  Why or why not?&lt;br /&gt;
# [2] When you load a kernel module, what code is guaranteed to run?  (Which functions will definitely be called?)  With what privileges will this code run?&lt;br /&gt;
# [3] You attach a new USB webcam to your computer that is running Linux.  The webcam is recognized and works properly.&lt;br /&gt;
#* How could you find out what kernel module(s) were loaded, if any, when you attached the webcam?&lt;br /&gt;
#* What is a simple way you could prevent those modules from being loaded in the future?&lt;br /&gt;
#* What sort of problems could the webcam drivers (modules) cause if they sometimes use dynamically allocated memory improperly (say, by using a buffer after it had been freed)?&lt;br /&gt;
# [2] What would changing CLASS_NAME in newgetpid.c to &amp;quot;carleton&amp;quot; change in the observable behavior of newgetpid?&lt;br /&gt;
# [2] How do you safely access userspace memory from a kernel module?  Give an example of where we do this in a kernel module covered in class.&lt;br /&gt;
# [2] What changes need to be made to newgetpid.c to allow it to respond to write requests?  Hint: How does newgetpid.c respond to read requests?&lt;br /&gt;
# [1] If you destroy all of the superblocks in a filesystem, will fsck be able to recover the filesystem? Explain.&lt;br /&gt;
# [1] When would you expect to find files in the lost+found directory?  &lt;br /&gt;
# [2] When first connecting to a remote host via ssh, you will normally get a message saying something similar to this: &amp;quot;The authenticity of host &amp;#039;access.scs.carleton.ca (134.117.29.72)&amp;#039; can&amp;#039;t be established.  RSA key fingerprint is SHA256:MexEKZF0Os0Vl6VTObN70lRf2DFsGfD8DTQ7FKKqVJ4.  Are you sure you want to continue connecting (yes/no)?&amp;quot;&lt;br /&gt;
#* Why is this question important?&lt;br /&gt;
#* What is the &amp;quot;fingerprint&amp;quot; for?&lt;br /&gt;
# [2] As user student (uid=1000), you run &amp;quot;sshfs &amp;lt;scs-username&amp;gt;@access.scs.carleton.ca:. scs-files&amp;quot;, where &amp;lt;scs-username&amp;gt; is your username.  &lt;br /&gt;
#* Will the files in scs-files have a uid=1000?  Why or why not?&lt;br /&gt;
#* Assume a file in scs-files is marked as being readable only by the owner.  Will you be able to read the contents of this file?  Why or why not?&lt;br /&gt;
# [1] How can you make a file that is 20 GB in size (you can read 20 GB of information from it) but takes up essentially no space on disk?&lt;/div&gt;</summary>
		<author><name>Soma</name></author>
	</entry>
</feed>