comparison toys/unshare.c @ 533:31215cc6c9f2

Consolidate headers.
author Rob Landley <rob@landley.net>
date Wed, 07 Mar 2012 19:04:50 -0600
parents 8b0487639db9
children f70187762108
comparison
equal deleted inserted replaced
532:d44eb064da41 533:31215cc6c9f2
25 -n Network address, sockets, routing, iptables 25 -n Network address, sockets, routing, iptables
26 */ 26 */
27 27
28 #include "toys.h" 28 #include "toys.h"
29 29
30 #include <sched.h>
31
32 void unshare_main(void) 30 void unshare_main(void)
33 { 31 {
34 unsigned flags[]={CLONE_NEWNS, CLONE_NEWUTS, CLONE_NEWIPC, CLONE_NEWNET,0}; 32 unsigned flags[]={CLONE_NEWNS, CLONE_NEWUTS, CLONE_NEWIPC, CLONE_NEWNET,0};
35 unsigned f=0; 33 unsigned f=0;
36 int i; 34 int i;