diff options
author | dzwdz | 2022-08-04 23:06:57 +0200 |
---|---|---|
committer | dzwdz | 2022-08-04 23:06:57 +0200 |
commit | ce00d1677d7a419b427e7f11963eee982a55a231 (patch) | |
tree | 2662c3861226f6909b83d57ff8b6ac3b2ba5ec8d /src/shared | |
parent | 26dc784103914b9d6ba36e0a96fa4b3af977626f (diff) |
do some simple TODOs, organize the rest; general code maintainance
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/include/camellia/execbuf.h | 2 | ||||
-rw-r--r-- | src/shared/include/camellia/path.h | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/shared/include/camellia/execbuf.h b/src/shared/include/camellia/execbuf.h index 9741f66..de7ae3b 100644 --- a/src/shared/include/camellia/execbuf.h +++ b/src/shared/include/camellia/execbuf.h @@ -1,6 +1,8 @@ #pragma once /* the instruction format is bound to change, atm it's extremely inefficient */ +#define EXECBUF_MAX_LEN 4096 + /* takes 6 arguments */ #define EXECBUF_SYSCALL 0xF0000001 /* takes 1 argument, changes %rip */ diff --git a/src/shared/include/camellia/path.h b/src/shared/include/camellia/path.h new file mode 100644 index 0000000..ba6bccf --- /dev/null +++ b/src/shared/include/camellia/path.h @@ -0,0 +1,3 @@ +#pragma once + +#define PATH_MAX 512 |