One more UseLogin tweak -- why are the binaries so big?

James Rippas jrippas at mizuhocap.com
Thu Jun 7 07:49:16 EST 2001


This works except the binaries seem to have gotten quite large.  Is this
normal with snapshots?

When configured with the following options: 

 --prefix=/usr/ssh --with-pcre --sysconfdir=/etc --with-pid-dir=/etc/
--with-random=/dev/random

2.9p1
-rwxr-xr-x   1 root     sys      1225576 May 11 08:49
/usr/ssh/sbin/sshd.orig* 

openssh-SNAP-20010606 + UseLogin tweaks
-rwxr-xr-x   1 root     other    4614312 Jun  6 16:52
/usr/ssh/sbin/sshd*

-jim


Wayne Davison wrote:
> 
> One other thing I noticed in the record_utmp_only() function is that
> it wasn't setting the timestamp in the logininfo structure.  The
> following patch takes care of this:
> 
> --- old/loginrec.c      Wed Jun  6 11:12:14 2001
> +++ loginrec.c  Wed Jun  6 11:13:42 2001
> @@ -448,6 +448,8 @@
>  login_utmp_only(struct logininfo *li)
>  {
>         li->type = LTYPE_LOGIN;
> +       /* set the timestamp */
> +       login_set_current_time(li);
>  # ifdef USE_UTMP
>         utmp_write_entry(li);
>  # endif
> 
> ..wayne..
-------------- next part --------------
---------------------------------------------------------

This e-mail contains information some or all of which may be
confidential, proprietary and/or legally privileged.  If an addressing
or transmission error has misdirected this e-mail, please notify the
sender by replying to this e-mail.  If you are not the intended
recipient you must not use, disclose, distribute, copy, print or rely on
this e-mail.

---------------------------------------------------------


More information about the openssh-unix-dev mailing list