diff options
author | dchagin <dchagin@FreeBSD.org> | 2011-01-28 18:47:07 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2011-01-28 18:47:07 +0000 |
commit | 051ceeb5f3c8cf51e869949c05b1bba132d25804 (patch) | |
tree | 481deadfab18548058f8b5da6648a71e1f2eb473 /sys/compat/linux/linux_misc.h | |
parent | cc6bdf663542811773e9cfd95af15b63ef575c5f (diff) | |
download | FreeBSD-src-051ceeb5f3c8cf51e869949c05b1bba132d25804.zip FreeBSD-src-051ceeb5f3c8cf51e869949c05b1bba132d25804.tar.gz |
Implement a variation of the linux_common_wait() which should
be used by linuxolator itself.
Move linux_wait4() to MD path as it requires native struct
rusage translation to struct l_rusage on linux32/amd64.
MFC after: 1 Month.
Diffstat (limited to 'sys/compat/linux/linux_misc.h')
-rw-r--r-- | sys/compat/linux/linux_misc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_misc.h b/sys/compat/linux/linux_misc.h index 5d4afc2..c7ac5ac 100644 --- a/sys/compat/linux/linux_misc.h +++ b/sys/compat/linux/linux_misc.h @@ -67,4 +67,9 @@ extern const char *linux_platform; extern int stclohz; +#define __WCLONE 0x80000000 + +int linux_common_wait(struct thread *td, int pid, int *status, + int options, struct rusage *ru); + #endif /* _LINUX_MISC_H_ */ |