public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] check user access ok writing
@ 2003-11-27  5:29 Paul Jackson
  2003-11-27 11:51 ` Paul Jackson
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Jackson @ 2003-11-27  5:29 UTC (permalink / raw)
  To: linux-ia64

David wrote:
> I see the problem, but the patch is incomplete: even after an
> access_ok()-check, you'll need to use __get_user() to access the
> buffer.

Right you are.  Too bad.  Just bolting an access_ok() on the
front of this code let me get away with not messing with the
existing code.

Keeping patches minimal is easier if they don't have to work ;).

As long as I have to mess with the 'R' parsing code anyway,
might as well use copy_from_user() and clean up these few lines
of code as best I can.

Another patch will be forthcoming.

-- 
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <pj@sgi.com> 1.650.933.1373

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-27 11:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-27  5:29 [PATCH] check user access ok writing Paul Jackson
2003-11-27 11:51 ` Paul Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox