diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-08-08 17:28:41 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-08-08 17:28:41 +0000 |
commit | c0a0ebf04e31c19063912dbb143e33ad7082083b (patch) | |
tree | 16af5ad7948f5bfcf512d1ca8b3dfd96a4ae187f /pfinet/linux | |
parent | 798b7658f21c2a65b3bda097e15ddeea98a531bc (diff) |
Formerly kernel.h.~4~
Diffstat (limited to 'pfinet/linux')
-rw-r--r-- | pfinet/linux/kernel.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pfinet/linux/kernel.h b/pfinet/linux/kernel.h index 02281028..b3648056 100644 --- a/pfinet/linux/kernel.h +++ b/pfinet/linux/kernel.h @@ -2,13 +2,21 @@ #define _HACK_KERNEL_H #include <stdio.h> +#include <linux/sched.h> #define printk printf int getname (const char *, char **); void putname (char *); -int suser (void); +extern inline int suser () +{ + return current->isroot; +}; + + +int kill_proc (int, int, int); +int kill_pg (int, int, int); #endif |