- 04 Jun, 2004 29 commits
-
-
David S. Miller authored
1) Explicitly cast to __user in syscall invocations where we know we are in KERNEL_DS 2) Explicitly test against zero in assignment expression conditional.
-
David S. Miller authored
-
David S. Miller authored
This documents how this member is used in two ways, 1) as a pointer to a user ioctx and 2) as a pointer to a task struct to wake up.
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Alexander Viro authored
-
Alexander Viro authored
ioctl structure annotated
-
Alexander Viro authored
-
Alexander Viro authored
The rest of ->ifr_data cleanups. A bunch of drivers use address of ifr->ifr_ifru, but spell that as &ifr->ifr_data, which expands to &ifr->ifr_ifru.ifru_data. ifr_ifru is a union and in effect they sneak in a private field into that union; ifr_ifru.ifru_data is a field in that union and it has nothing to do with the things they want to do. Cleaned up by explicit use of &ifr->ifr_ifru. Several places where we really use ->ifr_data (i.e. use its value and use it as __user pointer) annotated.
-
Alexander Viro authored
From: Jeff Garzik Jeff's patch adds a helper for obtaining mii_ioctl_data from ifreq and switches drivers to it. It's almost a "move common expression into inline helper", except that instead of (struct mii_ioctl_data *)&rq->ifr_ifru.ifru_data it does (struct mii_ioctl_data *)&rq->ifr_ifru - pointer to union instead of pointer to a field of union that has nothing to do with mii_ioctl_data *and* adds confusion by being a pointer itself.
-
http://linux-lksctp.bkbits.net/lksctp-2.5.workDavid S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
Hideaki Yoshifuji authored
-
James Morris authored
Here's an additional patch for ipvs, which also mangles packets via netfilter and was previously depending on the checksum helper in nf_hook_slow(). Signed-of-by: James Morris <jmorris@redhat.com> Signed-of-by: David S. Miller <davem@redhat.com>
-
David S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
Bartlomiej Zolnierkiewicz authored
Some boards don't support C1 Halt Disconnect. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
assorted minor bits in drivers/* - all independent, but there's some limit to splitting stuff...
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
several pointers in ioctl structures marked as userland ones. And that's it with this patchset. A couple more of those and we'll be done with the noise warnings ;-)
-
- 03 Jun, 2004 11 commits
-
-
Alexander Viro authored
s2io.c: bogus initializer ({{"a"},{"b"}} has too many braces for two-dimensional array of char - strings are arrays themselves). de4x5.h: missing __user on a pointer in ioctl structure. airo.c: cleaned up and fixed procfs ->read() and ->write()
-
Alexander Viro authored
osst.c, st.c, scsi_debug.c annotated.
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
-
Alexander Viro authored
selinuxfs.c annotated
-
Alexander Viro authored
-
Alexander Viro authored
b44.c: ->ioctl() is broken, since it uses &ifr->ifr_data instead of ifr->ifr_data itself. Surprise, surprise, copy_from_user() on that address doesn't do any good... baycom_epp.c: does get_user() of the first word of structure, then immediately does copy_from_user() on the entire thing and completely ignores the value read by get_user() (it uses the same value in copied structure instead). Bogus get_user() call removed.
-
Alexander Viro authored
->ifr_data users annotated.
-
Paul Mackerras authored
Some code that is used on iSeries (do_hash_page_DSI in head.S) was clearing the RI (recoverable interrupt) bit in the MSR when it shouldn't. We were getting SLB miss interrupts following that which were panicking because they appeared to have occurred at a bad place. This patch fixes the problem. In fact it isn't necessary for do_hash_page_DSI to do anything to RI, so the patch changes the code to not set or clear it. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
-