Go to file
Denys Vlasenko 7270de551c ARM: make it one-personality arch
ARM in fact _is_ one personality.

We had two personalities for it because it has a handful of
syscalls with huge scnos (0x000f00xx).

Extending syscall table to have [0x000f0005] index is of course
not a good idea.

Someone decided to handle that by having a separate personality
just for these syscalls.

But multi-personality arch does a bit more work in other parts.

This patch is another alternative: "move" 0x000f00nn syscalls
down to the entries just above last ordinary syscall,
by manipulating scno if it falls into the 0x000f00xx range.

In order to not worsen genuine undefined scnos' printing,
the code remaps scno back to actual value before printing
"syscall_NNN" string.

* defs.h: Remove multi-reprsonality defines from ARM.
* syscall.c (shuffle_scno): New function.
(undefined_scno_name): New function.
(get_scno): [ARM] Replace personality setting with scno shuffling.
(trace_syscall_entering): Print unknown syscall name using
undefined_scno_name().
(trace_syscall_exiting): Likewise.
* linux/arm/syscallent.h: Add ARM specific syscalls at the end.
* linux/arm/errnoent1.h: Deleted.
* linux/arm/ioctlent1.h: Deleted.
* linux/arm/signalent1.h: Deleted.
* linux/arm/syscallent1.h: Deleted.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2013-02-21 15:46:34 +01:00
debian Prepare for 4.7 release 2012-05-02 12:34:56 +00:00
linux ARM: make it one-personality arch 2013-02-21 15:46:34 +01:00
m4 Implement prlimit64 decoding, rewrite [gs]etrlimit decoding 2012-03-16 19:05:21 +00:00
qemu_multiarch_testing Slight tweak to qemu_multiarch_testing scripts 2012-03-21 11:32:55 +01:00
test Clean up mmap decoding 2013-02-19 11:54:36 +01:00
tests tests: raise strace check timeout to 60 seconds 2012-05-01 21:32:09 +00:00
.gitignore linux/ioctlent: unify them all 2011-03-14 15:32:38 +00:00
.mailmap Remove duplicate names from CREDITS 2012-05-01 21:51:38 +00:00
AUTHORS 2002-12-22 Roland McGrath <roland@redhat.com> 2002-12-30 00:51:30 +00:00
bjm.c Stop using non-standard %Zu and %Zd formats for size_t printing 2012-05-16 12:20:17 +02:00
block.c Stop using %h[h]u format specifiers 2012-04-16 18:16:13 +02:00
ChangeLog-CVS Generate ChangeLog from git log 2009-07-08 21:01:21 +00:00
configure.ac Add support for the OpenRISC 1000 platform 2013-02-14 13:38:27 +01:00
COPYRIGHT Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
count.c Mass rename of SCNO_IN_RANGE define to SCNO_IS_VALID 2013-02-16 13:22:38 +01:00
CREDITS.in Remove duplicate names from CREDITS 2012-05-01 21:51:38 +00:00
defs.h ARM: make it one-personality arch 2013-02-21 15:46:34 +01:00
desc.c Remove code which supports systems with long long off_t. 2013-02-18 15:47:57 +01:00
errnoent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
file.c Remove code which supports systems with long long off_t. 2013-02-18 15:47:57 +01:00
git-set-file-times * git-set-file-times: Import from rsync. 2009-10-09 23:07:28 +00:00
gitlog-to-changelog gitlog-to-changelog: update from gnulib 2011-11-05 13:32:27 +00:00
HACKING-scripts HACKING-scripts: new doc file by Mike Frysinger 2009-02-23 07:56:01 +00:00
INSTALL Remove and update documentation 2012-02-25 15:29:21 +01:00
io.c Remove code which supports systems with long long off_t. 2013-02-18 15:47:57 +01:00
ioctl.c Decode /dev/loop ioctls 2012-04-18 15:27:25 +00:00
ioctlsort.c Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
ipc.c Fix sys_semtimedop decoding on s390x 2012-12-15 14:13:05 +00:00
loop.c Use %d printf format instead of %i everywhere 2012-05-16 12:29:09 +02:00
make-dist Generate an xz tar archive of the distribution 2011-02-27 14:05:58 +00:00
Makefile.am Filter out redundant "*32" ioctl entries 2012-10-27 01:13:53 +00:00
mem.c Clean up mmap decoding 2013-02-19 11:54:36 +01:00
mtd.c Use %d printf format instead of %i everywhere 2012-05-16 12:29:09 +02:00
net.c Handle recv[m]msg for non-native 32-bit personality syscalls 2013-02-12 11:57:48 +01:00
NEWS maint: post-release administrivia 2012-05-02 23:00:34 +00:00
pathtrace.c Clean up mmap decoding 2013-02-19 11:54:36 +01:00
process.c Add support for the OpenRISC 1000 platform 2013-02-14 13:38:27 +01:00
quota.c Enhance quotactl decoding 2012-10-26 23:43:13 +00:00
README Remove and update documentation 2012-02-25 15:29:21 +01:00
README-hacking doc: describe documentation policy 2012-05-03 01:44:49 +00:00
README-linux Cleanup trailing whitespaces and indentation that uses spaces before tabs 2009-07-08 14:57:27 +00:00
README-linux-ptrace README-linux-ptrace: correct the description of suppressed signals 2012-02-09 19:57:52 +01:00
resource.c Macroize conditional signed widening operation 2013-02-15 14:58:52 +01:00
scsi.c Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
signal.c Finish prefixing regs struct names with arch_ 2013-02-16 08:23:40 +01:00
signalent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
sock.c Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
strace-graph Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
strace-log-merge strace-log-merge: fix file suffix calculation 2012-03-26 12:10:01 +00:00
strace.1 Add -e trace=memory option 2012-10-26 22:45:08 +00:00
strace.c Fix NOMMU + daemonized tracer SEGV 2013-02-19 16:30:31 +01:00
strace.spec Prepare for 4.7 release 2012-05-02 12:34:56 +00:00
stream.c Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
syscall.c ARM: make it one-personality arch 2013-02-21 15:46:34 +01:00
syscallent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
system.c Add support for the OpenRISC 1000 platform 2013-02-14 13:38:27 +01:00
term.c Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
time.c Update STA_* constants 2012-05-01 21:17:51 +00:00
util.c Fix compiler warnings 2013-02-19 17:39:56 +01:00
vsprintf.c * vsprintf.c: Check for USE_CUSTOM_PRINTF earlier. 2012-05-01 22:49:49 +00:00
xlate.el Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00

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 COPYRIGHT 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.