- 25 May, 2003 40 commits
-
-
bk://kernel.bkbits.net/jgarzik/net-drivers-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Paul Mackerras authored
This patch takes out the MOD_INC/DEC_USE_COUNT in the airport (Apple wireless ethernet) driver. The driver already does SET_MODULE_OWNER on the netdevice, so the MOD_INC/DEC_USE_COUNT are unnecessary and just cause warnings.
-
Paul Mackerras authored
This patch fixes ppp_synctty.c (used for doing PPP over some synchronous serial HDLC links) so that it sets the owner field of the tty line discipline it exports, rather than using MOD_INC/DEC_USE_COUNT. This is more or less from Stephen Hemminger. Please apply. Thanks, Paul.
-
Scott Feldman authored
* Cleanup ethtool/mii_ioctl sets of speed/duplex/autoneg by stop/set/start driver to ensure sets stick. Must hold xmit_lock around stop/start.
-
Jeff Garzik authored
into redhat.com:/garz/repo/net-drivers-2.5
-
bk://kernel.bkbits.net/jgarzik/irda-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Rusty Russell authored
-
Jeff Garzik authored
into redhat.com:/garz/repo/irda-2.5
-
Benjamin Herrenschmidt authored
This patch fixes the build of drivers/ide/ppc/pmac.c.
-
Paul Mackerras authored
-
Ben Collins authored
While going through sound/ for strncpy replacing, I came across this routine: /* return the (first) queue matching with the specified name */ queue_t *snd_seq_queue_find_name(char *name) { int i; queue_t *q; for (i = 0; i < SNDRV_SEQ_MAX_QUEUES; i++) { if ((q = queueptr(i)) != NULL) { if (strncpy(q->name, name, sizeof(q->name)) == 0) return q; queuefree(q); } } return NULL; } I'm _really_ sure that they meant to use strncmp() here instead. Like this.
-
Greg Ungerer authored
A couple of updates for the non-MMU memory managment code: - declare the overcommit variables - return a real vma pointer from get_user_pages (it is used by some code) - correct args to vmap()
-
Ben Collins authored
Use strlcpy in root_dev_setup()
-
Ben Collins authored
I only converted the cases where it was obvious that the intent was to truncate on overflow. Lots of places for maxpath/readlink type stuff I left alone.
-
Ben Collins authored
This does a lot of cleanup for strncpy->strlcpy, replaces some sprintf/snprintf's aswell. There were only two places where things weren't straight forward. All-in-all a good cleanup though.
-
Ben Collins authored
-
Linus Torvalds authored
-
Manfred Spraul authored
-
Sam Ravnborg authored
Make the default kernel build less verbose, to make warnings show up more clearly.
-
Andries E. Brouwer authored
Yet another one in the namespace.c series. The code in graft_tree() used to be correct, but the code err = -ENOENT; down(&nd->dentry->d_inode->i_sem); if (IS_DEADDIR(nd->dentry->d_inode)) goto out_unlock; spin_lock(&dcache_lock); if (IS_ROOT(nd->dentry) || !d_unhashed(nd->dentry)) { ... } spin_unlock(&dcache_lock); out_unlock: was made incorrect in 2.5.29 when err = security_sb_check_sb(mnt, nd); if (err) goto out_unlock; was inserted. It has happened more often that people overlooked a preexisting setting of err.
-
Andrew Morton authored
Tell the arch that install_page() has just added a page into the pagetables.
-
Andrew Morton authored
From: William Lee Irwin III <wli@holomorphy.com> Silence a printk warning.
-
Andrew Morton authored
From: William Lee Irwin III <wli@holomorphy.com> 64-bit ACPI fixes
-
Andrew Morton authored
From: William Lee Irwin III <wli@holomorphy.com> Fix "cast to pointer from integer of a different size".
-
Andrew Morton authored
From: Martin Hicks <mort@wildopensource.com> Here is a patch that changes mmu_gathers into a per-cpu resource. It includes the changes for all arches except ia64. I've sent a separate patch to David Mosberger for ia64.
-
Andrew Morton authored
From: Hollis Blanchard <hollis@austin.ibm.com> Fix two pnp error-path memory leaks, caught by Stanford memory leak checker circa 2.5.48.
-
Andrew Morton authored
From: Hollis Blanchard <hollis@austin.ibm.com> Another potential memory leak the Stanford checker caught at 2.5.48: while closing and opening floppy disks, buf could be allocated and never freed.
-
Andrew Morton authored
From: Hollis Blanchard <hollis@austin.ibm.com> Hi, this was caught by the Stanford memory leak checker a while ago (2.5.48). If the tmp_stats allocation fails, tmp is not being freed.
-
Andrew Morton authored
From: john stultz <johnstul@us.ibm.com> This is a rework of John's recent change which resolved a circular include dependency: a function in mach_apic.h requires hard_smp_processor_id() and hard_smp_processor_id() requires macros from mach_apic.h So this patch (against bk-current) reverts the previous, and fixes the same circular dependency in a much cleaner way, by moving a piece of the circular chain into its own .h file, rather then removing hard_smp_processor_id() and accessing the apic by hand.
-
Andrew Morton authored
From: Maneesh Soni <maneesh@in.ibm.com> Provides a separate request queue for each ramdisk instance. Without this, the kernel oopses when the block later tries to unregister the same set of kobject things multiple times. This makes rd.c consistent with all other "disk" devices.
-
Andrew Morton authored
From: Duncan Haldane <f.duncan.m.haldane@worldnet.att.net> Gerd Knorr noticed a small use of floating point math in the cpia driver updates for 2.5.x I sent you a while ago, and this is not allowed in the kernel. This was in some code taken essentially verbatim from the Windows cpia driver released under the GPL by STM inc. that had been incorporated in the later versions of the cpia drivera sourceforge. It turns out that the use of floating point was quite inessential, and I've reimplemented the couple of lines of code involved in integer arithmetic.
-
Andrew Morton authored
From: Rick Lindsley <ricklind@us.ibm.com> Here is a file to add to the Documentation/ directory which describes the disk statistics fields.
-
Andrew Morton authored
- Add an explanation for clearing the focus bit on P4 (zwane) - __d_path kerneldoc fix (John Levon) - generic-hdlc documentation fix (Krzysztof Halasa <khc@pm.waw.pl>) - cmdline_read_proc cleanup (Oleg Drokin) - remove a couple of unused vars from drivers/ide/pci/hpt366.c - sound/core/sgbuf.c needs mm.h at least on alpha, for mem_map and other page stuff. (Ivan Kokshaysky <ink@jurassic.park.msu.ru>) - Don't use "u32 long" in cs46xx.c (Kevin Puetz <puetzk@puetzk.org>) - fs/nfs/nfs4xdr.c warning fix: all the `goto out;' statements are commented away, so comment away the label too. - net/ipv6/af_inet6.c: remove unused var - drivers/media/video/bttv-cards.c: jiffies are unsigned long - drivers/media/video/saa7134/saa7134-cards.c: unused var - Fix Documentation/Changes comment wrt sparc compiler version - drivers/pnp/quirks.c needs slab.h for kfree(). (Daniele Bellucci <bellucda@tiscali.it>)
-
Andrew Morton authored
From: David Gibson <david@gibson.dropbear.id.au> Renames check_valid_hugepage_range() to is_hugepage_only_range(), which makes more sense.
-
Andrew Morton authored
From: Manfred Spraul <manfred@colorfullife.com> de_thread is called by exec to kill all threads in the thread group except the threads required for exec. The waiting is implemented by waiting for a wakeup from __exit_signal: If the reference count is less or equal to 2, then the waiter is woken up. If exec is called by a non-leader thread, then two threads are required for exec. But if a thread group leader calls exec, then only one thread is required for exec. Thus the hardcoded "2" leads to a superfluous wakeup. The patch fixes that by adding a "notify_count" field to the signal structure.
-
Andrew Morton authored
From: Frank Cusack <fcusack@fcusack.com> net/sunrpc/sunrpc_syms.c typo fix
-
Andrew Morton authored
From: Dave Hansen <haveblue@us.ibm.com> This patch makes vm_enough_memory(), more likely return failure when overcommit_memory==0 and !CAP_SYS_ADMIN. I'm not sure it's worth having another tunable just for this. I also reworked the documentation a bit. It should be a lot clearer to read now.
-
Andrew Morton authored
From: Stephen Smalley <sds@epoch.ncsc.mil> This patch against 2.5.69-bk adds an xattr handler for security labels to devpts and corresponding hooks to the LSM API to support conversion between xattr values and the security labels stored in the inode security field by the security module. This allows userspace to get and set the security labels on devpts nodes, e.g. so that sshd can set the security label for the pty using setxattr, just as sshd already sets the ownership using chown. SELinux uses this support to protect the pty in accordance with the user process' security label. The changes to the LSM API are general and should be re-useable by xattr handlers in other pseudo filesystems to support similar security labeling. The xattr handler for devpts includes the same generic framework as in ext[23], so handlers for other kinds of attributes can be added easily in the future.
-
Andrew Morton authored
From: Christopher Hoover <ch@murgatroid.com> Here's a patch to drop some more text/data/bss out of 2.5. This time the ``victim'' is eventpollfs (epoll).
-
Andrew Morton authored
From: Christopher Hoover <ch@murgatroid.com> Not everyone needs futex support, so it should be optional. This is needed for small platforms.
-