- 02 Jun, 2004 1 commit
-
-
Dave Jones authored
into delerium.codemonkey.org.uk:/mnt/nfs/neologic/bar/src/kernel/2.6/trees/cpufreq
-
- 01 Jun, 2004 1 commit
-
-
Dave Jones authored
Arjan noted that in some cases, the build fails. This should fix it up.
-
- 31 May, 2004 9 commits
-
-
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.
-
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 29 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)
-