22e34b98578b8fab6be7fb608579e4fc601b2ed0
On Android, 32-bit arm and x86 use __kernel_mode_t (an unsigned short) as their mode_t. The open(2) flags are actually an int, so high ones like O_CLOEXEC get truncated if you coerce them to mode_t. * defs.h (tprint_open_modes, sprint_open_modes): Change argument type from mode_t to int. * file.c (tprint_open_modes, sprint_open_modes): Likewise. Signed-off-by: Elliott Hughes <enh@google.com> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
This is strace, a system call tracer for Linux. strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details. See the file CREDITS for a list of authors and other contributors. See the file INSTALL for compilation and installation instructions. See the file NEWS for information on what has changed in recent versions. You can get the latest version of strace from its homepage at http://sourceforge.net/projects/strace/ . Please send bug reports and enhancements to the strace mailinglist at strace-devel@lists.sourceforge.net.
Description
Languages
C
92.2%
Shell
3.4%
M4
1.4%
Makefile
0.8%
Roff
0.7%
Other
1.5%