Bug 438542 - bits/sched.h is missing new clone() flags for containter based virt
Summary: bits/sched.h is missing new clone() flags for containter based virt
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-21 16:16 UTC by Daniel Berrangé
Modified: 2008-04-04 22:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-04 22:39:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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