diff options
author | midipix <writeonce@midipix.org> | 2022-09-26 14:43:49 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2022-09-26 14:46:59 +0000 |
commit | 8ec5cef55b0a328992210b42f1186a1402b21169 (patch) | |
tree | fbe34803ffe44e085aed1988ea7da1657c370455 /include | |
parent | 2a8fd516dd14e7676e5a2a57a6db10bf1407988f (diff) | |
download | ntux-8ec5cef55b0a328992210b42f1186a1402b21169.tar.bz2 ntux-8ec5cef55b0a328992210b42f1186a1402b21169.tar.xz |
ntux_cmd_fspath(): initial implementation and driver integration.
Diffstat (limited to 'include')
-rw-r--r-- | include/ntux/ntux.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/ntux/ntux.h b/include/ntux/ntux.h index 3bd5d83..c7b0078 100644 --- a/include/ntux/ntux.h +++ b/include/ntux/ntux.h @@ -41,6 +41,11 @@ extern "C" { #define NTUX_DRIVER_DUMP 0x1000 +#define NTUX_DRIVER_RPATH 0X10000 +#define NTUX_DRIVER_APATH 0X20000 +#define NTUX_DRIVER_NPATH 0X40000 +#define NTUX_DRIVER_DPATH 0X80000 + #define NTUX_DRIVER_ANNOTATE_ALWAYS 0x10000000 #define NTUX_DRIVER_ANNOTATE_NEVER 0x20000000 #define NTUX_DRIVER_ANNOTATE_FULL 0x40000000 @@ -66,6 +71,7 @@ enum ntux_cmd { NTUX_CMD_STRACE, NTUX_CMD_CHMOD, NTUX_CMD_ACEIT, + NTUX_CMD_FSPATH, NTUX_CMD_CAP, }; @@ -143,6 +149,7 @@ ntux_api int ntux_set_driver_fdctx (struct ntux_driver_ctx *, const struct /* cmd api */ ntux_api int ntux_cmd_aceit (const struct ntux_driver_ctx *, const char *); ntux_api int ntux_cmd_chmod (const struct ntux_driver_ctx *, const char *); +ntux_api int ntux_cmd_fspath (const struct ntux_driver_ctx *, const char *); ntux_api int ntux_cmd_stat (const struct ntux_driver_ctx *, const char *); ntux_api int ntux_cmd_spawn (const struct ntux_driver_ctx *); ntux_api int ntux_cmd_strace (const struct ntux_driver_ctx *); |