- 31 May, 2004 15 commits
-
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.6
-
David S. Miller authored
-
Linus Torvalds authored
explcitly. sparse doesn't set any arch defines itself.
-
Peter Osterlund authored
Assigning '*wdata' with a dynamic initializer creates a temporary structure copy on the stack, and then the final data is initialized with a "memcpy()". As a result, these NFS functions use more than 800 bytes of stack-space. Changing the code to just do a memset followed by explicit initialization of the non-zero member variables takes the stack usage down to 36 bytes. Here is a patch that does exactly that.
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
Linus Torvalds authored
Removed one (harmless) direct user pointer access.
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Linus Torvalds authored
Also use "__force" when forcing the user address to "unsigned long" for the address limit check.
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Alexander Viro authored
Direct sscanf() on userland buffer in procfs ->write_proc(). Fixed.
-
- 30 May, 2004 25 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
-