summaryrefslogtreecommitdiffstats
path: root/misc-modules
Commit message (Collapse)AuthorAgeFilesLines
* misc-modules: faulty: Open code memset() to allow a buffer overflowJavier Martinez Canillas2018-02-251-1/+3
| | | | | | | | | 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 <javier@dowhile0.org>
* misc-modules: faulty: Include <linux/uaccess.h> header for copy_*_user()Javier Martinez Canillas2018-02-251-1/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* jiq: Use timer_setup() instead of init_timer()Javier Martinez Canillas2018-02-251-10/+8
| | | | | | The init_timer() function has been deprecated, use timer_setup() instead. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* jiq: Use wait_event_interruptible() instead of interruptible_sleep_on()Javier Martinez Canillas2018-02-251-2/+2
| | | | | | | Use the wait_event_interruptible() function instead of the deprecated interruptible_sleep_on(). Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* misc-modules: silly: Use file_dentry() to get struct file's dentryJavier Martinez Canillas2018-02-251-2/+2
| | | | | | | 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 <javier@dowhile0.org>
* misc-modules: jit: Use timer_setup() instead of init_timer()Javier Martinez Canillas2018-02-251-5/+3
| | | | | | The init_timer() function has been deprecated, use timer_setup() instead. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* misc-modules: jit: Include <linux/sched/signal.h> header for signal_pending()Javier Martinez Canillas2018-02-251-0/+1
| | | | Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org>
* jit.c: checkpatch.pl cleanupshwangcc2018-02-251-26/+26
| | | | Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
* jiq.c: checkpatch.pl cleanupshwangcc2018-02-251-18/+22
| | | | Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
* seq.c: checkpatch.pl cleanupshwangcc2018-02-251-7/+9
| | | | Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
* jiq.c: Don't use create_proc_entryhwangcc2018-02-251-50/+75
| | | | | | | Don't use create_proc_read_entry as that is deprecated, but rather use proc_create and seq_file instead. Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
* jit.c: Don't use create_proc_entryhwangcc2018-02-251-44/+80
| | | | | | | Don't use create_proc_read_entry as that is deprecated, but rather use proc_create and seq_file instead. Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
* seq.c: Don't use create_proc_entryhwangcc2018-02-251-3/+1
| | | | | | | Don't use create_proc_entry as that is deprecated, but rather use proc_create instead. Signed-off-by: hwangcc <hwangcc@csie.nctu.edu.tw>
* misc-modules: kdataalign: Removes obsolete <linux/config> header and changes ↵Javier Martinez Canillas2010-11-271-2/+1
| | | | system_utsname to init_uts_ns
* misc-modules: kdatasize: Removes obsolete <linux/config> header and changes ↵Javier Martinez Canillas2010-11-271-2/+1
| | | | system_utsname to init_uts_ns
* misc-modules: faulty: Remove obsolete <linux/config.h> headerJavier Martinez Canillas2010-11-271-2/+0
|
* misc-modules: jiq: Removes obsolete <linux/config.h> and add a delayed_work ↵Javier Martinez Canillas2010-11-271-16/+19
| | | | | | | | | | | struct Since kernel version 2.6.20 the workqueue mechanism got a rework to reduce the work_struct size. http://lwn.net/Articles/211279/ Splited the jiq_work in two structures according to the new ABI
* misc-modules: jit: Fixes headers in order to compile cleanlyJavier Martinez Canillas2010-11-271-1/+1
|
* Linux Device Drivers 3 examplesJavier Martinez Canillas2010-11-2712-0/+1422