Fix userspace clone by clobbering all variables on clone

This commit is contained in:
Jeremy Soller 2016-09-13 20:31:45 -06:00
commit dc87afd2ac

View file

@ -110,7 +110,7 @@ pub fn chdir(path: &str) -> Result<usize> {
}
pub unsafe fn clone(flags: usize) -> Result<usize> {
syscall1(SYS_CLONE, flags)
syscall1_clobber(SYS_CLONE, flags)
}
pub fn close(fd: usize) -> Result<usize> {