From 9c0c0b360071793e921c1b2df40148f36d99660f Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 19 May 2015 23:25:03 +0100 Subject: [PATCH] syscalls.h: add uadmin defines --- Library/include/syscalls.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Library/include/syscalls.h b/Library/include/syscalls.h index d7a041b9..292f919a 100644 --- a/Library/include/syscalls.h +++ b/Library/include/syscalls.h @@ -73,6 +73,19 @@ struct hd_geometry { #define HDIO_GETGEO 0x0101 #define HDIO_GET_IDENTITY 0x0102 /* Not yet implemented anywhere */ +/* uadmin */ + +#define A_SHUTDOWN 1 +#define A_REBOOT 2 +#define A_DUMP 3 +#define A_FREEZE 4 /* Unimplemented, want for NC100 */ +#define A_SWAPCTL 16 /* Unimplemented */ +#define A_CONFIG 17 /* Unimplemented */ +#define A_FTRACE 18 /* Unimplemented: + Hook to the syscall trace debug */ + +#define AD_NOSYNC 1 /* Unimplemented */ + struct times; struct tms; struct utimbuf; -- 2.34.1