summaryrefslogtreecommitdiffstats
path: root/scullp
Commit message (Collapse)AuthorAgeFilesLines
* scullp: Include <linux/uaccess.h> header for copy_*_user()Javier Martinez Canillas2018-02-251-1/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* Don't use absolute path for commands in load/unload scriptsJavier Martinez Canillas2018-02-252-2/+2
| | | | | | | 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 <javier@dowhile0.org>
* scullp: main: Don't use create_proc_read_entry()Luis Ortega Perez de Villar2013-09-281-31/+25
| | | | | Don't use create_proc_read_entry() as it is deprecated, but rather use proc_create() and seq_file instead.
* scullp: Makefile: Declare LDDINC variable earlierLuis Ortega Perez de Villar2013-09-281-1/+2
| | | | | Move the definition of LDDINC earlier into the file. This prevents the following compile time error: implicit declaration of function ‘KBUILD_STR’.
* ldd3: get rid of deprecated VM_RESERVED vma flagJavier Martinez Canillas2013-04-261-1/+0
| | | | | | | | | | | | | | commit 314e51b9 ("mm: kill vma flag VM_RESERVED and mm->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 <javier@dowhile0.org>
* scullp: BLK ioctl pushdown API changeJavier Martinez Canillas2011-01-081-3/+2
|
* scullp: Change to new page fault APIJavier Martinez Canillas2011-01-081-7/+8
|
* scullp: Make scripts files executableJavier Martinez Canillas2010-12-082-0/+0
|
* scullp: Change f_dentry to f_path.dentry and include <linux/fs.h> headerJavier Martinez Canillas2010-12-071-1/+2
|
* scullp: Add <linux/semaphore.h> headerJavier Martinez Canillas2010-12-071-0/+1
|
* scullp: mmap: Change NOPAGE_SIGBUS to VM_FAULT_SIGBUSJavier Martinez Canillas2010-12-071-2/+2
|
* scullp: mmap: Remove <linux/config.h> headerJavier Martinez Canillas2010-12-071-1/+0
|
* scullp: Change work_struct to delayed_work and change scullc_aio_[read | ↵Javier Martinez Canillas2010-12-071-17/+26
| | | | write] handlers
* scullp: main: Removes <linux/config.h>Javier Martinez Canillas2010-12-051-1/+0
|
* scullp: Makefile: Change CFLAGS to EXTRA_CFLAGSJavier Martinez Canillas2010-12-051-2/+2
|
* Linux Device Drivers 3 examplesJavier Martinez Canillas2010-11-276-0/+926