Bug 191275

Summary: Need sys_unshare support.
Product: [Fedora] Fedora Reporter: Russell Coker <russell>
Component: straceAssignee: Roland McGrath <roland>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: ldv
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.5.15-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-17 03:05:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 178633    
Bug Blocks:    
Attachments:
Description Flags
patch to fix this bug none

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.