Theo de Raadt wrote:
That is a very interesting anecdote. That has got to make Henning proud; hell I'm proud of him. The amazing thing is that the ntpd binary on my i386 is only 34.4K. The ntpd binary (non-OpenNTPD) on my i386 FreeBSD media center is 263K, not to mention all of the other ntp* binaries, which bring total size to 426K. Plus, OpenNTPD has privilege separation!

Try statically linking them, and then look at the numbers again.

Well, I'm not going to do that, but I think I understand the point that Theo is making.

(OpenBSD)
[EMAIL PROTECTED] ldd /usr/sbin/ntpd
/usr/sbin/ntpd:
       Start    End      Type Open Ref GrpRef Name
       00000000 00000000 exe  1    0   0      /usr/sbin/ntpd
       05c18000 25c4c000 rlib 0    1   0      /usr/lib/libc.so.40.3
       0334b000 0334b000 rtld 0    1   0      /usr/libexec/ld.so

(FreeBSD)
[EMAIL PROTECTED] ldd /usr/sbin/ntpd
/usr/sbin/ntpd:
       libm.so.4 => /lib/libm.so.4 (0x280b0000)
       libmd.so.3 => /lib/libmd.so.3 (0x280c9000)
       libcrypto.so.4 => /lib/libcrypto.so.4 (0x280d6000)
       libc.so.6 => /lib/libc.so.6 (0x281cd000)

Reply via email to