Re: per-chroot clock module ?

From: Pavel Machek
Date: Fri Dec 03 2010 - 14:37:17 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/