Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2002 07:18:00 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        Matthew Dillon <dillon@apollo.backplane.com>, Julian Elischer <julian@elischer.org>, Alfred Perlstein <bright@mu.org>, arch@FreeBSD.ORG, jhb@FreeBSD.ORG, peter@wemm.org, jake@locore.ca
Subject:   Re: gettimeofday() and crhold()/crfree() (was Re: gettimeofday()and copyout(). Is copyout() MPSAFE on non-i386 archs? ) 
Message-ID:  <32873.1014013080@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 17 Feb 2002 16:13:02 PST." <3C70470E.BD2F048D@mindspring.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <3C70470E.BD2F048D@mindspring.com>, Terry Lambert writes:

>I guess this would be read/write?

Yes.

>I don't think copyin() access would be the best way to
>do it, if that's the case, since the user could lie to
>the kernel that way.

...and consequently coredump...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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?32873.1014013080>