ALT Linux repos
Group :: Development/Debuggers
RPM: strace
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: strace-4.5.12-alt-mount.patch
Download
Download
--- strace-4.5.12/system.c.orig 2005-06-01 23:22:06 +0400
+++ strace-4.5.12/system.c 2005-07-16 18:33:42 +0400
@@ -53,6 +53,7 @@
#define MS_POSIXACL (1<<16) /* VFS does not apply the umask */
#define MS_ACTIVE (1<<30)
#define MS_NOUSER (1<<31)
+#define MS_MGC_VAL 0xc0ed0000 /* Magic flag number */
#include <sys/socket.h>
#include <netinet/in.h>
@@ -79,6 +80,7 @@
#include <linux/sysctl.h>
static const struct xlat mount_flags[] = {
+ { MS_MGC_VAL, "MS_MGC_VAL" },
{ MS_RDONLY, "MS_RDONLY" },
{ MS_NOSUID, "MS_NOSUID" },
{ MS_NODEV, "MS_NODEV" },
@@ -113,7 +115,8 @@ struct tcb *tcp;
tprintf("%#lx", tcp->u_arg[2]);
tprintf(", ");
printflags(mount_flags, tcp->u_arg[3], "MS_???");
- tprintf(", %#lx", tcp->u_arg[4]);
+ tprintf(", ");
+ printstr(tcp, tcp->u_arg[4], -1);
}
return 0;
}