Date: Thu, 21 Jun 2007 16:21:06 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 122099 for review Message-ID: <200706211621.l5LGL6vu015383@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=122099 Change 122099 by gabor@gabor_server on 2007/06/21 16:20:08 Add hooks for subsections. Affected files ... .. //depot/projects/soc2006/gabor_destdir/Mk/bsd.port.mk#19 edit .. //depot/user/gabor/doc/linux-emulation/article.sgml#10 edit Differences ... ==== //depot/projects/soc2006/gabor_destdir/Mk/bsd.port.mk#19 (text+ko) ==== @@ -1093,10 +1093,13 @@ # DESTDIR section to start a chrooted process if incoked with DESTDIR set # -.if defined(DESTDIR) && !empty(DESTDIR) && !defined(CHROOTED) +DESTDIR_LOCKFILE?= /var/tmp/destdir.lock + +.if defined(DESTDIR) && !empty(DESTDIR) && !exists(${DESTDIR_LOCKFILE}) _TARGET:= ${.TARGET} .BEGIN: ${ECHO_CMD} "===> Starting chrooted make in ${DESTDIR}..."; \ + ${TOUCH} ${DESTDIR}${DESTDIR_LOCKFILE} ${CHROOT} ${DESTDIR} ${SH} -c "(cd ${.CURDIR}; ${MAKE} CHROOTED=YES ${_TARGET})" .else ==== //depot/user/gabor/doc/linux-emulation/article.sgml#10 (text+ko) ==== @@ -17,7 +17,7 @@ <surname>Divacky</surname> <affiliation> - <address><email>rdivacky@&os;.org</email></address> + <address><email>rdivacky@FreeBSD.org</email></address> </affiliation> </author> @@ -1155,7 +1155,7 @@ linuxulator. This part covers i386 and ELF handling only. A.out is obsolete and untested. </para> - <sect2> + <sect2 id="syscall-handling"> <title>Syscall handling</title> <para> @@ -1164,7 +1164,7 @@ the general syscall routine calls linux prepsyscall routine for the &linux; ABI. </para> - <sect3> + <sect3 id="linux-prepsyscall"> <title>&linux; prepsyscall</title> <para> @@ -1178,7 +1178,7 @@ </sect3> - <sect3> + <sect3 id="syscall-writing"> <title>Syscall writing</title> <para> @@ -1248,7 +1248,7 @@ </sect3> - <sect3> + <sect3 id="dummy-syscalls"> <title>Dummy syscalls</title> <para> @@ -1264,7 +1264,7 @@ </sect2> - <sect2> + <sect2 id="signal-handling"> <title>Signal handling</title> <para> @@ -1273,7 +1273,7 @@ for this purpose. </para> - <sect3> + <sect3 id="linux-sendsig"> <title>&linux; sendsig</title> <para> @@ -1288,7 +1288,7 @@ </sect3> - <sect3> + <sect3 id="linux-rt-sendsig"> <title>&linux; rt sendsig</title> <para> @@ -1300,7 +1300,7 @@ </sect3> - <sect3> + <sect3 id="linux-sigreturn"> <title>&linux; sigreturn</title> <para> @@ -1312,7 +1312,7 @@ </sect2> - <sect2> + <sect2 id="ptrace"> <title>Ptrace</title> <para> @@ -1343,7 +1343,7 @@ </sect2> - <sect2> + <sect2 id="traps"> <title>Traps</title> <para> @@ -1376,7 +1376,7 @@ </sect2> - <sect2> + <sect2 id="stack-fixup"> <title>Stack fixup</title> <para> @@ -1389,7 +1389,7 @@ </sect2> - <sect2> + <sect2 id="aout-support"> <title>A.OUT support</title> <para> @@ -1416,7 +1416,7 @@ talk briefly about some syscalls. </para> - <sect2> + <sect2 id="ntpl-desc"> <title>Description of NTPL</title> <para> @@ -1448,7 +1448,7 @@ </sect2> - <sect2> + <sect2 id="linux26-emu"> <title>&linux; 2.6 emulation infrastructure</title> <para> @@ -1456,7 +1456,7 @@ &os;. </para> - <sect3> + <sect3 id="linux26-runtime"> <title>Runtime determining of 2.6 emulation</title> <para> @@ -1473,7 +1473,7 @@ </sect3> - <sect3> + <sect3 id="linux-proc-thread"> <title>&linux; process and thread identifiers</title> <para> @@ -1559,7 +1559,7 @@ </sect3> - <sect3> + <sect3 id="pid-mangling"> <title>PID mangling</title> <para> @@ -1578,7 +1578,7 @@ </sect3> - <sect3> + <sect3 id="clone-syscall"> <title>Clone syscall</title> <para> @@ -1631,7 +1631,7 @@ </sect3> - <sect3> + <sect3 id="locking"> <title>Locking</title> <para> @@ -1647,14 +1647,14 @@ </sect2> - <sect2> + <sect2 id="tls"> <title>TLS</title> <para> This section deals with TLS aka thread local storage. </para> - <sect3> + <sect3 id="trheading-intro"> <title>Introduction to threading</title> <para> @@ -1683,7 +1683,7 @@ </sect3> - <sect3> + <sect3 id="i386-segs"> <title>Segments on i386</title> <para> @@ -1708,7 +1708,7 @@ </sect3> - <sect3> + <sect3 id="linux-i386"> <title>Implementation on &linux; i386</title> <para> @@ -1724,10 +1724,10 @@ </sect3> - <sect3> + <sect3 id="tls-emu"> <title>Emulation of &linux; TLS</title> - <sect4> + <sect4 id="tls-i386"> <title>i386</title> <para> @@ -1754,7 +1754,7 @@ </sect4> - <sect4> + <sect4 id="tls-amd64"> <title>amd64</title> <para> @@ -1769,10 +1769,10 @@ </sect3> </sect2> - <sect2> + <sect2 id="futexes"> <title>Futexes</title> - <sect3> + <sect3 id="sync-intro"> <title>Introduction to synchronization</title> <para> @@ -1799,7 +1799,7 @@ </sect3> - <sect3> + <sect3 id="futex-intro"> <title>Futexes introduction</title> <para> @@ -1829,7 +1829,7 @@ </sect3> - <sect3> + <sect3 id="futex-api"> <title>Futex API</title> <para> @@ -1871,7 +1871,7 @@ </para></listitem> </itemizedlist> - <sect4> + <sect4 id="futex-wait"> <title>FUTEX_WAIT</title> <para> @@ -1882,7 +1882,7 @@ </sect4> - <sect4> + <sect4 id="futex-wake"> <title>FUTEX_WAKE</title> <para> @@ -1891,7 +1891,7 @@ </sect4> - <sect4> + <sect4 id="futex-fd"> <title>FUTEX_FD</title> <para> @@ -1900,7 +1900,7 @@ </sect4> - <sect4> + <sect4 id="futex-requeue"> <title>FUTEX_REQUEUE</title> <para> @@ -1910,7 +1910,7 @@ </sect4> - <sect4> + <sect4 id="futex-cmp-requeue"> <title>FUTEX_CMP_REQUEUE</title> <para> @@ -1920,7 +1920,7 @@ </sect4> - <sect4> + <sect4 id="futex-wake-op"> <title>FUTEX_WAKE_OP</title> <para> @@ -1960,7 +1960,7 @@ </sect4> </sect3> - <sect3> + <sect3 id="futex-emu"> <title>Futex emulation in &os;</title> <para> @@ -1990,7 +1990,7 @@ }; </para> - <sect4> + <sect4 id="futex-get"> <title>futex_get/put</title> <para> @@ -2002,7 +2002,7 @@ </sect4> - <sect4> + <sect4 id="futex-sleep"> <title>futex_sleep</title> <para> @@ -2017,7 +2017,7 @@ </sect4> - <sect4> + <sect4 id="futex-wake-2"> <title>futex_wake</title> <para> @@ -2032,7 +2032,7 @@ </sect4> - <sect4> + <sect4 id="futex-wake-op-2"> <title>futex_wake_op</title> <para> @@ -2044,7 +2044,7 @@ </sect4> - <sect4> + <sect4 id="futex-atomic-op"> <title>futex atomic operation</title> <para> @@ -2066,7 +2066,7 @@ </sect4> - <sect4> + <sect4 id="futex-locking"> <title>Futex locking</title> <para> @@ -2078,7 +2078,7 @@ </sect3> </sect2> - <sect2> + <sect2 id="syscall-impl"> <title>Various syscalls implementation</title> <para> @@ -2087,7 +2087,7 @@ point of view. </para> - <sect3> + <sect3 id="syscall-at"> <title>*at family of syscalls</title> <para> @@ -2127,7 +2127,7 @@ routine and simple wrapping layer. </para> - <sect4> + <sect4 id="implementation"> <title>Implementation</title> <para> @@ -2154,7 +2154,7 @@ </sect4> </sect3> - <sect3> + <sect3 id="ioctl"> <title>Ioctl</title> <para> @@ -2175,7 +2175,7 @@ </sect3> - <sect3> + <sect3 id="debugging"> <title>Debugging</title> <para> @@ -2192,7 +2192,7 @@ <sect1 id="conclusion"> <title>Conclusion</title> - <sect2> + <sect2 id="results"> <title>Results</title> <para> @@ -2222,7 +2222,7 @@ </sect2> - <sect2> + <sect2 id="future-work"> <title>Future work</title> <para> @@ -2253,7 +2253,7 @@ </sect2> - <sect2> + <sect2 id="team"> <title>Team</title> <para>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706211621.l5LGL6vu015383>