- 31 May, 2004 1 commit
-
-
Alexander Viro authored
Direct sscanf() on userland buffer in procfs ->write_proc(). Fixed.
-
- 30 May, 2004 39 commits
-
-
Alexander Viro authored
Everything straigthforward and takes care of almost all sparse warnings in fs/reiserfs/*.
-
Alexander Viro authored
Several places in arch/i386/kernel were still un-annotated - they didn't trip copy_.._user(), so they stayed alive. Caught and killed. That's not all - there's a big cluster of them in vm86.c, but I haven't looked into that code yet.
-
Linus Torvalds authored
-
Alexander Viro authored
A bunch of "return in void function" dealt with, removed bogus extern from definition of __load_new_mm_context(), sanitized fscking ugly CROSS_64K() helper (even if sparse doesn't segfault on that anymore, it's _still_ fscking ugly).
-
Alexander Viro authored
... and that's where I'd found do_utimes() crap before I went grepping ;-)
-
Alexander Viro authored
Trivial stuff in arch/alpha annotated; in two cases of osf_proplist_syscall() dereferencing userland pointers replaced with get_user
-
Alexander Viro authored
#if where #ifdef should've been
-
Alexander Viro authored
Long constants marked as such
-
Alexander Viro authored
Copying primitives annotated.
-
Linus Torvalds authored
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Russell King authored
-
Alexander Viro authored
Fixed the type of SIOCGIFCONF callback; inet instance was already correctly annotated, decnet one was _not_. Moreover, decnet callback needed fixing - dereferencing userland address.
-
Alexander Viro authored
Made ->write_proc in tty_driver suitable for procfs write callback
-
Alexander Viro authored
n_tty annotated, ldisc_struct ->read() and ->write() got __user on their buf argument.
-
Alexander Viro authored
vt, vt_ioctl, consolemap and selection annotated, struct unimapdesc and struct consolefontdesc got __user on their pointer members.
-
Alexander Viro authored
tty_ioctl.c annotation
-
Alexander Viro authored
tty_io.c annotated
-
Alexander Viro authored
That "u64" in there is actually struct iocb __user *. Changed prototype, killed casts in body and caller...
-
Alexander Viro authored
return void in floppy.h and "conditionally long" constants in page.h. Would be useful to teach as(1) about C notation for long...
-
Alexander Viro authored
Long constants marked as such.
-
Alexander Viro authored
#if where #ifdef should've been. Fixed.
-
Alexander Viro authored
-
Alexander Viro authored
Annotation of amd64 code - just adding __user where needed...
-
Alexander Viro authored
Annotated basic primitives (copy_.._user, get_user, ...). Functions got __user in prototypes, macros (in uaccess.h) got a conditional check - see CHECK_UPTR() below. If you have more elegant way to deal with the macros - please, tell.
-
Alexander Viro authored
-
Alexander Viro authored
Annotation of net/* ...copy... that deals with userland pointers + several bits that fell out of previous patch (trivial annotations)
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
dev_ioctl() has a __user pointer argument; however, its declaration lacks that and callers are also wrong. Declaration fixed, callers updated.
-
Alexander Viro authored
Here's the tail of setsockopt I've missed - for old protocol families we have wrappers around those methods.
-
Andi Kleen authored
I managed to break compilation with my last patch with a last minute edit.
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.6
-
David S. Miller authored
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.6
-
David S. Miller authored
-
David S. Miller authored
-