Date: Tue, 3 Oct 2006 06:17:53 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 107144 for review Message-ID: <200610030617.k936HrKt011105@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=107144 Change 107144 by rdivacky@rdivacky_witten on 2006/10/03 06:17:44 Implement CLONE_FS - untested. Affected files ... .. //depot/projects/linuxolator/src/sys/i386/linux/linux_machdep.c#5 edit Differences ... ==== //depot/projects/linuxolator/src/sys/i386/linux/linux_machdep.c#5 (text+ko) ==== @@ -375,7 +375,13 @@ ff |= RFMEM; if (args->flags & CLONE_SIGHAND) ff |= RFSIGSHARE; - if (!(args->flags & CLONE_FILES)) + /* + * XXX: in linux sharing of fs info (chroot/cwd/umask) + * and open files is independant. in fbsd its in one + * structure but in reality it doesnt make any problems + * because both this flags are set at once usually. + */ + if (!(args->flags & (CLONE_FILES | CLONE_FS))) ff |= RFFDG; /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610030617.k936HrKt011105>