Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 1999 03:19:57 -0400 (EDT)
From:      "Brian F. Feldman" <green@FreeBSD.org>
To:        Mike Smith <mike@smith.net.au>
Cc:        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.9908040319040.47190-100000@janus.syracuse.net>
In-Reply-To: <199908032310.QAA01618@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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