* Enhanced tracing of ARM personality processes on AArch64.
* Enhanced 32/64bit personality detection on PowerPC.
* Robustified decoding of select, pselect, and io_submit syscalls.
- * Enhanced decoding of fcntl, setns, and sync_file_range syscalls.
+ * Enhanced decoding of delete_module, fcntl, setdomainname, sethostname,
+ setns, and sync_file_range syscalls.
* Enhanced decoding of signal bitmasks.
* Enhanced decoding of file descriptors.
* Enhanced siginfo_t decoding.
#include "xlat/qm_which.h"
#include "xlat/modflags.h"
+#include "xlat/delete_module_flags.h"
int
sys_query_module(struct tcb *tcp)
return RVAL_HEX;
}
+int
+sys_delete_module(struct tcb *tcp)
+{
+ if (entering(tcp)) {
+ printstr(tcp, tcp->u_arg[0], -1);
+ tprints(", ");
+ printflags(delete_module_flags, tcp->u_arg[1], "O_???");
+ }
+ return 0;
+}
+
int
sys_init_module(struct tcb *tcp)
{
return decode_open(tcp, 0);
}
-int sys_delete_module(struct tcb *tcp)
-{
- decode_open(tcp, 0);
- return RVAL_DECIMAL;
-}
-
int
sys_openat(struct tcb *tcp)
{