From owner-freebsd-hackers Wed Aug 4 0:21:41 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (Postfix) with ESMTP id 4397215350 for ; Wed, 4 Aug 1999 00:21:38 -0700 (PDT) (envelope-from green@FreeBSD.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.9.3/8.8.7) with ESMTP id DAA47700; Wed, 4 Aug 1999 03:19:57 -0400 (EDT) X-Authentication-Warning: janus.syracuse.net: green owned process doing -bs Date: Wed, 4 Aug 1999 03:19:57 -0400 (EDT) From: "Brian F. Feldman" X-Sender: green@janus.syracuse.net To: Mike Smith Cc: Matthew Dillon , Ollivier Robert , hackers@FreeBSD.org Subject: Re: Jail syscalls In-Reply-To: <199908032310.QAA01618@dingo.cdrom.com> 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 Tue, 3 Aug 1999, Mike Smith wrote: > > Speaking of the jail() syscall -- it really needs to be revamped a > > little before people really start using it wholeheartedly. The size > > of the jail structure needs to be passed in the syscall to allow backwards > > compatibility when things change such as, for example, the size of the > > IP address. > > Actually, with interfaces like this you should generally pass a pointer > to the structure in userspace, and stick a version number constant in > the beginning of the structure. The size is often not enough of a > determining factor... Actually, the structure shouldn't change size because it should be using a sockaddr. > > -- > \\ The mind's the standard \\ Mike Smith > \\ of the man. \\ msmith@freebsd.org > \\ -- Joseph Merrick \\ msmith@cdrom.com > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > 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