[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101203193658.GB2371@ucw.cz>
Date: Fri, 3 Dec 2010 20:36:59 +0100
From: Pavel Machek <pavel@....cz>
To: Jason Vas Dias <jason.vas.dias@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: per-chroot clock module ?
Hi!
> I'd really like to be able to set a distinct "clock" for a specific chroot environment,
> such that the super-user could call :
> const char *my_chroot_directory = "/some_chroot";
> struct stat st;
> if(stat( my_chroot_directory, &st) ==0)
> sys_clock_settime ((clockid_t) st.st_inode, (struct timespec *)tp)
> ( from glibc )
See subterfugue.net... it can do this.
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists