Towards finishing off clone()

Few minor changes in clone() syscall
This commit is contained in:
Bahadir Balban
2008-11-10 11:22:38 +02:00
parent b874062dd7
commit 2c15d09797
3 changed files with 64 additions and 19 deletions

17
tasks/mm0/include/clone.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef __CLONE_H__
#define __CLONE_H__
/* Linux clone() system call flags */
#define CLONE_VM 0x100
#define CLONE_FS 0x200
#define CLONE_FILES 0x400
#define CLONE_SIGHAND 0x800
#define CLONE_VFORK 0x4000
#define CLONE_PARENT 0x8000
#define CLONE_THREAD 0x10000
#define CLONE_NEWNS 0x20000
#define CLONE_STOPPED 0x2000000
#endif /* __CLONE_H__ */