<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Jan 30, 2007, at 4:37 AM, Hans Oesterholt-Dijkema wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">There must be something like ldconfig (like linux uses)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">for MacOS X. Otherwise, the OS itself would have to hardwire</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">stuff and if I remember well, MacOSX is a derivative of</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(free)bsd?</DIV></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>MacOSX is NOT a derivative of freeBSD. OSX is built on top of</DIV><DIV>the Mach Microkernel, which allows "compatibility layers" to be</DIV><DIV>created on top of it. Therefore, OSX provides a FreeBSD </DIV><DIV>"compatibility layer" on top of the Mach Microkernel to take advantage</DIV><DIV>of POSIX standards.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>This however does not always translate into correct results. For instance</DIV><DIV>take a look at Amit Singh's challenge from 2005:</DIV><DIV><A href="http://www.kernelthread.com/mac/challenge/result/">http://www.kernelthread.com/mac/challenge/result/</A> where it's discovered</DIV><DIV>that a kernel panic can occur by creating a mach_task which then creates</DIV><DIV>a new thread. However since the call wasn't created by exec() or fork() an</DIV><DIV>important field is not set that tries to be referenced. It wasn't set because</DIV><DIV>it can't be set because mach doesn't know how or why a layer above it</DIV><DIV>needs something like this set. It doesn't care, but "FreeBSD" of course </DIV><DIV>does.</DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>--</DIV><DIV>Andrew Gwozdziewycz</DIV><DIV><A href="mailto:apgwoz@gmail.com">apgwoz@gmail.com</A></DIV><DIV><A href="http://and.rovir.us">http://and.rovir.us</A>  |  <A href="http://www.photub.com">http://www.photub.com</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><BR></BODY></HTML>