Move all non-README links to cirosantilli.com where the file is not cut off...

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-07-07 00:00:01 +00:00
parent ec74746707
commit 28cd27f969
380 changed files with 419 additions and 419 deletions

View File

@@ -14,7 +14,7 @@ ccflags-y := \
$(CCFLAGS)
ifeq ($(ARCH),x86)
# https://github.com/cirosantilli/linux-kernel-module-cheat#floating-point-in-kernel-modules
# https://cirosantilli.com/linux-kernel-module-cheat#floating-point-in-kernel-modules
CFLAGS_REMOVE_float.o += -mno-sse -mno-sse2
endif

View File

@@ -1 +1 @@
https://github.com/cirosantilli/linux-kernel-module-cheat#your-first-kernel-module-hack
https://cirosantilli.com/linux-kernel-module-cheat#your-first-kernel-module-hack

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#anonymous-inode */
/* https://cirosantilli.com/linux-kernel-module-cheat#anonymous-inode */
#include <linux/anon_inodes.h>
#include <linux/debugfs.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#character-devices */
/* https://cirosantilli.com/linux-kernel-module-cheat#character-devices */
#include <linux/fs.h> /* register_chrdev, unregister_chrdev */
#include <linux/module.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#automatically-create-character-device-file-on-insmod */
/* https://cirosantilli.com/linux-kernel-module-cheat#automatically-create-character-device-file-on-insmod */
#include <linux/cdev.h>
#include <linux/device.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#debugfs */
/* https://cirosantilli.com/linux-kernel-module-cheat#debugfs */
#include <linux/debugfs.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-module-dependencies */
/* https://cirosantilli.com/linux-kernel-module-cheat#kernel-module-dependencies */
#include <linux/debugfs.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-module-dependencies */
/* https://cirosantilli.com/linux-kernel-module-cheat#kernel-module-dependencies */
#include <linux/debugfs.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#dump_stack */
/* https://cirosantilli.com/linux-kernel-module-cheat#dump_stack */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#floating-point-in-kernel-modules */
/* https://cirosantilli.com/linux-kernel-module-cheat#floating-point-in-kernel-modules */
#include <linux/kernel.h>
#include <linux/module.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#file-operations */
/* https://cirosantilli.com/linux-kernel-module-cheat#file-operations */
#include <linux/debugfs.h>
#include <linux/errno.h> /* EFAULT */

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#qemu-buildroot-setup-getting-started */
/* https://cirosantilli.com/linux-kernel-module-cheat#qemu-buildroot-setup-getting-started */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#qemu-buildroot-setup-getting-started */
/* https://cirosantilli.com/linux-kernel-module-cheat#qemu-buildroot-setup-getting-started */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#init_module */
/* https://cirosantilli.com/linux-kernel-module-cheat#init_module */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#ioctl */
/* https://cirosantilli.com/linux-kernel-module-cheat#ioctl */
#include <linux/debugfs.h>
#include <linux/module.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#irq-ko */
/* https://cirosantilli.com/linux-kernel-module-cheat#irq-ko */
#include <linux/fs.h>
#include <linux/interrupt.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kprobes
/* https://cirosantilli.com/linux-kernel-module-cheat#kprobes
*
* Adapted from: https://github.com/torvalds/linux/blob/v4.17/samples/kprobes/kprobe_example.c
*/

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kstrto */
/* https://cirosantilli.com/linux-kernel-module-cheat#kstrto */
#include <linux/debugfs.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kthread */
/* https://cirosantilli.com/linux-kernel-module-cheat#kthread */
#include <linux/delay.h> /* usleep_range */
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kthreads */
/* https://cirosantilli.com/linux-kernel-module-cheat#kthreads */
#include <linux/delay.h> /* usleep_range */
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#config_fortify_source */
/* https://cirosantilli.com/linux-kernel-module-cheat#config_fortify_source */
#include <linux/kernel.h>
#include <linux/module.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#mmap */
/* https://cirosantilli.com/linux-kernel-module-cheat#mmap */
#include <linux/fs.h>
#include <linux/init.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#module_info */
/* https://cirosantilli.com/linux-kernel-module-cheat#module_info */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#pr_debug */
/* https://cirosantilli.com/linux-kernel-module-cheat#pr_debug */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#netlink-sockets */
/* https://cirosantilli.com/linux-kernel-module-cheat#netlink-sockets */
#include <linux/delay.h> /* usleep_range */
#include <linux/module.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-panic-and-oops */
/* https://cirosantilli.com/linux-kernel-module-cheat#kernel-panic-and-oops */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-panic-and-oops */
/* https://cirosantilli.com/linux-kernel-module-cheat#kernel-panic-and-oops */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-module-parameters */
/* https://cirosantilli.com/linux-kernel-module-cheat#kernel-module-parameters */
#include <linux/debugfs.h>
#include <linux/delay.h> /* usleep_range */

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#pci_min */
/* https://cirosantilli.com/linux-kernel-module-cheat#pci_min */
#include <linux/cdev.h>
#include <linux/fs.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-pmccntr-register */
/* https://cirosantilli.com/linux-kernel-module-cheat#arm-pmccntr-register */
#include <linux/debugfs.h>
#include <linux/errno.h> /* EFAULT */

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#poll */
/* https://cirosantilli.com/linux-kernel-module-cheat#poll */
#include <linux/debugfs.h>
#include <linux/delay.h> /* usleep_range */

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#procfs */
/* https://cirosantilli.com/linux-kernel-module-cheat#procfs */
#include <linux/debugfs.h>
#include <linux/module.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#qemu-edu */
/* https://cirosantilli.com/linux-kernel-module-cheat#qemu-edu */
#include <linux/cdev.h> /* cdev_ */
#include <linux/fs.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#ring0 */
/* https://cirosantilli.com/linux-kernel-module-cheat#ring0 */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#schedule */
/* https://cirosantilli.com/linux-kernel-module-cheat#schedule */
#include <linux/kernel.h>
#include <linux/kthread.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#seq_file */
/* https://cirosantilli.com/linux-kernel-module-cheat#seq_file */
#include <linux/debugfs.h>
#include <linux/errno.h> /* EFAULT */

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#seq_file-single_open */
/* https://cirosantilli.com/linux-kernel-module-cheat#seq_file-single_open */
#include <linux/debugfs.h>
#include <linux/errno.h> /* EFAULT */

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#sleep */
/* https://cirosantilli.com/linux-kernel-module-cheat#sleep */
#include <linux/delay.h> /* usleep_range */
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#config_fortify_source */
/* https://cirosantilli.com/linux-kernel-module-cheat#config_fortify_source */
#include <linux/kernel.h>
#include <linux/module.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#sysfs */
/* https://cirosantilli.com/linux-kernel-module-cheat#sysfs */
#include <linux/init.h>
#include <linux/kobject.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#timers */
/* https://cirosantilli.com/linux-kernel-module-cheat#timers */
#include <linux/jiffies.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#vermagic */
/* https://cirosantilli.com/linux-kernel-module-cheat#vermagic */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#vermagic */
/* https://cirosantilli.com/linux-kernel-module-cheat#vermagic */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#virt_to_phys */
/* https://cirosantilli.com/linux-kernel-module-cheat#virt_to_phys */
#include <asm/io.h> /* virt_to_phys */
#include <linux/debugfs.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#wait-queues */
/* https://cirosantilli.com/linux-kernel-module-cheat#wait-queues */
#include <linux/delay.h> /* usleep_range */
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#wait-queues */
/* https://cirosantilli.com/linux-kernel-module-cheat#wait-queues */
#include <linux/delay.h> /* usleep_range */
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#warn_on */
/* https://cirosantilli.com/linux-kernel-module-cheat#warn_on */
#include <linux/module.h>
#include <linux/kernel.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#workqueue-from-workqueue */
/* https://cirosantilli.com/linux-kernel-module-cheat#workqueue-from-workqueue */
#include <linux/kernel.h>
#include <linux/module.h>

View File

@@ -1,4 +1,4 @@
/* https://github.com/cirosantilli/linux-kernel-module-cheat#workqueues */
/* https://cirosantilli.com/linux-kernel-module-cheat#workqueues */
#include <linux/delay.h> /* usleep_range */
#include <linux/kernel.h>