From: jgunthorpe@obsidianresearch.com (Jason Gunthorpe) Date: Wed, 18 Sep 2013 15:09:11 -0600 Subject: [PATCH] ARM: entry: fix tracing of ARM-private syscalls In-Reply-To: <1379520765-20778-1-git-send-email-will.deacon@arm.com> References: <1379520765-20778-1-git-send-email-will.deacon@arm.com> Message-ID: <20130918210911.GB11181@obsidianresearch.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Sep 18, 2013 at 05:12:45PM +0100, Will Deacon wrote: > Commit 377747c40657 ("ARM: entry: allow ARM-private syscalls to be > restarted") reworked the low-level syscall dispatcher to allow > restarting of ARM-private syscalls. Unfortunately, this relocated the > label used to dispatch a private syscall from the trace path, so that > the invocation would be bypassed altogether! > > This causes applications to fail under strace as soon as they rely on > a private syscall (e.g. set_tls): > > set_tls(0xb6fad4c0, 0xb6fadb98, 0xb6fb1050, 0xb6fad4c0, 0xb6fb1050) > = -1 ENOSYS (Function not implemented) > > This patch fixes the label so that we correctly dispatch private > syscalls from the trace path. > > Reported-by: Jason Gunthorpe > Signed-off-by: Will Deacon Worked here Tested-by: Jason Gunthorpe This should probably go into the 3.11 stable series too? Jason