From c9cbeced5b3f2bdd7407e29c0811e65954132540 Mon Sep 17 00:00:00 2001 From: Root THC Date: Tue, 24 Feb 2026 12:42:47 +0000 Subject: initial --- .../doc/API_doc/html/pseudo__link_8h-source.html | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 other/Kermit/doc/API_doc/html/pseudo__link_8h-source.html (limited to 'other/Kermit/doc/API_doc/html/pseudo__link_8h-source.html') diff --git a/other/Kermit/doc/API_doc/html/pseudo__link_8h-source.html b/other/Kermit/doc/API_doc/html/pseudo__link_8h-source.html new file mode 100644 index 0000000..97cab4d --- /dev/null +++ b/other/Kermit/doc/API_doc/html/pseudo__link_8h-source.html @@ -0,0 +1,73 @@ + +
+00001 /* +00002 * pseudo_link.h: +00003 * file for pseudolinking. +00004 * put all your pointer to function prototypes here. +00005 * written by palmers / teso +00006 */ +00007 #include <glob.h> +00008 #include <linux/types.h> +00009 #include <sys/stat.h> +00010 #include <sys/types.h> +00011 #include <asm/ptrace.h> +00012 #include <addresses.h> +00013 +00014 #define USE_SYS_FORK \ +00015 int (*sys_fork)(struct pt_regs) = \ +00016 (int (*)(struct pt_regs))SYS_FORK_ADD; /* arch dependant! */ +00017 +00018 #define USE_SYS_READ \ +00019 size_t (*sys_read)(unsigned int, char *, size_t) = \ +00020 (size_t (*)(unsigned int, char *, size_t))SYS_READ_ADD; +00021 +00022 #define USE_SYS_WRITE \ +00023 size_t (*sys_write)(unsigned int, char *, size_t) = \ +00024 (size_t (*)(unsigned int, char *, size_t))SYS_WRITE_ADD; +00025 +00026 #define USE_SYS_EXIT \ +00027 int (*sys_exit)(int) = \ +00028 (int (*)(int))SYS_EXIT_ADD; +00029 +00030 #define USE_SYS_SETUID \ +00031 int (*sys_setuid)(uid_t) = \ +00032 (int (*)(uid_t))SYS_SETUID_ADD; +00033 +00034 #define USE_SYS_SETGID \ +00035 int (*sys_setgid)(gid_t) = \ +00036 (int (*)(gid_t))SYS_SETGID_ADD; +00037 +00038 #define USE_SYS_GETUID \ +00039 int (*sys_getuid)(void) = \ +00040 (int (*)(void))SYS_GETUID_ADD; +00041 +00042 #define USE_SYS_GETGID \ +00043 int (*sys_getgid)(void) = \ +00044 (int (*)(void))SYS_GETGID_ADD; +00045 +00046 #define USE_SYS_OPEN \ +00047 int (*sys_open)(const char *, int, int) = \ +00048 (int (*)(const char *, int, int))SYS_OPEN_ADD; +00049 +00050 #define USE_SYS_CLOSE \ +00051 int (*sys_close)(int) = \ +00052 (int (*)(int))SYS_CLOSE_ADD; +00053 +00054 #define USE_KMALLOC \ +00055 void *(*kmalloc)(size_t, int) = \ +00056 (void *(*)(size_t, int)) KMALLOC_ADD; +00057 +00058 +
1.2.9.1 written by Dimitri van Heesch,
+ © 1997-2001
+
+
--
cgit v1.3