Bug 178633 - hook up new syscalls in 2.6.16 kernel
Summary: hook up new syscalls in 2.6.16 kernel
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: strace
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Roland McGrath
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: 191275
TreeView+ depends on / blocked
 
Reported: 2006-01-22 20:23 UTC by Ulrich Drepper
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version: 4.5.15-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-17 03:04:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to add support for new syscalls (x86, x86-64) (22.21 KB, patch)
2006-01-22 20:23 UTC, Ulrich Drepper
no flags Details | Diff
strace-4.5.14-alt-syscalls.patch (51.41 KB, patch)
2006-09-02 12:50 UTC, Dmitry V. Levin
no flags Details | Diff
strace-4.5.14-alt-syscalls-20060904.patch (51.45 KB, patch)
2006-09-05 13:31 UTC, Dmitry V. Levin
no flags Details | Diff

Description Ulrich Drepper 2006-01-22 20:23:45 UTC
Description of problem:
The 2.6.16 kernel will contain a whole bunch of new syscalls.

Version-Release number of selected component (if applicable):
4.5.14

How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Here's the changelog for the patches.

2006-01-22  Ulrich Drepper  <drepper>

	* defs.h: Declare sprintsigmask.
	* desc.c (sys_pselect): New function.
	* file.c (sys_openat, sys_faccessat, sys_newfstatat, sys_mkdirat,
	sys_linkat, sys_unlinkat, sys_symlinkat, sys_readlinkat, sys_renameat,
	sys_fchownat, sys_fchmodat, sys_futimesat, sys_mknodat): New functions.
	* linux/syscallent.h: Hook up new syscalls.
	* linux/x86_64/syscallent.h: Likewise.
	* linux/syscall.h: Delcare new syscall handlers.  Add #defines for
	those new syscalls which are not yet handled.
	Whitespace fixup.  Renumber IPC and socket subcalls.
	* signal.c: Export sprintsigmask.

Comment 1 Ulrich Drepper 2006-01-22 20:23:45 UTC
Created attachment 123547 [details]
patch to add support for new syscalls (x86, x86-64)

Comment 2 Dmitry V. Levin 2006-03-30 00:41:56 UTC
Similar patch was submitted to strace-devel@ recently, see
https://sourceforge.net/mailarchive/forum.php?thread_id=10061791&forum_id=3912

Patch submitted by Ulrich is slightly better, but each of them has advantages
and drawbacks.
So I'd like to see these two patches merged.

Comment 3 Dmitry V. Levin 2006-09-02 12:50:51 UTC
Created attachment 135427 [details]
strace-4.5.14-alt-syscalls.patch

My attempt to merge work made by Ulrich and Bernhard.
Patch for snapshot 20060822.
Needs additional testing.

Comment 4 Dmitry V. Levin 2006-09-05 13:31:02 UTC
Created attachment 135556 [details]
strace-4.5.14-alt-syscalls-20060904.patch

Updated linkat and fstatat64 descriptions in syscallent.h files, based on
feedback from Michael Holzheu.

Comment 5 Dmitry V. Levin 2006-11-26 11:44:02 UTC
Fixed upstream.

Comment 6 Roland McGrath 2007-01-11 11:14:14 UTC
these bugs are fixed upstream in the coming 4.5.15 release

Comment 7 Roland McGrath 2007-01-17 03:04:53 UTC
4.5.15 in rawhide and in updates for fc5 and fc6 fixes this.


Note You need to log in before you can comment on or make changes to this bug.