]> git.hungrycats.org Git - linux/log
linux
23 years ago[PATCH] janitor: cpqarray for !CONFIG_PROC_FS
Randy Dunlap [Fri, 3 Oct 2003 15:33:04 +0000 (08:33 -0700)]
[PATCH] janitor: cpqarray for !CONFIG_PROC_FS

From: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>

Fix cpqarray.c warnings: `proc_array' and `ida_proc_get_info' defined
but not used

ida_proc_get_info() is only called when CONFIG_PROC_FS=y.

23 years ago[PATCH] janitor: cleanup includes (mtd)
Randy Dunlap [Fri, 3 Oct 2003 15:32:56 +0000 (08:32 -0700)]
[PATCH] janitor: cleanup includes (mtd)

From: Randy Hron <rwhron@earthlink.net>

version.h cleanup and duplicate #includes removed.

23 years ago[PATCH] janitor: init_nfsd() error handling
Randy Dunlap [Fri, 3 Oct 2003 15:32:47 +0000 (08:32 -0700)]
[PATCH] janitor: init_nfsd() error handling

From: Daniele Bellucci <bellucda@tiscali.it>

This is a little register_filesystem audit for nfsd.

23 years ago[PATCH] janitor: convert strtok to strsep (sound/oss)
Randy Dunlap [Fri, 3 Oct 2003 15:32:39 +0000 (08:32 -0700)]
[PATCH] janitor: convert strtok to strsep (sound/oss)

From: maximilian attems <janitor@sternwelten.at>

convert two missed strtok to strsep (sound/oss)

23 years ago[PATCH] janitor: saa7146_register_extension failure report back its
Randy Dunlap [Fri, 3 Oct 2003 15:32:30 +0000 (08:32 -0700)]
[PATCH] janitor: saa7146_register_extension failure report back its

From: Daniele <bellucda@tiscali.it>

 - On saa7146_register_extension failure report back its return code

23 years ago[PATCH] janitor: fix toshiba for !CONFIG_PROC_FS
Randy Dunlap [Fri, 3 Oct 2003 15:32:22 +0000 (08:32 -0700)]
[PATCH] janitor: fix toshiba for !CONFIG_PROC_FS

From: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>

Fix warning in drivers/char/toshiba.c: `tosh_get_info' defined but not
used

23 years ago[PATCH] janitor: cleanup includes (drivers/char)
Randy Dunlap [Fri, 3 Oct 2003 15:32:13 +0000 (08:32 -0700)]
[PATCH] janitor: cleanup includes (drivers/char)

From: Randy Hron <rwhron@earthlink.net>

Cleanup of version.h in drivers/char plus a few in include/linux
that are used in drivers/char.

Duplicate #includes removed.

23 years ago[PATCH] janitor: cleanup includes (sound/oss)
Randy Dunlap [Fri, 3 Oct 2003 15:32:04 +0000 (08:32 -0700)]
[PATCH] janitor: cleanup includes (sound/oss)

From: Randy Hron <rwhron@earthlink.net>

23 years ago[PATCH] janitor: opl3sa2 cleanups/checker
Randy Dunlap [Fri, 3 Oct 2003 15:31:55 +0000 (08:31 -0700)]
[PATCH] janitor: opl3sa2 cleanups/checker

From: Daniele <bellucda@tiscali.it>

 - remove unneeded block of code in opl3sa3_mixer_ioctl
 - remove unused function opl3sa3_set_wide
 - From Stanford Checker:
/home/junfeng/linux-tainted/sound/oss/opl3sa2.c:539:opl3sa3_mixer_ioctl:
ERROR:TAINTED:53 9:539: dereferencing tainted ptr 'arg'
  ..fixed user space pointer referce too on ioctl functions

23 years ago[PATCH] janitor: Audit av7110_ir_init
Randy Dunlap [Fri, 3 Oct 2003 15:31:46 +0000 (08:31 -0700)]
[PATCH] janitor: Audit av7110_ir_init

From: Daniele <bellucda@tiscali.it>

- Audit av7110_ir_init
- On saa7146_register_extension failure report back its return code

23 years ago[PATCH] janitor: fix cciss for !CONFIG_PROC_FS
Randy Dunlap [Fri, 3 Oct 2003 15:31:36 +0000 (08:31 -0700)]
[PATCH] janitor: fix cciss for !CONFIG_PROC_FS

From: Luiz Capitulino <lcapitulino@prefeitura.sp.gov.br>

Fix a warning about 'proc_cciss' and `cciss_proc_get_info' defined but
not used. They are only called when CONFIG_PROC_FS=y.

23 years agoMerge bk://linux-sam.bkbits.net/kbuild
Linus Torvalds [Fri, 3 Oct 2003 13:13:18 +0000 (06:13 -0700)]
Merge bk://linux-sam.bkbits.net/kbuild
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/lord/xfs-2.6
Linus Torvalds [Fri, 3 Oct 2003 13:12:09 +0000 (06:12 -0700)]
Merge bk://kernel.bkbits.net/lord/xfs-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] USB: fix up some non-GPL friendly license wording.
Greg Kroah-Hartman [Fri, 3 Oct 2003 09:40:49 +0000 (02:40 -0700)]
[PATCH] USB: fix up some non-GPL friendly license wording.

Keyspan/InnoSys approved this change.

23 years ago[PATCH] USB: port keyspan patch from 2.4 to 2.6
Greg Kroah-Hartman [Fri, 3 Oct 2003 09:22:11 +0000 (02:22 -0700)]
[PATCH] USB: port keyspan patch from 2.4 to 2.6

Original patch from lucy@innosys.com

Changes include:
     Add support for new USA19H(s) USB Serial Adapter
     Improve handing of config/control messages for all devices

Note that the new adapter doesn't currently require a firmware download.
We will add support for re-programming the eeprom with updated firmware
when new firmware is  required.

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Fri, 3 Oct 2003 08:45:47 +0000 (01:45 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.6

23 years ago[PATCH] USB: fix drivers/usb/host/uhci-debug.c warning when !CONFIG_PROC_FS.
Luiz Capitulino [Fri, 3 Oct 2003 08:18:06 +0000 (01:18 -0700)]
[PATCH] USB: fix drivers/usb/host/uhci-debug.c warning when !CONFIG_PROC_FS.

 I'm getting this when compiling USB with all options enabled:

drivers/usb/host/uhci-debug.c:417: warning: `uhci_sprint_schedule' defined but not used

 my suggestion is to put under the #ifdef/#endif the functions which are
only used by the proc ones too. If one of them become necessary when
CONFIG_PROC_FS=n, the #ifdef/#endif for that function can be removed:

23 years ago[PATCH] USB brlvger: Debug code fixes
Daniel Drake [Fri, 3 Oct 2003 08:16:45 +0000 (01:16 -0700)]
[PATCH] USB brlvger: Debug code fixes

When compiling this driver with WRITE_DEBUG defined (for extra debug output),
gcc outputs warnings for three similar printf statements.

The specifier in each printf statement is not totally correct.
This patch removes these warnings.

23 years ago[PATCH] USB: remove reference to modules.txt in drivers/usb/input/Kconfig
Steven Cole [Fri, 3 Oct 2003 08:16:30 +0000 (01:16 -0700)]
[PATCH] USB: remove reference to modules.txt in drivers/usb/input/Kconfig

This patch removes the reference to Documentation/modules.txt,
which has been removed.  The patch was made against the current
2.6-bk tree.

23 years ago[PATCH] USB: convert usbfs to use new fs parser code.
Greg Kroah-Hartman [Fri, 3 Oct 2003 07:49:02 +0000 (00:49 -0700)]
[PATCH] USB: convert usbfs to use new fs parser code.

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Fri, 3 Oct 2003 07:45:46 +0000 (00:45 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.6

23 years ago[PATCH] small cleanup for AMD/nVidia IDE driver
Bartlomiej Zolnierkiewicz [Fri, 3 Oct 2003 07:45:18 +0000 (00:45 -0700)]
[PATCH] small cleanup for AMD/nVidia IDE driver

ide_pci_setup_ports() from setup-pci.c checks if port is disabled, if so
d->init_setup_dma() and d->init_hwif() won't be called.  There is no need
to check it once again inside init_hwif_amd74xx(), init_dma_amd74xx()
and amd74xx_tune_drive() (hwif->tuneproc will be NULL for disabled port).

Therefore remove amd_enabled variable and now unnecessary init_dma_amd74xx().
Also do not set .init_{iops, dma} to NULL in amd74xx.h (amd74xx_chipsets[]
is declared static).  Bump driver's version number to reflect changes.

Almost identical to the previous VIA case.

23 years ago[PATCH] update pdc4030 driver
Bartlomiej Zolnierkiewicz [Fri, 3 Oct 2003 07:45:10 +0000 (00:45 -0700)]
[PATCH] update pdc4030 driver

- common pdc4030_init() for built-in and module
- kill init_pdc4030() and enable_promise_support flag (no longer needed)
- minor cleanups

23 years ago[PATCH] small cleanup for VIA IDE driver
Bartlomiej Zolnierkiewicz [Fri, 3 Oct 2003 07:43:32 +0000 (00:43 -0700)]
[PATCH] small cleanup for VIA IDE driver

ide_pci_setup_ports() from setup-pci.c checks if port is disabled, if so
d->init_setup_dma() and d->init_hwif() won't be called.  There is no
need to check it once again inside init_hwif_via82cxxx(),
init_dma_via82cxxx() and via82cxxx_tune_drive() (hwif->tuneproc will be
NULL for disabled port).

Therefore remove via_enabled variable and now unnecessary
init_dma_via82cxx().  Also do not set .init_{iops, dma} to NULL in
via82cxxx.h (via82cxxx_chipsets[] is declared static).  Bump driver's
version number to reflect changes.

Acked by Vojtech

23 years ago[PATCH] fix vsyscall page in core dumps
Roland McGrath [Fri, 3 Oct 2003 07:17:11 +0000 (00:17 -0700)]
[PATCH] fix vsyscall page in core dumps

My change to core dumps that was included with the vsyscall DSO
implementation had a bug (braino on my part).  Core dumps don't include the
full page of the vsyscall DSO, and so don't accurately represent the whole
memory image of the process.  This patch fixes it.  I have tested it on
x86, but not tested the same change to 32-bit core dumps on AMD64 (haven't
even compiled on AMD64).

I've also included the corresponding change for the IA64 code that was
copied blindly from the x86 vsyscall implementation, which looks like more
change than it is since I preserved the formatting of the copied code
instead of arbitrarily diddling it along with the trivial symbol name
changes.  I haven't compiled or tested on ia64.

23 years agoMerge kernel.bkbits.net:/home/repos/linux-2.5
Stephen Lord [Fri, 3 Oct 2003 06:34:45 +0000 (23:34 -0700)]
Merge kernel.bkbits.net:/home/repos/linux-2.5
into kernel.bkbits.net:/home/lord/xfs-2.6

23 years ago[XFS] small cleanup
Stephen Lord [Fri, 3 Oct 2003 12:10:31 +0000 (07:10 -0500)]
[XFS] small cleanup

SGI Modid: 2.5.x-xfs:slinx:159477a

23 years ago[XFS] Code cleanup
Stephen Lord [Fri, 3 Oct 2003 05:37:23 +0000 (00:37 -0500)]
[XFS] Code cleanup

SGI Modid: 2.5.x-xfs:slinx:159439b

23 years ago[XFS] Code cleanup
Stephen Lord [Fri, 3 Oct 2003 05:29:00 +0000 (00:29 -0500)]
[XFS] Code cleanup

SGI Modid: 2.5.x-xfs:slinx:159439a

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Fri, 3 Oct 2003 01:35:40 +0000 (18:35 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[SPARC64]: vmap/vunmap cache flushing need not do anything.
David S. Miller [Fri, 3 Oct 2003 00:26:22 +0000 (17:26 -0700)]
[SPARC64]: vmap/vunmap cache flushing need not do anything.

We do though need an I-cache flush on spitfire chips when
doing a module load.

Happily this allows us to kill off flush_cache_all() from
sparc64.

23 years agoMerge mars.ravnborg.org:/home/sam/bk/linux-2.6
Sam Ravnborg [Thu, 2 Oct 2003 23:16:13 +0000 (01:16 +0200)]
Merge mars.ravnborg.org:/home/sam/bk/linux-2.6
into mars.ravnborg.org:/home/sam/bk/kbuild

23 years agokbuild: fixes for separate output directory
Sam Ravnborg [Thu, 2 Oct 2003 23:10:54 +0000 (01:10 +0200)]
kbuild: fixes for separate output directory

- Error out if specified directory does not exist
- Do not build the kernel three times wheh specifying "defconfig all"
- Removed warning when the target all was specified

23 years ago[ELF]: Fix bug in previous change, forgot to advance ei_index over AT_NULL entry.
David S. Miller [Thu, 2 Oct 2003 22:38:11 +0000 (15:38 -0700)]
[ELF]: Fix bug in previous change, forgot to advance ei_index over AT_NULL entry.

23 years agoMerge http://linux-lksctp.bkbits.net/lksctp-2.5
David S. Miller [Thu, 2 Oct 2003 19:48:58 +0000 (12:48 -0700)]
Merge http://linux-lksctp.bkbits.net/lksctp-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

23 years ago[ELF]: Handle auxv bits more cleanly in mixed 32/64 bit environments.
David S. Miller [Thu, 2 Oct 2003 19:43:14 +0000 (12:43 -0700)]
[ELF]: Handle auxv bits more cleanly in mixed 32/64 bit environments.

23 years ago[NETFILTER]: Add sysctl values missing from recent commit.
David S. Miller [Thu, 2 Oct 2003 19:27:15 +0000 (12:27 -0700)]
[NETFILTER]: Add sysctl values missing from recent commit.

23 years ago[NET]: More likely/unlikely in skbuff.h
Stephen Hemminger [Thu, 2 Oct 2003 17:20:35 +0000 (10:20 -0700)]
[NET]: More likely/unlikely in skbuff.h

23 years ago[NET]: Consolidate skb delivery.
Stephen Hemminger [Thu, 2 Oct 2003 17:13:55 +0000 (10:13 -0700)]
[NET]: Consolidate skb delivery.

23 years agoMerge ssh://lord@kernel.bkbits.net/xfs-2.6
Stephen Lord [Thu, 2 Oct 2003 16:51:46 +0000 (11:51 -0500)]
Merge ssh://lord@kernel.bkbits.net/xfs-2.6
into penguin.americas.sgi.com:/src/lord/bitkeeper/xfs-2.6

23 years ago[NETFILTER]: Fix SO_ORIGINAL_DST, broken by earlier endianness fixes.
Harald Welte [Thu, 2 Oct 2003 16:39:47 +0000 (09:39 -0700)]
[NETFILTER]: Fix SO_ORIGINAL_DST, broken by earlier endianness fixes.

23 years ago[NETFILTER]: Cosmetic update to ip6t_ipv6header.
Harald Welte [Thu, 2 Oct 2003 16:33:08 +0000 (09:33 -0700)]
[NETFILTER]: Cosmetic update to ip6t_ipv6header.

23 years ago[NETFILTER]: Fix REJECT is used in LOCAL_OUT.
Patrick McHardy [Thu, 2 Oct 2003 16:32:08 +0000 (09:32 -0700)]
[NETFILTER]: Fix REJECT is used in LOCAL_OUT.

23 years ago[NETFILTER]: Add size check for udp packet mangling.
Patrick McHardy [Thu, 2 Oct 2003 16:31:24 +0000 (09:31 -0700)]
[NETFILTER]: Add size check for udp packet mangling.

23 years ago[NETFILTER]: LOCAL_OUT NAT fix, part 2.
Rusty Russell [Thu, 2 Oct 2003 16:27:04 +0000 (09:27 -0700)]
[NETFILTER]: LOCAL_OUT NAT fix, part 2.

Balazs Scheidler pointed out that we can fail to call ip_nat_setup_info
for local NAT, which causes the connection to be added twice. Boom.
Also move the hash table insertion into ip_nat_setup_info.

23 years ago[NETFILTER]: Make conntrack timeouts become sysctls.
Jozsef Kadlecsik [Thu, 2 Oct 2003 16:21:29 +0000 (09:21 -0700)]
[NETFILTER]: Make conntrack timeouts become sysctls.

This patch introduces the /proc/sys/net/ipv4/netfilter/ directory for=20
the tuneable parameters of the conntrack engine of netfilter.

The parameters which can currently be fine-tuned (if required at all)=20
are the ip_conntrack_max, and the conntrack timeout parameters in seconds.

The default timeout value for the TCP CLOSE_WAIT state is raised to 3
days, which should cause less problems with long-lived half-closed TCP
sessions.

For the sake of compatibility with 2.4,=20
/proc/sys/net/ipv4/netfilter/ip_conntrack_max is duplicated as=20
/proc/sys/net/ipv4/ip_conntrack_max as well.

23 years ago[NETFILTER]: Add support for mIRC's 'server lookup' DCC address detection to ip_connt...
Tiago Sousa [Thu, 2 Oct 2003 16:19:10 +0000 (09:19 -0700)]
[NETFILTER]: Add support for mIRC's 'server lookup' DCC address detection to ip_conntrack_irc.c

23 years ago[NETFILTER]: LOCAL_OUT NAT fix.
Harald Welte [Thu, 2 Oct 2003 16:16:59 +0000 (09:16 -0700)]
[NETFILTER]: LOCAL_OUT NAT fix.

the 25_natcore-nohelper.patch (incorporated in 2.4.22) did actually make
things not better.  If a NAT rule was matched, num_manips can still be 0.
However, some helpers (like PPTP) need to _always mangle the packets,
even if there is no NAT mapping for a particular connection.
On the other hand, as soon as CONFIG_IP_NF_LOCAL_NAT was disabled,
we did end up half-mangling local (non-NAT'ed) connections.  This patch
removes the LOCAL_OUT hook from the NAT core unless CONFIG_IP_NF_NAT_LOCAL
is enabled.

23 years ago[NETFILTER]: Don't call ip_conntrack_put with ip_conntrack_lock held
Patrick McHardy [Thu, 2 Oct 2003 16:11:40 +0000 (09:11 -0700)]
[NETFILTER]: Don't call ip_conntrack_put with ip_conntrack_lock held

23 years ago[NETFILTER]: Fix UDP checksum in ip_nat_mangle_udp_packet, remove skb->csum hacks
Harald Welte [Thu, 2 Oct 2003 16:10:42 +0000 (09:10 -0700)]
[NETFILTER]: Fix UDP checksum in ip_nat_mangle_udp_packet, remove skb->csum hacks

23 years ago[XFS] Either handle preemption with get/put or not, but don't
Stephen Lord [Thu, 2 Oct 2003 12:26:42 +0000 (07:26 -0500)]
[XFS] Either handle preemption with get/put or not, but don't
get without a put!  Fix code for preemptable kernels.

SGI Modid: 2.5.x-xfs:slinx:159379a

23 years agoMerge kernel.bkbits.net:/home/repos/linux-2.5
Stephen Lord [Thu, 2 Oct 2003 10:57:10 +0000 (03:57 -0700)]
Merge kernel.bkbits.net:/home/repos/linux-2.5
into kernel.bkbits.net:/home/lord/xfs-2.6

23 years ago[SCTP] Fix bugs in conversions between msecs and jiffies.
Sridhar Samudrala [Thu, 2 Oct 2003 04:36:34 +0000 (21:36 -0700)]
[SCTP] Fix bugs in conversions between msecs and jiffies.

23 years ago[PATCH] remove io context refcounting debug
Nick Piggin [Thu, 2 Oct 2003 00:53:23 +0000 (17:53 -0700)]
[PATCH] remove io context refcounting debug

This removes the remains of some debugging stuff which was never really
enabled properly - it never reported memory leaks.  Its not useful for
anyone but me.

A proper solution involves counting all requests in flight and all
threads but we'll probably put that just into mm.

23 years ago[PATCH] Improve sget() performance
Alexander Viro [Thu, 2 Oct 2003 00:38:22 +0000 (17:38 -0700)]
[PATCH] Improve sget() performance

sget() is pessimistic and assumes it won't find a superblock - and as a
result it always pre-allocates a new one before even searching for an
existing entry.  If it finds an existing one, it free's the extra one it
just allocated.

Especially with /proc usage it usually _does_ find an existing
superblock, so this is all extra work.  It should allocate a new one
only if it couldn't find an old one (and re-search).

The same way as iget() does it.

23 years ago[PATCH] AS buglet
Nick Piggin [Thu, 2 Oct 2003 00:38:13 +0000 (17:38 -0700)]
[PATCH] AS buglet

This one won't cause hangs, but can trip some WARNs.

23 years agoMerge davem@nuts.ninka.net:/disk1/davem/BK/net-2.5
David S. Miller [Wed, 1 Oct 2003 18:49:21 +0000 (11:49 -0700)]
Merge davem@nuts.ninka.net:/disk1/davem/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

23 years ago[COMPAT]: Fix net bonding driver ioctl translations.
Arun Sharma [Wed, 1 Oct 2003 19:12:23 +0000 (12:12 -0700)]
[COMPAT]: Fix net bonding driver ioctl translations.

23 years ago[PATCH] Better UDF oops fix
Alexander Viro [Wed, 1 Oct 2003 18:11:57 +0000 (11:11 -0700)]
[PATCH] Better UDF oops fix

Rather than not kfree'ing the UDF data in the case of a bad inode (which
still _may_ have had the UDF data already allocated to it), make sure to
initialize the pointer to NULL properly when we're done with it.

23 years ago[PATCH] Disable floppy and the related ioctl32s on some platforms
Andrew Morton [Wed, 1 Oct 2003 18:00:15 +0000 (11:00 -0700)]
[PATCH] Disable floppy and the related ioctl32s on some platforms

From: Arun Sharma <arun.sharma@intel.com>

Based on some earlier discussion:

http://marc.theaimsgroup.com/?t=106015010700002&r=1&w=2

here's a new patch that attempts to disable BLK_DEV_FD on platforms which
don't support it.  The patch also attempts to remove the duplication of the
logic in compat_ioctl.h.

23 years ago[PATCH] update unistd.h for sys_vserver
Andrew Morton [Wed, 1 Oct 2003 18:00:06 +0000 (11:00 -0700)]
[PATCH] update unistd.h for sys_vserver

23 years ago[PATCH] Update James Morris's email address
Andrew Morton [Wed, 1 Oct 2003 17:59:58 +0000 (10:59 -0700)]
[PATCH] Update James Morris's email address

From: James Morris <jmorris@redhat.com>

23 years ago[PATCH] ioctl32 fix to SG_IO
Andrew Morton [Wed, 1 Oct 2003 17:59:49 +0000 (10:59 -0700)]
[PATCH] ioctl32 fix to SG_IO

From: Arun Sharma <arun.sharma@intel.com>

A minor bug fix to the ioctl32 code handling SG_IO.  sgio->dxferp is not
initialzed properly.

23 years ago[PATCH] Fix allyesconfig for HugeTLB-less archs
Andrew Morton [Wed, 1 Oct 2003 17:59:42 +0000 (10:59 -0700)]
[PATCH] Fix allyesconfig for HugeTLB-less archs

From: Geert Uytterhoeven <geert@linux-m68k.org>

Make that allyesconfig works on architectures that don't support HugeTLBs.

23 years ago[PATCH] Fix compile warning in g_NCR5380
Andrew Morton [Wed, 1 Oct 2003 17:59:34 +0000 (10:59 -0700)]
[PATCH] Fix compile warning in g_NCR5380

From: Andries.Brouwer@cwi.nl

 `generic_NCR5380_biosparam' declared `static' but never defined

23 years ago[PATCH] update Documentation/iostats.txt
Andrew Morton [Wed, 1 Oct 2003 17:59:27 +0000 (10:59 -0700)]
[PATCH] update Documentation/iostats.txt

From: Rick Lindsley <ricklind@us.ibm.com>

One typo corrected, and the references to 2.5 are minimized and mostly
changed to 2.6.

23 years ago[PATCH] /proc/PID/auxv file and NT_AUXV core note
Andrew Morton [Wed, 1 Oct 2003 17:59:18 +0000 (10:59 -0700)]
[PATCH] /proc/PID/auxv file and NT_AUXV core note

From: Roland McGrath <roland@redhat.com>

gdb really needs some way to know the AT_SYSINFO_EHDR value for a process
being debugged or for the dead process described by a core file.  Without
this value, it can't find the information necessary to show backtraces of
threads waiting in system calls.  There are any number of ways this
information could be made available.  Here is one solution that provides
more debugging information in a clean and general fashion.

I've added access to the AT_* values passed to a process for third parties
to examine for debugging purposes.  The same data passed on the stack at
startup is made available in /proc/PID/auxv and is written in an NT_AUXV
note in core dumps.  (Both of these are consistent with what Solaris does
using the same names.)

Here are two different patches that implement the same thing differently.
The first patch uses a ref-counted data structure to copy the aux vector
and shares among forked mm's until they exec and get a new one.  The second
patch avoids the complexity of that data structure by simply expanding the
mm_struct with space to hold a copy of the data.  Both patches work
correctly; I have examined the new /proc/PID/auxv file and core dumps.

I hope you will consider including one of these patches, or at least some
way of getting at this information from the debugger.  I am certainly open
to other suggestions on implementing this feature, and to suggestions on
alternative interfaces for getting the AT_SYSINFO_EHDR value cleanly.

23 years ago[PATCH] misc fixes
Andrew Morton [Wed, 1 Oct 2003 17:59:11 +0000 (10:59 -0700)]
[PATCH] misc fixes

- mpparse printk should be in hex (john stultz <johnstul@us.ibm.com>)

- fiddle with RCU copyright messages (Dipankar Sarma <dipankar@in.ibm.com>)

- use print_dev_t() for sysfs dev file in videodev.c (Gerd Knorr
  <kraxel@bytesex.org>)

- comx-hw-munich.c 64-bit warning fix (Vinay K Nallamothu
  <vinay.nallamothu@gsecone.com>)

- random.c return val fix

23 years ago[PATCH] befs: fix resource leak on register_filesystem failure
Andrew Morton [Wed, 1 Oct 2003 17:59:03 +0000 (10:59 -0700)]
[PATCH] befs: fix resource leak on register_filesystem failure

From: Will Dyson <will_dyson@pobox.com>

Remember to free the inode cache if register_filesystem() fails.

23 years ago[PATCH] scripts/pnmtologo.c warning fixes
Andrew Morton [Wed, 1 Oct 2003 17:58:55 +0000 (10:58 -0700)]
[PATCH] scripts/pnmtologo.c warning fixes

From: Rolf Eike Beer <eike-kernel@sf-tec.de>

this patch makes some ints to unsigned ints.  They are only used as loop
counters and compared to unsigned ints.  GCC 3.3 doesn't like this.  They
will never be negative anyway, so we could easily shut him up.

23 years ago[PATCH] Pass nameidata to security_inode_permission hook
Andrew Morton [Wed, 1 Oct 2003 17:58:48 +0000 (10:58 -0700)]
[PATCH] Pass nameidata to security_inode_permission hook

From: Stephen Smalley <sds@epoch.ncsc.mil>

This patch changes the security_inode_permission hook to also take a
nameidata parameter in addition to the existing inode and mask parameters.

A nameidata is already passed (although sometimes NULL) to
fs/namei.c:permission(), and the patch changes exec_permission_lite() to
also take a nameidata parameter so that it can pass it along to the
security hook.

The patch includes corresponding changes to the SELinux module to use the
nameidata information when it is available; this allows SELinux to include
pathname information in audit messages when a nameidata structure was
supplied.

23 years ago[PATCH] Fix bug in SELinux convert_context
Andrew Morton [Wed, 1 Oct 2003 17:58:39 +0000 (10:58 -0700)]
[PATCH] Fix bug in SELinux convert_context

From: Stephen Smalley <sds@epoch.ncsc.mil>

This patch fixes a bug introduced by earlier code cleanups in the SELinux
convert_context code that manifests upon a policy reload that removes
previously valid security attributes.  Thanks to Magosanyi Arpad for
reporting the bug.

23 years ago[PATCH] fix memleak in mtd/chips/cfi_cmdset_0020.c
Andrew Morton [Wed, 1 Oct 2003 17:58:31 +0000 (10:58 -0700)]
[PATCH] fix memleak in mtd/chips/cfi_cmdset_0020.c

From: Felipe W Damasio <felipewd@terra.com.br>

If other kmallocs failed after successfully allocating a "struct mtd_info",
it should be freed before returning NULL.

23 years ago[PATCH] check permission in ->open for /proc/sys/
Andrew Morton [Wed, 1 Oct 2003 17:58:24 +0000 (10:58 -0700)]
[PATCH] check permission in ->open for /proc/sys/

From: Christoph Hellwig <hch@lst.de>

It's the only abuse of proc_iops left (except the totally b0rked comx
driver).  The patch is from Al, I just forward-ported it from 2.4.

Background: struct proc_dir_entry has a struct inode_operations *proc_iops
member, it's from Linux's stoneage and used internally by procfs to assign
either the link or directory inode ops.

Unfortunately some drivers started to abuse it do do bad things like create
on lookup (that's the comx thingy which relies on unexported symbols and thus
is broken for modular builds since mid-2.3) or various ->permission tricks
(all gone by now).

After this patch is gone I have another one that kills proc_iops and just
uses a normal conditional inside procfs to assign the right one directly.

23 years ago[PATCH] module parameter array fixes
Andrew Morton [Wed, 1 Oct 2003 17:58:15 +0000 (10:58 -0700)]
[PATCH] module parameter array fixes

From: Rusty Russell <rusty@rustcorp.com.au>

Found this while converting netfilter modules to use the new
parameters.  Also fixes an out-by-one error in maximum elements you
can put in array.

The current "intarray" module params were never tested, and um, suck.
Only one person uses them, and it looks painful.

Since noone uses them, replace them with tested versions.

23 years ago[PATCH] table-driven filesystems option parsing
Andrew Morton [Wed, 1 Oct 2003 17:58:08 +0000 (10:58 -0700)]
[PATCH] table-driven filesystems option parsing

From: "Randy.Dunlap" <rddunlap@osdl.org>, Will Dyson <will_dyson@pobox.com>, me

Add generic filesystem options parser (infrastructure) and use it to parse
mount options in several filesystems (adfs, affs, autofs, autofs4, ext2,
ext3, fat, hfs, hpfs, isofs, jfs, procfs, udf, and ufs).

It saves between 128 and 512 bytes per filesystem.

23 years ago[PATCH] memory writeback/invalidation fixes
Andrew Morton [Wed, 1 Oct 2003 17:57:58 +0000 (10:57 -0700)]
[PATCH] memory writeback/invalidation fixes

From: "David S. Miller" <davem@redhat.com>

This attempts to take care of 2 of the MM todos I had on
my backlog:

1) Zap the stupid flush_cache_all() thing with more meaningful
   interfaces.

2) Resolve the ptrace user page access issues, first stage.

The "first stage" mentioned for #2 is simply creating the
user page accesor interfaces.  The next stage needs to be
mucking with get_user_pages() so that we can control when
the flush_dcache_page() occurs.  Then we:

1) For every platform where flush_dcache_page() is a non-nop
   add a call to the beginning of copy_{from,to}_user_page().
2) Make access_process_vm() set the "no dcache flush" bit in
   it's call to get_user_pages().

The idea also was that we'd consolidate the write etc. boolean
args passed to get_user_pages() into flag bits too.

But at least with the below, we can delete that reminder FIXME
comment from kernel/ptrace.c, the platforms have the necessary
tools and just need to make use of it :)

As a bonus I noticed that VMALLOC_VMADDR() did absolutely nothing.

After all of this I only have 1 real TODO left, and that's dealing
with the SMP TLB/pte invalidation stuff, very low priority until
someone starts doing more work with sparc32/SMP in 2.6.x :)

23 years ago[PATCH] x86 mman.h fix
Andrew Morton [Wed, 1 Oct 2003 17:57:49 +0000 (10:57 -0700)]
[PATCH] x86 mman.h fix

Remove duplicated #defines

23 years ago[PATCH] dev_t forward compatibility fix
Andrew Morton [Wed, 1 Oct 2003 17:57:40 +0000 (10:57 -0700)]
[PATCH] dev_t forward compatibility fix

From: Andries.Brouwer@cwi.nl

ext2 used a 32-bit field for dev_t, with possibly undefined storage
following; thus, no action was required to go to 32-bit dev_t, but going to
64-bit dev_t required some subtlety: 0 was written in the first word and
the 64 bits in the following two.  Al truncated my 64-bit stuff to 32 bits
but did not understand why there was this split, and wrote 0 followed by a
single word.  We should at least zero the word following to have
well-defined storage later.

23 years ago[PATCH] Add missing label in isdn_common.c
Andrew Morton [Wed, 1 Oct 2003 17:57:32 +0000 (10:57 -0700)]
[PATCH] Add missing label in isdn_common.c

From: Herbert Xu <herbert@gondor.apana.org.au>

The last change to isdn_common.c removed a label that is used when
ISDN_PPP is defined.  This patch puts it back.

23 years ago[PATCH] Add bin2c copyrights
Andrew Morton [Wed, 1 Oct 2003 17:57:24 +0000 (10:57 -0700)]
[PATCH] Add bin2c copyrights

From: Oliver Xymoron <oxymoron@waste.org>

I just noticed the ikconfig stuff made it into mainline via -mm. I
also just noticed that it's based in part on a patch I posted almost 5
years ago:

http://groups.google.com/groups?q=oliver+xymoron+config.gz&hl=en&lr=&ie=UTF-8&selm=fa.j8fsl5v.g08fjo%40ifi.uio.no&rnum=2

Sadly, after wandering aimlessly in the desert of unloved patches all
those years, all attribution got lost. This adds a copyright + license
to scripts/bin2c.c, which hasn't aged a day.

23 years ago[PATCH] Fix double request_region in com20020
Andrew Morton [Wed, 1 Oct 2003 17:57:16 +0000 (10:57 -0700)]
[PATCH] Fix double request_region in com20020

From: Herbert Xu <herbert@gondor.apana.org.au>

Currently com20020 and com20020_cs both call request_region on the same
block of ports leading to a conflict.  This patch resolves this by moving
request_region out of the generic driver and into the isa/pci/cs drivers.

23 years ago[PATCH] Fix memory leak in hugetlbfs
Andrew Morton [Wed, 1 Oct 2003 17:57:08 +0000 (10:57 -0700)]
[PATCH] Fix memory leak in hugetlbfs

From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>

The hugetlbfs_fill_super() doesn't free up memory allocated for sbinfo on
the way out in case of parsing error (and a few others).  This leads to
memory leak If root tries to mount a hugetlbfs with invalid mount option.
Here is a patch that fix the problem.

23 years ago[PATCH] dscc4 warning fixes
Andrew Morton [Wed, 1 Oct 2003 17:57:00 +0000 (10:57 -0700)]
[PATCH] dscc4 warning fixes

- ifdef out a couple of unused functions

- remove unused label

- __setup function is not used when compiled as a module.

23 years ago[PATCH] qla1280 locking update
Jes Sorensen [Wed, 1 Oct 2003 15:56:56 +0000 (08:56 -0700)]
[PATCH] qla1280 locking update

This fixes the qla1280 driver to not try to release an unlocked spinlock
at boot time - as well as a couple of other minor mods.

I also changed the MMIO option to be dependant on X86_VISWS as it's
really a chipset problem and not something each and every driver should
be asking for.

Getting a global CONFIG_MMIO_IS_BROKEN option would probable be a win
here.

23 years ago[PATCH] Alpha cypress CPU frequency calibration
Ivan Kokshaysky [Wed, 1 Oct 2003 15:52:33 +0000 (08:52 -0700)]
[PATCH] Alpha cypress CPU frequency calibration

This fixes (again...) CPU frequency calibration on some platforms with
the Cypress chip.  That is, at some point CLOCK_TICK_RATE has been
changed to represent RTC reference clock instead of PIC one.  Which
makes calibrate_cc_with_pic() produce utterly bogus results.

23 years ago[PATCH] for Alpha against 2.6.0-test6
Jay Estabrook [Wed, 1 Oct 2003 15:51:07 +0000 (08:51 -0700)]
[PATCH] for Alpha against 2.6.0-test6

Here is a very small set of fixes for Linux/axp, with a new one for
"sched_clock" just introduced.

Note that all but the arch/alpha/mm/init.c are required for a clean
build, since warnings->errors is still on.

The arch/alpha/mm/init.c stuff is from Jeff for MARVEL, and MUST be there
for any machines running the latest firmware...

23 years ago[PATCH] UDF oops on inode read failure
Ben Fennema [Wed, 1 Oct 2003 15:44:15 +0000 (08:44 -0700)]
[PATCH] UDF oops on inode read failure

This fixes an oops with failed inode reads on UDF

23 years ago[PATCH] fix btaudio error case
Sander van Malssen [Wed, 1 Oct 2003 09:35:17 +0000 (02:35 -0700)]
[PATCH] fix btaudio error case

Free the right buffer on allocation error

23 years agoMerge bk://kernel.bkbits.net/acme/ksyms-2.6
Linus Torvalds [Wed, 1 Oct 2003 07:11:31 +0000 (00:11 -0700)]
Merge bk://kernel.bkbits.net/acme/ksyms-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoo kernel/ksyms.c: move relevant EXPORT_SYMBOLs to fs/seq_file.c
Arnaldo Carvalho de Melo [Wed, 1 Oct 2003 17:26:23 +0000 (14:26 -0300)]
o kernel/ksyms.c: move relevant EXPORT_SYMBOLs to fs/seq_file.c

23 years agoo kernel/ksyms.c: move relevant EXPORT_SYMBOLs to fs/exec.c
Arnaldo Carvalho de Melo [Wed, 1 Oct 2003 17:20:46 +0000 (14:20 -0300)]
o kernel/ksyms.c: move relevant EXPORT_SYMBOLs to fs/exec.c

23 years agoo kernel/ksyms.c: move relevant EXPORT_SYMBOLs to fs/inode.c
Arnaldo Carvalho de Melo [Wed, 1 Oct 2003 17:12:48 +0000 (14:12 -0300)]
o kernel/ksyms.c: move relevant EXPORT_SYMBOLs to fs/inode.c

23 years agoo kernel/ksyms.c: move relevant EXPORT_SYMBOLs to kernel/sysctl.c
Arnaldo Carvalho de Melo [Wed, 1 Oct 2003 16:56:11 +0000 (13:56 -0300)]
o kernel/ksyms.c: move relevant EXPORT_SYMBOLs to kernel/sysctl.c

23 years agoo kernel/ksyms.c: move relevant EXPORT_SYMBOLs to fs/super.c
Arnaldo Carvalho de Melo [Wed, 1 Oct 2003 16:36:58 +0000 (13:36 -0300)]
o kernel/ksyms.c: move relevant EXPORT_SYMBOLs to fs/super.c

23 years agoo kernel/ksyms.c: move relevant EXPORT_SYMBOLs to fs/block_dev.c
Arnaldo Carvalho de Melo [Wed, 1 Oct 2003 16:16:46 +0000 (13:16 -0300)]
o kernel/ksyms.c: move relevant EXPORT_SYMBOLs to fs/block_dev.c

23 years agoo kernel/ksyms.c: set_cpus_schedule was EXPORT_SYMBOL_GPL, bring it back
Arnaldo Carvalho de Melo [Wed, 1 Oct 2003 14:23:39 +0000 (11:23 -0300)]
o kernel/ksyms.c: set_cpus_schedule was EXPORT_SYMBOL_GPL, bring it back

Originally, before this set of patches moving stuff out from kernel/ksyms.c,
set_cpus_schedule was EXPORT_SYMBOL_GPL, my mistake, bring it back.

Also follow Andrew Morton's suggestions of moving the EXPORT_SYMBOL{_GPL) even
closer to the place where the symbol exported is defined, i.e. just after the
symbol definition, this makes mistakes more difficult to happen, as when the
symbol definition is #ifdefed the EXPORT_SYMBOL{_GPL} is in the same block.

23 years agoo kernel/ksyms.c: move relevant EXPORT_SYMBOLs to mm/filemap.c
Arnaldo Carvalho de Melo [Wed, 1 Oct 2003 14:08:07 +0000 (11:08 -0300)]
o kernel/ksyms.c: move relevant EXPORT_SYMBOLs to mm/filemap.c

23 years agoFix bogus preprocessor end comment to match the real scope.
Linus Torvalds [Wed, 1 Oct 2003 06:26:07 +0000 (23:26 -0700)]
Fix bogus preprocessor end comment to match the real scope.

23 years agoMerge bk://kernel.bkbits.net/acme/ksyms-2.6
Linus Torvalds [Wed, 1 Oct 2003 03:51:27 +0000 (20:51 -0700)]
Merge bk://kernel.bkbits.net/acme/ksyms-2.6
into home.osdl.org:/home/torvalds/v2.5/linux