From owner-freebsd-arch Fri May 3 2:44:21 2002 Delivered-To: freebsd-arch@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id F10CE37B417 for ; Fri, 3 May 2002 02:44:17 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.2/8.12.2) with ESMTP id g439hrQ4013811 for ; Fri, 3 May 2002 11:43:53 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: arch@freebsd.org Subject: syscall changes to deal with 32->64 changes. From: Poul-Henning Kamp Date: Fri, 03 May 2002 11:43:53 +0200 Message-ID: <13810.1020419033@critter.freebsd.dk> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG We have some 32 to 64 bit changes outstanding, which are necessary to complete the UFS2 DARPA project. So far the following three have been identified as having a syscall impact: ino_t stat.st_gen statfs. These are pretty trivial, it involves adding some new 64bit versions of the syscalls and corresponding data structures. If we look at bit closer, a number of other things really need the 32->64 treatment, struct rlimit for instance. This is still pretty trivial. And then the bad one: time_t. The time_t change is the most intrusive since it also changes the size of strut timespec, and logically should change the size of struct timeval but wouldn't since the second part there is defined as "long". This makes rusage, itimerval, pps_info_t and SVID IPC change size and affects quite a number of syscalls. And before anybody gets their knickers in a twist (there's a lot of that going round these days as the doctor would say) this all needs to be done and will be done in a backwards compatible way. Questions: 1. Are there anything else that needs to change size while we're at it ? 2. Is this a good occation to create a new syscall vector for FreeBSD 5.0 rather than embellish the existing one with even more variations ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message