On Thu, Jul 22, 1999 at 11:19:35PM +0930, Kris Kennaway wrote:
> On Thu, 22 Jul 1999, Dominic Mitchell wrote:
>
> > > PAM is also "using masses of weird shared objects" but nevertheless it's
> > > quite usable
> >
> > By statically linked binaries?
>
> This is also an issue for a modularized libcrypt(). Peter Wemm suggested
> having the library fork and exec a static helper binary module and
> communicate via a pipe. So essentially you'd have two files for each
> module, one which is a shared library and loaded via dlopen() and one
> which is the same code with a small amount of wrapper (main() etc) to make
> it into a standalone binary.
This is starting to get icky. This is also where the earlier idea of a
userspace filesystem would probably fare better, in terms of both
performance and simplicity.
> Solaris seem to be deprecating static libraries; you cannot have a fully
> static libc and they have to resort to keeping (a copy of) libdl (and
> presumably the run-time linker) under /etc so it's available on the root
> partition.
Solaris hasn't supported static linking for some time. If you have a
look at Casper Dik's FAQ, it goes into more detail. They do keep stuff
on the root partition:
admin# ls -l /etc/lib
total 644
-rwxr-xr-x 1 bin bin 155060 Jul 1 1998 ld.so.1*
-rwxr-xr-x 1 bin bin 4284 Jul 1 1998 libdl.so.1*
-rwxr-xr-x 1 bin bin 25468 Jul 16 1997 nss_files.so.1*
lrwxrwxrwx 1 root root 17 Sep 14 1998 pam_authen.so ->
./pam_authen.so.1*
-rwxr-xr-x 1 root sys 14516 Jul 16 1997 pam_authen.so.1*
lrwxrwxrwx 1 root root 16 Sep 14 1998 pam_entry.so -> ./pam_entry.so.1*
-rwxr-xr-x 1 root sys 11540 Jul 16 1997 pam_entry.so.1*
lrwxrwxrwx 1 root root 17 Sep 14 1998 pam_extern.so ->
./pam_extern.so.1*
-rwxr-xr-x 1 root sys 11044 Jul 16 1997 pam_extern.so.1*
lrwxrwxrwx 1 root root 16 Sep 14 1998 pam_pwmgt.so -> ./pam_pwmgt.so.1*
-rwxr-xr-x 1 root sys 85764 Jul 16 1997 pam_pwmgt.so.1*
lrwxrwxrwx 1 root root 18 Sep 14 1998 pam_session.so ->
./pam_session.so.1*
-rwxr-xr-x 1 root sys 4748 Jul 16 1997 pam_session.so.1*
--
Dom Mitchell -- Palmer & Harvey McLane -- Unix Systems Administrator
In Mountain View did Larry Wall
Sedately launch a quiet plea:
That DOS, the ancient system, shall
On boxes pleasureless to all
Run Perl though lack they C.
--
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
**********************************************************************
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message