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
Usermode/GUI - Testing and Debugging RichText
[tpg/acess2.git]
/
AcessNative
/
syscalls.h
diff --git
a/AcessNative/syscalls.h
b/AcessNative/syscalls.h
index
158a6cc
..
21a9cb5
100644
(file)
--- a/
AcessNative/syscalls.h
+++ b/
AcessNative/syscalls.h
@@
-14,16
+14,22
@@
* 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 {
uint16_t ClientID;
uint16_t CallID; //!< \see eSyscalls
} tRequestValue;
typedef struct sRequestHeader {
uint16_t ClientID;
uint16_t CallID; //!< \see eSyscalls
+ uint32_t MessageLength;
uint16_t NParams;
tRequestValue Params[];
uint16_t NParams;
tRequestValue Params[];
@@
-47,14
+53,25
@@
enum eSyscalls {
SYS_GETACL,
SYS_MOUNT,
SYS_REOPEN,
SYS_GETACL,
SYS_MOUNT,
SYS_REOPEN,
+ SYS_CHDIR,
SYS_WAITTID,
SYS_SETUID,
SYS_SETGID,
SYS_WAITTID,
SYS_SETUID,
SYS_SETGID,
-
+
+ SYS_GETTID,
+ SYS_GETPID,
+ SYS_GETUID,
+ SYS_GETGID,
+
// IPC
SYS_SLEEP,
// IPC
SYS_SLEEP,
- SYS_FORK,
+ SYS_AN_FORK,
+ SYS_AN_SPAWN,
+ SYS_SENDMSG,
+ SYS_GETMSG,
+ SYS_SELECT,
+ SYS_WAITEVENT,
N_SYSCALLS
};
N_SYSCALLS
};
@@
-78,9
+95,24
@@
static const char * casSYSCALL_NAMES[] = {
"SYS_GETACL",
"SYS_MOUNT",
"SYS_REOPEN",
"SYS_GETACL",
"SYS_MOUNT",
"SYS_REOPEN",
+ "SYS_CHDIR",
+
+ "SYS_WAITTID",
+ "SYS_SETUID",
+ "SYS_SETGID",
+
+ "SYS_GETTID",
+ "SYS_GETPID",
+ "SYS_GETUID",
+ "SYS_GETGID",
// IPC
// IPC
- "SYS_SLEEP"
+ "SYS_SLEEP",
+ "SYS_AN_FORK",
+ "SYS_SENDMSG",
+ "SYS_GETMSG",
+ "SYS_SELECT",
+ "SYS_WAITEVENT"
};
#endif
};
#endif
UCC
git Repository :: git.ucc.asn.au