From 8ec5cef55b0a328992210b42f1186a1402b21169 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 26 Sep 2022 14:43:49 +0000 Subject: ntux_cmd_fspath(): initial implementation and driver integration. --- include/ntux/ntux.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/ntux') 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 *); -- cgit v1.2.3