Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37904180
en ru br
ALT Linux repos
S:6.5-alt1
5.0: 4.5.18-alt4
4.1: 4.5.16-alt5
4.0: 4.5.16-alt4
3.0: 4.5.12-alt3
+updates:4.5.13-alt2

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


--- 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;
 }
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin