- 29 May, 2004 40 commits
-
-
Alexander Viro authored
annotated, killed useless (and type-buggering - void ** is not assignment-compatible with foo **) helper, cleaned up.
-
Alexander Viro authored
Annotated, cleaned up, wholesale copying of structure with subsequeunt casts from hell replaced with get_user()/put_user() on the fields we really need.
-
Alexander Viro authored
blkpg ioctls handling switched to compat_alloc_user_space() (instead of messing with set_fs()) and annotated.
-
Alexander Viro authored
Whoever had done the translation apparently never heard of big-endian boxen. Replaced the kludge with get_user()/put_user() on 64bit values. Note that struct raw_config_request { int raw_minor; __u64 block_major; __u64 block_minor; }; has __u64 on _all_ platforms and it is used as an integer in raw.c code. The only reason why translation is needed at all is alignment for 64bit values; block_major and block_minor themselves should be passed as-is. Breakage fixed, entire area annotated.
-
Alexander Viro authored
Easy parts of compat_ioctl fixes - pure __user annotation. In one place (SG_IO handling) replaced dereference of user pointer with put_user() (why whoever had noticed that just put a FIXME instead of obvios fix is a mistery...)
-
Alexander Viro authored
-
Alexander Viro authored
a bunch of trivial ->read() and ->write() instances (and their procfs relatives) __user-annotated. All chunks are independent, but IMO not worth splitting.
-
Alexander Viro authored
Independent minor bits caught by sparse: - paride.h mixing void and int in ? :, used always in a void context ide-iops.c return insw() - insw is void() - scsi/constants.c uses undefined macros in #if; added #define to 0 in case that used to leave it undefined - usb/host/hcd.h: fixed-point arithmetics in constant - fs/exec.c: missing UL on a large constant - fs/locks.c: #if where #ifdef should've been - fs.h: missing UL on MAX_LFS_FILESIZE in 64bit case
-
Alexander Viro authored
fs/*, fs/proc/*, fs/nfsd/*, fs/autofs4/* The only interdependent group is the fs/autofs4/* stuff.
-
Alexander Viro authored
-
Alexander Viro authored
rest of pointers in sg ioctl arguments made __user.
-
Alexander Viro authored
scsi_ioctl() and scsi_ioctl_send_command() switched to __user *; scsi/scsi_ioctl.c annotated.
-
Alexander Viro authored
scsi_cmd_ioctl() switched to __user *, block/scsi_ioctl.c annotated.
-
Alexander Viro authored
copying moved into sg_io()
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
The kernel instance (packet_command) has kernel pointers, userland one - __user ones. Surprise.
-
Alexander Viro authored
Speaking of conflicts... Here's another half of a do_utimes() patch, same story as on ppc64:
-
Linus Torvalds authored
-
bk://cifs.bkbits.net/linux-2.5cifsLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://bk.linux1394.org/ieee1394-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
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
-
Alexander Viro authored
oh, hell - I missed this one when carving the thing out of big patch ;-/
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.6
-
Adam Kropelin authored
Fix a missing initialization in the sparse __user annotation work for OSS. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Linus Torvalds authored
-
David S. Miller authored
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.6
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.6
-
Linus Torvalds authored
This also fixes a terminally broken sys32_utimes() implementation.
-
Linus Torvalds authored
-
Herbert Xu authored
-
Stephen Hemminger authored
Don't need all the network sysfs code if CONFIG_SYSFS is not enabled. Also: * netdev_sysfs_unregister is declaration mismatch * if netdev_sysfs_register fails print a warning. Need to still mark it as registered so the unregister_netdevice works, but we will probably end up leaking memory in that case.
-
Patrick McHardy authored
-
Patrick McHardy authored
-
Patrick McHardy authored
-
Patrick McHardy authored
-