Bug 191275 - Need sys_unshare support.
Summary: Need sys_unshare support.
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: 178633
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-05-10 13:12 UTC by Russell Coker
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:05:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to fix this bug (2.24 KB, patch)
2006-05-10 13:12 UTC, Russell Coker
no flags Details | Diff

Description Russell Coker 2006-05-10 13:12:42 UTC
Description of problem:
I've attached a patch, but it doesn't try to do anything for architectures 
other than i386.  I only have i386 to test and am hesitant to change code that 
I don't understand well and can't test.

Comment 1 Russell Coker 2006-05-10 13:12:42 UTC
Created attachment 128848 [details]
patch to fix this bug

Comment 2 Russell Coker 2006-05-10 13:15:33 UTC
I just realised that my patch has TN for the type when it should be TP for 
process instead.

Comment 3 Dmitry V. Levin 2006-09-01 14:51:12 UTC
The patch I found in attachment #128848 [details] is not OK:
- The change to linux/syscallent.h and linux/syscall.h just replaces sys_recv
with sys_unshare; I do not understand why sys_recv is no longer needed.
- The change to process.c defines struct xlat unshare_flags in a strange way I
also do not understand.

Comment 4 Russell Coker 2006-09-02 00:26:35 UTC
The change to syscall.h is probably a bad idea in retrospect, it should merely 
add sys_unshare() and not remove sys_recv().

I believe that the rest is good for i386.

Comment 5 Dmitry V. Levin 2006-09-02 12:53:45 UTC
Please try the patch I submitted to #178633.

Comment 6 Dmitry V. Levin 2006-12-06 00:16:09 UTC
Fixed upstream.

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

Comment 8 Roland McGrath 2007-01-17 03:05:07 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.