git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AcessNative - Fixed missing header (typo)
[tpg/acess2.git]
/
AcessNative
/
syscalls.h
diff --git
a/AcessNative/syscalls.h
b/AcessNative/syscalls.h
index
0adb51f
..
e6dbd28
100644
(file)
--- a/
AcessNative/syscalls.h
+++ b/
AcessNative/syscalls.h
@@
-14,11
+14,16
@@
* uint8_t paramData[SUM(params[].Lengh)];
*/
* uint8_t paramData[SUM(params[].Lengh)];
*/
+typedef struct {
+ uint32_t pid;
+ uint32_t key;
+} tRequestAuthHdr;
+
typedef struct sRequestValue {
/// \see eArgumentTypes
uint16_t Type;
uint16_t Flags;
typedef struct sRequestValue {
/// \see eArgumentTypes
uint16_t Type;
uint16_t Flags;
- uint
16
_t Length;
+ uint
32
_t Length;
} tRequestValue;
typedef struct sRequestHeader {
} tRequestValue;
typedef struct sRequestHeader {
@@
-52,13
+57,19
@@
enum eSyscalls {
SYS_WAITTID,
SYS_SETUID,
SYS_SETGID,
SYS_WAITTID,
SYS_SETUID,
SYS_SETGID,
-
+
+ SYS_GETTID,
+ SYS_GETPID,
+ SYS_GETUID,
+ SYS_GETGID,
+
// IPC
SYS_SLEEP,
SYS_AN_FORK,
SYS_SENDMSG,
SYS_GETMSG,
SYS_SELECT,
// IPC
SYS_SLEEP,
SYS_AN_FORK,
SYS_SENDMSG,
SYS_GETMSG,
SYS_SELECT,
+ SYS_WAITEVENT,
N_SYSCALLS
};
N_SYSCALLS
};
@@
-88,12
+99,18
@@
static const char * casSYSCALL_NAMES[] = {
"SYS_SETUID",
"SYS_SETGID",
"SYS_SETUID",
"SYS_SETGID",
+ "SYS_GETTID",
+ "SYS_GETPID",
+ "SYS_GETUID",
+ "SYS_GETGID",
+
// IPC
"SYS_SLEEP",
"SYS_AN_FORK",
"SYS_SENDMSG",
"SYS_GETMSG",
// IPC
"SYS_SLEEP",
"SYS_AN_FORK",
"SYS_SENDMSG",
"SYS_GETMSG",
- "SYS_SELECT"
+ "SYS_SELECT",
+ "SYS_WAITEVENT"
};
#endif
};
#endif
UCC
git Repository :: git.ucc.asn.au