Date: Wed, 16 Jan 2002 12:21:06 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: cjclark@alum.mit.edu Cc: Sheldon Hearn <sheldonh@starjuice.net>, FreeBSD@jovi.net, freebsd-questions@FreeBSD.ORG, freebsd-arch@FreeBSD.ORG, bug-followup@FreeBSD.ORG Subject: Re: kern/33904: secure mode bug Message-ID: <3C45E0B2.A092CB4E@mindspring.com> References: <20020115210303.E31328@blossom.cjclark.org> <98823.1011171388@axl.seasidesoftware.co.za> <20020116010937.K31328@blossom.cjclark.org>
next in thread | previous in thread | raw e-mail | index | archive | help
"Crist J . Clark" wrote: > The settimeofday(2) call returns > success even though the change requested by the call is not really > done. This is somewhat questionable behavior. The documentation for > settimeofday(2) was not clear about how this works under elevated > securelevel(8), and in fact, the documentation is actually wrong > (which I will fix shortly). This is BS. It's not documented how it works in jails, either, or under vmware. THe call is done, it's just that the caller was, in context, requesting something other than what they thought they were requesting. In fact, any delta in excess of 1 is a request for 1, at that secure level. The call is doing *exactly* what it is supposed to do. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C45E0B2.A092CB4E>