summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2022-08-02 10:56:26 +0000
committermidipix <writeonce@midipix.org>2022-09-11 21:04:58 +0000
commitdcb685978a211909b6bdadbfa62b2acfa40cd0ee (patch)
tree44464d5fdf5db4ff15a025013d85ff4d5128e1a4 /include
parent14ffaef5aa4195c598e343a9f9453c1abc21fb12 (diff)
downloadntux-dcb685978a211909b6bdadbfa62b2acfa40cd0ee.tar.bz2
ntux-dcb685978a211909b6bdadbfa62b2acfa40cd0ee.tar.xz
ntux_cmd_aceit(): initial implementation and driver integration.
Diffstat (limited to 'include')
-rw-r--r--include/ntux/ntux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ntux/ntux.h b/include/ntux/ntux.h
index 817b5c8..3bd5d83 100644
--- a/include/ntux/ntux.h
+++ b/include/ntux/ntux.h
@@ -39,6 +39,8 @@ extern "C" {
#define NTUX_DRIVER_ROOTED 0x0400
#define NTUX_DRIVER_ROOTLESS 0x0800
+#define NTUX_DRIVER_DUMP 0x1000
+
#define NTUX_DRIVER_ANNOTATE_ALWAYS 0x10000000
#define NTUX_DRIVER_ANNOTATE_NEVER 0x20000000
#define NTUX_DRIVER_ANNOTATE_FULL 0x40000000
@@ -63,6 +65,7 @@ enum ntux_cmd {
NTUX_CMD_SPAWN,
NTUX_CMD_STRACE,
NTUX_CMD_CHMOD,
+ NTUX_CMD_ACEIT,
NTUX_CMD_CAP,
};
@@ -138,6 +141,7 @@ ntux_api int ntux_get_driver_fdctx (const struct ntux_driver_ctx *, struct
ntux_api int ntux_set_driver_fdctx (struct ntux_driver_ctx *, const struct ntux_fd_ctx *);
/* 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_stat (const struct ntux_driver_ctx *, const char *);
ntux_api int ntux_cmd_spawn (const struct ntux_driver_ctx *);