public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/19905] New: preadv2/pwritev2 missing from syscall tapset
@ 2016-04-04 14:08 dsmith at redhat dot com
  2016-04-04 14:12 ` [Bug tapsets/19905] " dsmith at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: dsmith at redhat dot com @ 2016-04-04 14:08 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=19905

            Bug ID: 19905
           Summary: preadv2/pwritev2 missing from syscall tapset
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
  Target Milestone: ---

The preadv2/pwritev2 syscalls were added in kernel 4.6-rc1 by the following
kernel commit:

====
commit f17d8b35452cab31a70d224964cd583fb2845449
Author: Milosz Tanski <milosz@adfin.com>
Date:   Thu Mar 3 16:03:59 2016 +0100

    vfs: vfs: Define new syscalls preadv2,pwritev2

    New syscalls that take an flag argument.   No flags are added yet in this
    patch.
====

Support for these syscalls should be added to the syscall tapset.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug tapsets/19905] preadv2/pwritev2 missing from syscall tapset
  2016-04-04 14:08 [Bug tapsets/19905] New: preadv2/pwritev2 missing from syscall tapset dsmith at redhat dot com
@ 2016-04-04 14:12 ` dsmith at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: dsmith at redhat dot com @ 2016-04-04 14:12 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=19905

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|systemtap at sourceware dot org    |dsmith at redhat dot com

--- Comment #1 from David Smith <dsmith at redhat dot com> ---
While working on this one, I've discovered a kernel bug - the syscalls were
wired up incorrectly in the x86_64 syscall table. In compat mode, the syscalls
are still wired up to sys_preadv2/sys_pwritev2 instead of
compat_sys_preadv2/compat_sys_pwritev2.

I've sent email to Christoph Hellwig, the author of the patch that added the
syscalls to the x86_64 syscall table. He's agreed that it doesn't look right,
and we're working through the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-04 14:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-04 14:08 [Bug tapsets/19905] New: preadv2/pwritev2 missing from syscall tapset dsmith at redhat dot com
2016-04-04 14:12 ` [Bug tapsets/19905] " dsmith at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).