Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2004 13:22:37 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kirill Ponomarew <krion@FreeBSD.org>
Cc:        sparc64@FreeBSD.org
Subject:   32-bit time in <utmp.h> (Re: cvs commit: ports/net/pppd23 Makefile ports/net/pppd23/files extra-patch-no-logf patch-ab)
Message-ID:  <20040428202237.GA49702@xor.obsecurity.org>
In-Reply-To: <200404281956.i3SJuZxU033263@repoman.freebsd.org>
References:  <200404281956.i3SJuZxU033263@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 28, 2004 at 12:56:35PM -0700, Kirill Ponomarew wrote:
> krion       2004/04/28 12:56:35 PDT
>=20
>   FreeBSD ports repository
>=20
>   Modified files:
>     net/pppd23           Makefile=20
>   Added files:
>     net/pppd23/files     extra-patch-no-logf patch-ab=20
>   Log:
>   - Reflect changes on FreeBSD 5.* to load if_ppp.ko unless
>     already loaded.  (Thx to zoleg at buryatia dot ru for
>     pointing that) Current code will try both old and new method.
>   - Fix build on amd64
>   - Reflect internal logf() for GCC 3-x
>   - Reflect 32bitness of time in `struct lastlog'.

I wonder if this 32-bitness is related to the accounting problems
noticed on sparc64 since the 64-bit time_t changeover:

struct lastlog {
        int32_t ll_time;
        char    ll_line[UT_LINESIZE];
        char    ll_host[UT_HOSTSIZE];
};

struct utmp {
        char    ut_line[UT_LINESIZE];
        char    ut_name[UT_NAMESIZE];
        char    ut_host[UT_HOSTSIZE];
        int32_t ut_time;
};

Kris
--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAkBKNWry0BWjoQKURAmJsAJ9eAcqfRReI/x+TUcCQWqTS4twkegCfY7im
BWYtr0J6GG5MMWSYiGsw9H4=
=txCO
-----END PGP SIGNATURE-----

--qMm9M+Fa2AknHoGS--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040428202237.GA49702>