From owner-p4-projects@FreeBSD.ORG Thu Jun 21 16:21:07 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 26CEA16A48F; Thu, 21 Jun 2007 16:21:07 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C92F316A481 for ; Thu, 21 Jun 2007 16:21:06 +0000 (UTC) (envelope-from gabor@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id B9FEC13C44C for ; Thu, 21 Jun 2007 16:21:06 +0000 (UTC) (envelope-from gabor@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5LGL6Ol015402 for ; Thu, 21 Jun 2007 16:21:06 GMT (envelope-from gabor@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5LGL6vu015383 for perforce@freebsd.org; Thu, 21 Jun 2007 16:21:06 GMT (envelope-from gabor@freebsd.org) Date: Thu, 21 Jun 2007 16:21:06 GMT Message-Id: <200706211621.l5LGL6vu015383@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gabor@freebsd.org using -f From: Gabor Kovesdan To: Perforce Change Reviews Cc: Subject: PERFORCE change 122099 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2007 16:21:07 -0000 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 @@ Divacky -
rdivacky@&os;.org
+
rdivacky@FreeBSD.org
@@ -1155,7 +1155,7 @@ linuxulator. This part covers i386 and ELF handling only. A.out is obsolete and untested. - + Syscall handling @@ -1164,7 +1164,7 @@ the general syscall routine calls linux prepsyscall routine for the &linux; ABI. - + &linux; prepsyscall @@ -1178,7 +1178,7 @@ - + Syscall writing @@ -1248,7 +1248,7 @@ - + Dummy syscalls @@ -1264,7 +1264,7 @@ - + Signal handling @@ -1273,7 +1273,7 @@ for this purpose. - + &linux; sendsig @@ -1288,7 +1288,7 @@ - + &linux; rt sendsig @@ -1300,7 +1300,7 @@ - + &linux; sigreturn @@ -1312,7 +1312,7 @@ - + Ptrace @@ -1343,7 +1343,7 @@ - + Traps @@ -1376,7 +1376,7 @@ - + Stack fixup @@ -1389,7 +1389,7 @@ - + A.OUT support @@ -1416,7 +1416,7 @@ talk briefly about some syscalls. - + Description of NTPL @@ -1448,7 +1448,7 @@ - + &linux; 2.6 emulation infrastructure @@ -1456,7 +1456,7 @@ &os;. - + Runtime determining of 2.6 emulation @@ -1473,7 +1473,7 @@ - + &linux; process and thread identifiers @@ -1559,7 +1559,7 @@ - + PID mangling @@ -1578,7 +1578,7 @@ - + Clone syscall @@ -1631,7 +1631,7 @@ - + Locking @@ -1647,14 +1647,14 @@ - + TLS This section deals with TLS aka thread local storage. - + Introduction to threading @@ -1683,7 +1683,7 @@ - + Segments on i386 @@ -1708,7 +1708,7 @@ - + Implementation on &linux; i386 @@ -1724,10 +1724,10 @@ - + Emulation of &linux; TLS - + i386 @@ -1754,7 +1754,7 @@ - + amd64 @@ -1769,10 +1769,10 @@ - + Futexes - + Introduction to synchronization @@ -1799,7 +1799,7 @@ - + Futexes introduction @@ -1829,7 +1829,7 @@ - + Futex API @@ -1871,7 +1871,7 @@ - + FUTEX_WAIT @@ -1882,7 +1882,7 @@ - + FUTEX_WAKE @@ -1891,7 +1891,7 @@ - + FUTEX_FD @@ -1900,7 +1900,7 @@ - + FUTEX_REQUEUE @@ -1910,7 +1910,7 @@ - + FUTEX_CMP_REQUEUE @@ -1920,7 +1920,7 @@ - + FUTEX_WAKE_OP @@ -1960,7 +1960,7 @@ - + Futex emulation in &os; @@ -1990,7 +1990,7 @@ }; - + futex_get/put @@ -2002,7 +2002,7 @@ - + futex_sleep @@ -2017,7 +2017,7 @@ - + futex_wake @@ -2032,7 +2032,7 @@ - + futex_wake_op @@ -2044,7 +2044,7 @@ - + futex atomic operation @@ -2066,7 +2066,7 @@ - + Futex locking @@ -2078,7 +2078,7 @@ - + Various syscalls implementation @@ -2087,7 +2087,7 @@ point of view. - + *at family of syscalls @@ -2127,7 +2127,7 @@ routine and simple wrapping layer. - + Implementation @@ -2154,7 +2154,7 @@ - + Ioctl @@ -2175,7 +2175,7 @@ - + Debugging @@ -2192,7 +2192,7 @@ Conclusion - + Results @@ -2222,7 +2222,7 @@ - + Future work @@ -2253,7 +2253,7 @@ - + Team