Apples linking

E.B. Dreger eddy+public+spam at
Thu Nov 27 10:01:14 PST 2003

RW> Date: Thu, 27 Nov 2003 11:24:23 -0500 (EST)
RW> From: Robert Watson

[ CC list trimmed ]

RW> The one thing that turns me off to this scheme is that I'd
RW> like it if we could find a way to represent this using solely
RW> existing BSD/UNIX kernel primitives (mmap, et al) and
RW> userspace, rather than adding special-purpose system calls
RW> that complicated various code paths, and that aren't
RW> portable.

Would rtld-elf/rtld.c:map_object() be a reasonable place to add
hooks for speaking with a daemon that does the actual tracking
work?  True, the daemon might die... in which case rtld probably
should revert to "traditional" behavior rather than refusing to
load a binary.

Brotsman & Dreger, Inc. - EverQuick Internet Division
Bandwidth, consulting, e-commerce, hosting, and network building
Phone: +1 785 865 5885 Lawrence and [inter]national
Phone: +1 316 794 8922 Wichita
          DO NOT send mail to the following addresses :
  blacklist at -or- alfra at -or- curbjmp at
Sending mail to spambait addresses is a great way to get blocked.

More information about the freebsd-current mailing list