[PATCH v2 2/7] futex: Add handling of FUTEX_FD command

Eugene Syromyatnikov evgsyr at gmail.com
Mon Aug 29 20:57:38 UTC 2016


Since FUTEX_FD is known (and most likely reserved for the future use), albeit
obsolete, it has some expected argument format, so it's probably wise to
employ it.

* futex.c (SYS_FUNC(futex)): add handling of FUTEX_FD command.
---
 futex.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/futex.c b/futex.c
index 9268216..44b90e0 100644
--- a/futex.c
+++ b/futex.c
@@ -101,6 +101,7 @@ SYS_FUNC(futex)
 		tprints(", ");
 		printaddr(uaddr2);
 		break;
+	case FUTEX_FD:
 	case FUTEX_WAKE:
 	case FUTEX_UNLOCK_PI:
 	case FUTEX_TRYLOCK_PI:
-- 
1.7.10.4





More information about the Strace-devel mailing list