strace: Add FlagsTypeHandler for the mutex option flags.

So that MUTEX_SHARED etc. are displayed in strace output.
Also fix indentation, and the name of the "toFlags" parameter
in syscall definitions.
This commit is contained in:
Augustin Cavalier
2024-09-16 15:36:12 -04:00
parent e1d0a30ed4
commit 2eb83002c5
2 changed files with 55 additions and 30 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ extern status_t _kern_mutex_lock(int32* mutex, const char* name,
uint32 flags, bigtime_t timeout);
extern status_t _kern_mutex_unblock(int32* mutex, uint32 flags);
extern status_t _kern_mutex_switch_lock(int32* fromMutex, uint32 fromFlags,
int32* toMutex, const char* name, uint32 toflags,
int32* toMutex, const char* name, uint32 toFlags,
bigtime_t timeout);
extern status_t _kern_mutex_sem_acquire(int32* sem, const char* name,
uint32 flags, bigtime_t timeout);