mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 20:14:27 +01:00
Move all non-README links to cirosantilli.com where the file is not cut off...
This commit is contained in:
@@ -1 +1 @@
|
||||
https://github.com/cirosantilli/linux-kernel-module-cheat#c
|
||||
https://cirosantilli.com/linux-kernel-module-cheat#c
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#magic-failure-string */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#magic-failure-string */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#magic-failure-string */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#magic-failure-string */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#magic-failure-string */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#magic-failure-string */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* http://pubs.opengroup.org/onlinepubs/9699919799/utilities/false.html
|
||||
*
|
||||
* Can be uesd to test that emulators forward the exit status properly.
|
||||
* https://github.com/cirosantilli/linux-kernel-module-cheat#gem5-syscall-emulation-exit-status
|
||||
* https://cirosantilli.com/linux-kernel-module-cheat#gem5-syscall-emulation-exit-status
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#c */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#c */
|
||||
|
||||
#include <lkmc.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#your-first-gcc-hack */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#your-first-gcc-hack */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#c
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#c
|
||||
*
|
||||
* Loop infinitely. Print an integer whenever a period is reached:
|
||||
*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#m5ops-instructions */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#m5ops-instructions */
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* Print each command line argument received, one per line.
|
||||
*
|
||||
* Good sanity check for user mode:
|
||||
* https://github.com/cirosantilli/linux-kernel-module-cheat#qemu-user-mode-getting-started
|
||||
* https://cirosantilli.com/linux-kernel-module-cheat#qemu-user-mode-getting-started
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#magic-failure-string */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#magic-failure-string */
|
||||
int main(void) { return 1; }
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#magic-failure-string */
|
||||
/* https://cirosantilli.com/linux-kernel-module-cheat#magic-failure-string */
|
||||
int main(void) { return 2; }
|
||||
|
||||
Reference in New Issue
Block a user