Bug 438542

Summary: bits/sched.h is missing new clone() flags for containter based virt
Product: [Fedora] Fedora Reporter: Daniel BerrangĂ© <berrange>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: drepper
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-04-04 22:39:40 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:

Description Daniel Berrangé 2008-03-21 16:16:57 UTC
Description of problem:
The bits/sched.h file defines the set of flags for the clone() system call. It
does not yet have the definitions for new flags introduced for container based
virtualization in 2.6.25 kernel clone() system call.

The following flags are present in linux/sched.h, but not bits/sched.h:

#define CLONE_NEWUTS            0x04000000      /* New utsname group? */
#define CLONE_NEWIPC            0x08000000      /* New ipcs */
#define CLONE_NEWUSER           0x10000000      /* New user namespace */
#define CLONE_NEWPID            0x20000000      /* New pid namespace */
#define CLONE_NEWNET            0x40000000      /* New network namespace */


Version-Release number of selected component (if applicable):
glibc-headers-2.7.90-9.i386

How reproducible:


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


Expected results:


Additional info:

Comment 1 Ulrich Drepper 2008-03-24 16:04:01 UTC
Changed upstream.

Comment 2 Jakub Jelinek 2008-04-04 22:39:40 UTC
Should be in glibc-2.7.90-12 and above.