Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Oct 2003 19:02:44 +0100
From:      Colin Percival <colin.percival@wadham.ox.ac.uk>
To:        hackers@freebsd.org
Subject:   settimeofday within jail
Message-ID:  <5.0.2.1.1.20031003184821.020c4c48@popserver.sfu.ca>

next in thread | raw e-mail | index | archive | help
   Ok, this is a wierd question: How hard would it be to allow jails to 
have local clocks which could be manipulated within those jails?

   The reason I'm asking is this: As those of you who attended my BSDCon 
talk will know, FreeBSD Update plays games with the clock (specifically, it 
sets the clock forward by 400 days) in order to locate timestamps embedded 
in binary files.  I'd like to put as much as possible into a jail, to 
protect my buildbox against the unlikely possibility that some malware gets 
into the FreeBSD CVS repository.
   If jailed clocks would be too difficult, I can certainly work around it; 
but since I have almost no knowledge of kernel internals I thought I'd ask.

Colin Percival



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.0.2.1.1.20031003184821.020c4c48>