mirror of
https://github.com/drasko/codezero.git
synced 2026-03-06 20:43:14 +01:00
Towards finishing off clone()
Few minor changes in clone() syscall
This commit is contained in:
17
tasks/mm0/include/clone.h
Normal file
17
tasks/mm0/include/clone.h
Normal 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__ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user