<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ldd3/simple, branch master</title>
<subtitle>ldd3 code examples</subtitle>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/'/>
<entry>
<title>Don't use absolute path for commands in load/unload scripts</title>
<updated>2018-02-25T21:25:37+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@dowhile0.org</email>
</author>
<published>2018-02-25T21:25:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=e3c38f894f146aad18e14196ca39e679f35bf19f'/>
<id>e3c38f894f146aad18e14196ca39e679f35bf19f</id>
<content type='text'>
Just let the shell lookup from the user's $PATH since some tools may not
be installed in the absolute path used in the scripts.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just let the shell lookup from the user's $PATH since some tools may not
be installed in the absolute path used in the scripts.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ldd3: get rid of deprecated VM_RESERVED vma flag</title>
<updated>2013-04-26T19:57:00+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@dowhile0.org</email>
</author>
<published>2013-04-26T19:07:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=290fa172d35194aebc42b0d7076942391bf9deef'/>
<id>290fa172d35194aebc42b0d7076942391bf9deef</id>
<content type='text'>
commit 314e51b9 ("mm: kill vma flag VM_RESERVED and mm-&gt;reserved_vm counter")
removed the VM_RESERVED vma flag since it lost original meaning.

VM_RESERVED was used on many drivers' mmap function handler to
avoid swap this memory area.

The same semantic can be specified with VM_IO | VM_DONTDUMP flags
but these are already set by remap_pfn_range() so they don't have
to be set in drivers mmap function handlers.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 314e51b9 ("mm: kill vma flag VM_RESERVED and mm-&gt;reserved_vm counter")
removed the VM_RESERVED vma flag since it lost original meaning.

VM_RESERVED was used on many drivers' mmap function handler to
avoid swap this memory area.

The same semantic can be specified with VM_IO | VM_DONTDUMP flags
but these are already set by remap_pfn_range() so they don't have
to be set in drivers mmap function handlers.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>simple: use libfs simple_open</title>
<updated>2013-02-04T10:55:14+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@dowhile0.org</email>
</author>
<published>2013-02-04T10:55:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=4c90483ad066ae42ec9d86e2b250f7dc96f72dfd'/>
<id>4c90483ad066ae42ec9d86e2b250f7dc96f72dfd</id>
<content type='text'>
libfs now has a simple_open handler functions that is a noop.
So, is better to use this instead of a custom implementation.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libfs now has a simple_open handler functions that is a noop.
So, is better to use this instead of a custom implementation.

Signed-off-by: Javier Martinez Canillas &lt;javier@dowhile0.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>simple: Change to new page fault API</title>
<updated>2011-01-07T23:56:50+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>martinez.javier@gmail.com</email>
</author>
<published>2011-01-03T19:51:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=87d437abf4974520392ad441f70b4f8eba3b4b3e'/>
<id>87d437abf4974520392ad441f70b4f8eba3b4b3e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>simple: Make scripts files executable</title>
<updated>2010-12-08T01:07:06+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>martinez.javier@gmail.com</email>
</author>
<published>2010-12-08T01:07:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=92e6a0feacb8c13ca28f8ce33bb680d525b1c8b9'/>
<id>92e6a0feacb8c13ca28f8ce33bb680d525b1c8b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>simple: Change NOPAGE_SIBUS to VM_FAULT_SIGBUS</title>
<updated>2010-12-07T01:21:44+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>martinez.javier@gmail.com</email>
</author>
<published>2010-12-07T01:21:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=1b198d8190a92cea056db125a0545aa408447dde'/>
<id>1b198d8190a92cea056db125a0545aa408447dde</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>simple: Remove &lt;linux/config.h&gt; header</title>
<updated>2010-12-07T01:20:38+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>martinez.javier@gmail.com</email>
</author>
<published>2010-12-07T01:20:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=5ae6be9578b5a7657324dd7a85b2adfd2ba2c9cb'/>
<id>5ae6be9578b5a7657324dd7a85b2adfd2ba2c9cb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>simple: Makefile: Change CFLAGS to EXTRA_CFLAGS</title>
<updated>2010-12-05T00:59:14+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>martinez.javier@gmail.com</email>
</author>
<published>2010-12-05T00:59:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=c88fde800e721f962957a1eda8251becfdd6a104'/>
<id>c88fde800e721f962957a1eda8251becfdd6a104</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Linux Device Drivers 3 examples</title>
<updated>2010-11-27T06:49:17+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>martinez.javier@gmail.com</email>
</author>
<published>2010-11-27T06:49:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=ab121f379a3cff458c90e6f480ba4bb68c8733dd'/>
<id>ab121f379a3cff458c90e6f480ba4bb68c8733dd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
