From owner-freebsd-hackers Fri Aug 6 1: 0:27 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 68FAF150CE; Fri, 6 Aug 1999 01:00:22 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id JAA84294; Fri, 6 Aug 1999 09:04:41 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Fri, 6 Aug 1999 09:04:41 +0100 (BST) From: Doug Rabson To: "Daniel O'Connor" Cc: Matthew Dillon , hackers@freebsd.org, Ollivier Robert , Mike Smith , "Brian F. Feldman" Subject: Re: Jail syscalls In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 5 Aug 1999, Daniel O'Connor wrote: > > On 04-Aug-99 Matthew Dillon wrote: > > I kinda like the second choice the best but the first choice is what > > most > > other system calls use. > > That doesn't make it right =) > > The second avoids the 'the data is different but the size is the same' problem > which would seem to be not too uncommon.. If you are using the size for a version and you change the fields without ensuring the size changes, then you deserve all you get. In this kind of situation normally fields are simply appended to the structure. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message