<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ldd3/scullc, branch master</title>
<subtitle>ldd3 code examples</subtitle>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/'/>
<entry>
<title>scullc: Include &lt;linux/uaccess.h&gt; header for copy_*_user()</title>
<updated>2018-02-25T22:29:19+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@dowhile0.org</email>
</author>
<published>2018-02-25T22:29:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=b86423a5217ca616feb4b65a5bb02596f08d227d'/>
<id>b86423a5217ca616feb4b65a5bb02596f08d227d</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>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>scullc: main: Don't use create_proc_read_entry()</title>
<updated>2013-09-28T11:35:44+00:00</updated>
<author>
<name>Luis Ortega Perez de Villar</name>
<email>luiorpe1@upv.es</email>
</author>
<published>2013-08-16T14:55:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=f76929f117abb38ad4f87f2eea0e83bdf549e820'/>
<id>f76929f117abb38ad4f87f2eea0e83bdf549e820</id>
<content type='text'>
Don't use create_proc_read_entry() as it is deprecated,
but rather use proc_create() and seq_file instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Don't use create_proc_read_entry() as it is deprecated,
but rather use proc_create() and seq_file instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>scullc: Makefile: Declare LDDINC variable earlier</title>
<updated>2013-09-28T11:35:43+00:00</updated>
<author>
<name>Luis Ortega Perez de Villar</name>
<email>luiorpe1@upv.es</email>
</author>
<published>2013-08-16T14:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=74762334298ba5dd979099753c0cf41f2989679e'/>
<id>74762334298ba5dd979099753c0cf41f2989679e</id>
<content type='text'>
Move the definition of LDDINC earlier into the file. This prevents the
following compile time error: implicit declaration of function ‘KBUILD_STR’.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the definition of LDDINC earlier into the file. This prevents the
following compile time error: implicit declaration of function ‘KBUILD_STR’.
</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>scullc: BKL ioctl pushdown API change</title>
<updated>2011-01-08T00:52:02+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>martinez.javier@gmail.com</email>
</author>
<published>2011-01-03T13:47:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=2733750538721f5e0703a1c4fc6abf0d0ee2c33f'/>
<id>2733750538721f5e0703a1c4fc6abf0d0ee2c33f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>scullc: mmap: Remove &lt;linux/config.h&gt; header</title>
<updated>2010-12-05T13:43:30+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>martinez.javier@gmail.com</email>
</author>
<published>2010-12-05T13:43:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=48963ceac710f567ec4f7120a6992b8b7117c35d'/>
<id>48963ceac710f567ec4f7120a6992b8b7117c35d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>scullc: main: Check return in correct variable</title>
<updated>2010-11-28T18:36:37+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>martinez.javier@gmail.com</email>
</author>
<published>2010-11-28T18:36:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=f04f963c738434007c87cda6f035a6daa2d5192b'/>
<id>f04f963c738434007c87cda6f035a6daa2d5192b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>scullc: main: Change work_struct to delayed_work and change scullc_aio_[read | write] handlers</title>
<updated>2010-11-28T02:49:26+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>martinez.javier@gmail.com</email>
</author>
<published>2010-11-28T02:49:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=f0c09c6e5adbf9c35c49dc02594fcfaa64a42994'/>
<id>f0c09c6e5adbf9c35c49dc02594fcfaa64a42994</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>scullc: main: Removes slab destructor argument for kmem_cache_create invocation</title>
<updated>2010-11-28T01:15:55+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>martinez.javier@gmail.com</email>
</author>
<published>2010-11-28T01:15:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fcked.net/ldd3/commit/?id=c66395c972f3588db110f6545ccfe85318df19e8'/>
<id>c66395c972f3588db110f6545ccfe85318df19e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
