<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ldd3/misc-modules, branch master</title>
<subtitle>ldd3 code examples</subtitle>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/'/>
<entry>
<title>misc-modules: faulty: Open code memset() to allow a buffer overflow</title>
<updated>2018-02-25T22:21:14+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@dowhile0.org</email>
</author>
<published>2018-02-25T22:16:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=799788bab2730fa21bfa59b234f98d98c2feeea7'/>
<id>799788bab2730fa21bfa59b234f98d98c2feeea7</id>
<content type='text'>
The memset() function is now fortified, which means that provides both a
compile and runtime buffer overflow checks. Since the goal of the faulty
module is to cause a buffer overflow this function can't be used anymore
and instead have to be open coded.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The memset() function is now fortified, which means that provides both a
compile and runtime buffer overflow checks. Since the goal of the faulty
module is to cause a buffer overflow this function can't be used anymore
and instead have to be open coded.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>misc-modules: faulty: Include &lt;linux/uaccess.h&gt; header for copy_*_user()</title>
<updated>2018-02-25T22:21:05+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@dowhile0.org</email>
</author>
<published>2018-02-25T22:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=11b2dfc91f5ff185262c4bd8d3365b70035ecfe2'/>
<id>11b2dfc91f5ff185262c4bd8d3365b70035ecfe2</id>
<content type='text'>
Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>jiq: Use timer_setup() instead of init_timer()</title>
<updated>2018-02-25T21:58:30+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@dowhile0.org</email>
</author>
<published>2018-02-25T21:57:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=5a8240c8b960f03a72b08ce8925b2cb5242789e4'/>
<id>5a8240c8b960f03a72b08ce8925b2cb5242789e4</id>
<content type='text'>
The init_timer() function has been deprecated, use timer_setup() instead.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The init_timer() function has been deprecated, use timer_setup() instead.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>jiq: Use wait_event_interruptible() instead of interruptible_sleep_on()</title>
<updated>2018-02-25T21:58:30+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@dowhile0.org</email>
</author>
<published>2018-02-25T21:49:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=07dedf70ee8d690ce7ca9ccf14c1b479be167752'/>
<id>07dedf70ee8d690ce7ca9ccf14c1b479be167752</id>
<content type='text'>
Use the wait_event_interruptible() function instead of the deprecated
interruptible_sleep_on().

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the wait_event_interruptible() function instead of the deprecated
interruptible_sleep_on().

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>misc-modules: silly: Use file_dentry() to get struct file's dentry</title>
<updated>2018-02-25T21:58:24+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@dowhile0.org</email>
</author>
<published>2018-02-25T21:42:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=18d6c1b94a97f6944586e7f3eba19768440a8877'/>
<id>18d6c1b94a97f6944586e7f3eba19768440a8877</id>
<content type='text'>
The struct file doesn't have a struct dentry member anymore, use the macro
to get the struct dentry for a struct file.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The struct file doesn't have a struct dentry member anymore, use the macro
to get the struct dentry for a struct file.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>misc-modules: jit: Use timer_setup() instead of init_timer()</title>
<updated>2018-02-25T21:34:05+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@dowhile0.org</email>
</author>
<published>2018-02-25T21:33:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=92d096243719627a8b69c1d12a82344cd386f6cf'/>
<id>92d096243719627a8b69c1d12a82344cd386f6cf</id>
<content type='text'>
The init_timer() function has been deprecated, use timer_setup() instead.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The init_timer() function has been deprecated, use timer_setup() instead.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>misc-modules: jit: Include &lt;linux/sched/signal.h&gt; header for signal_pending()</title>
<updated>2018-02-25T13:31:10+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@dowhile0.org</email>
</author>
<published>2018-02-25T13:31:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=ca2075a26666d36e662653b286c32a0e68938439'/>
<id>ca2075a26666d36e662653b286c32a0e68938439</id>
<content type='text'>
Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>jit.c: checkpatch.pl cleanups</title>
<updated>2018-02-25T01:04:01+00:00</updated>
<author>
<name>hwangcc</name>
<email>hwangcc@csie.nctu.edu.tw</email>
</author>
<published>2015-01-12T15:51:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=6e4c1a6b8c22c54e91a9508e90a8f2860c9d89ed'/>
<id>6e4c1a6b8c22c54e91a9508e90a8f2860c9d89ed</id>
<content type='text'>
Signed-off-by: hwangcc &lt;hwangcc@csie.nctu.edu.tw&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: hwangcc &lt;hwangcc@csie.nctu.edu.tw&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>jiq.c: checkpatch.pl cleanups</title>
<updated>2018-02-25T00:57:40+00:00</updated>
<author>
<name>hwangcc</name>
<email>hwangcc@csie.nctu.edu.tw</email>
</author>
<published>2015-01-12T15:47:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=fb3314c65dcbe65add7ddf0ae4d89f6352e79fa6'/>
<id>fb3314c65dcbe65add7ddf0ae4d89f6352e79fa6</id>
<content type='text'>
Signed-off-by: hwangcc &lt;hwangcc@csie.nctu.edu.tw&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: hwangcc &lt;hwangcc@csie.nctu.edu.tw&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>seq.c: checkpatch.pl cleanups</title>
<updated>2018-02-25T00:57:35+00:00</updated>
<author>
<name>hwangcc</name>
<email>hwangcc@csie.nctu.edu.tw</email>
</author>
<published>2015-01-12T15:36:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=3080b55e3f21d4749244e3aa359bcc3e4ad80b53'/>
<id>3080b55e3f21d4749244e3aa359bcc3e4ad80b53</id>
<content type='text'>
Signed-off-by: hwangcc &lt;hwangcc@csie.nctu.edu.tw&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: hwangcc &lt;hwangcc@csie.nctu.edu.tw&gt;
</pre>
</div>
</content>
</entry>
</feed>
