Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 1999 13:01:55 -0400 (EDT)
From:      "Brian F. Feldman" <green@FreeBSD.org>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        Mike Smith <mike@smith.net.au>, Matthew Dillon <dillon@apollo.backplane.com>, Ollivier Robert <roberto@keltia.freenix.fr>, hackers@FreeBSD.org
Subject:   Re: Jail syscalls 
Message-ID:  <Pine.BSF.4.10.9908041300360.55682-100000@janus.syracuse.net>
In-Reply-To: <Pine.BSF.4.10.9908040949300.385-100000@salmon.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 4 Aug 1999, Doug Rabson wrote:

> The argument for versioning is not simply because the size of ip_number
> might change (it should be a sockaddr) but because other fields might be
> added or removed. To avoid allocating a new syscall whenever this happens,
> the structure should be versioned.

Ahh, okay. If we plan on changing it, I agree.

> 
> Putting sizeof(whatever) at the beginning of the structure works
> surprisingly well as a versioning system.

Or a version field at a set offset, like in struct ip :)

> 
> --
> Doug Rabson				Mail:  dfr@nlsystems.com
> Nonlinear Systems Ltd.			Phone: +44 181 442 9037
> 
> 
> 

 Brian Fundakowski Feldman      _ __ ___ ____  ___ ___ ___  
 green@FreeBSD.org                   _ __ ___ | _ ) __|   \ 
     FreeBSD: The Power to Serve!        _ __ | _ \._ \ |) |
       http://www.FreeBSD.org/              _ |___/___/___/ 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908041300360.55682-100000>