return RVAL_DECODED;
}
+#include "xlat/mlock_flags.h"
+
+SYS_FUNC(mlock2)
+{
+ printaddr(tcp->u_arg[0]);
+ tprintf(", %lu, ", tcp->u_arg[1]);
+ printflags(mlock_flags, tcp->u_arg[2], "MLOCK_???");
+
+ return RVAL_DECODED;
+}
+
SYS_FUNC(mincore)
{
if (entering(tcp)) {
return 0;
}
-#if defined(ALPHA) || defined(IA64) || defined(SPARC) || defined(SPARC64)
+#if defined ALPHA || defined IA64 || defined M68K \
+ || defined SPARC || defined SPARC64
SYS_FUNC(getpagesize)
{
- if (exiting(tcp))
- return RVAL_HEX;
- return 0;
+ return RVAL_DECODED | RVAL_HEX;
}
#endif