diff options
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 |