]> git.hungrycats.org Git - linux/log
linux
22 years agoLinux v2.5.60 v2.5.60
Linus Torvalds [Mon, 10 Feb 2003 02:32:47 +0000 (18:32 -0800)]
Linux v2.5.60

22 years ago[PATCH] Finish job of trimming ".o" module extension in Kconfig files
Steven Cole [Mon, 10 Feb 2003 01:40:33 +0000 (17:40 -0800)]
[PATCH] Finish job of trimming ".o" module extension in Kconfig files

Most of the instances of <module>.o in Kconfig files have had the ".o"
extension trimmed.  This change came from GertJan Spoelman through Rusty
"Trivial" Russell.

However, there are a few files that didn't get trimmed.  This brings
them line with the rest of the tree.

22 years agoWake up a stopped task _after_ having marked the SIGCONT pending,
Linus Torvalds [Sun, 9 Feb 2003 23:58:04 +0000 (15:58 -0800)]
Wake up a stopped task _after_ having marked the SIGCONT pending,
so that there isn't any window for running before the signal
handler has been invoced.

22 years agoCreate "wake_up_state()" macro that selectively wakes up processes only
Linus Torvalds [Sun, 9 Feb 2003 13:32:37 +0000 (05:32 -0800)]
Create "wake_up_state()" macro that selectively wakes up processes only
from certain states.

This simplifies "default_wake_function()", and makes it possible for
signal handling to wake up only the processes it _should_ wake up
without races.

22 years ago[PATCH] Change all <module>.o to .ko in Kconfig files
Rusty Russell [Sun, 9 Feb 2003 11:03:12 +0000 (03:03 -0800)]
[PATCH] Change all <module>.o to .ko in Kconfig files

From:  GertJan Spoelman <kl@gjs.cc>

  OK, here is a new patch, I edited the old patch and took out the .ko's
  so now the extension is trimmed instead.

22 years ago[PATCH] Write with buffer>2GB returns broken errno (2)
Rusty Russell [Sun, 9 Feb 2003 11:01:17 +0000 (03:01 -0800)]
[PATCH] Write with buffer>2GB returns broken errno (2)

[ Acked by AKPM --RR ]
From:  Kazuto MIYOSHI <miyoshi@hpc.bs1.fc.nec.co.jp>

  On 64-bit platforms, issuing write(2) with buffer larger than
  2GB will return -1 and broken errno (such as 2147483640)
  Requested data itself is written correctly.

  That is because generic_file_write() and other relating functions
  store 'ssize_t written' into 'int err'. Written byte is trimmed to
  int and then sign-extended to a negative ssize_t value, which
  wrongly indicates an error.

  (On 64bit platform, current glibc defines SSIZE_MAX as 'LONG_MAX')

22 years ago[PATCH] add two help texts to drivers_media_video_Kconfig
Rusty Russell [Sun, 9 Feb 2003 11:01:09 +0000 (03:01 -0800)]
[PATCH] add two help texts to drivers_media_video_Kconfig

From:  Steven Cole <elenstev@mesatop.com>

  Here are some help texts from 2.4.21-pre3 Configure.help which are
  needed in 2.5.59 drivers/media/video/Kconfig.

22 years ago[PATCH] Change "char version" to initdata in drivers_net_tulip_de4x5.c
Rusty Russell [Sun, 9 Feb 2003 11:00:57 +0000 (03:00 -0800)]
[PATCH] Change "char version" to initdata in drivers_net_tulip_de4x5.c

From:  Pablo Menichini <pablo@menichini.com.ar>

22 years ago[PATCH] add four help texts to drivers_char_watchdog_Kconfig
Rusty Russell [Sun, 9 Feb 2003 11:00:51 +0000 (03:00 -0800)]
[PATCH] add four help texts to drivers_char_watchdog_Kconfig

From:  Steven Cole <elenstev@mesatop.com>

  Here are some help texts from 2.4.21-pre3 Configure.help which are
  needed in 2.5.59 drivers/char/watchdog/Kconfig.

22 years ago[PATCH] add six help texts to drivers_ide_Kconfig
Rusty Russell [Sun, 9 Feb 2003 11:00:43 +0000 (03:00 -0800)]
[PATCH] add six help texts to drivers_ide_Kconfig

From:  Steven Cole <elenstev@mesatop.com>

  Here are some help texts from 2.4.21-pre3 Configure.help which are
  needed in 2.5.59 drivers/ide/Kconfig.

22 years ago[PATCH] swsusp: do not panic on bad signature with noresume
Rusty Russell [Sun, 9 Feb 2003 11:00:36 +0000 (03:00 -0800)]
[PATCH] swsusp: do not panic on bad signature with noresume

From:  Pavel Machek <pavel@ucw.cz>

  This patch makes kernel ignore bad signature on suspend device when
  "noresume" is given, and cleans things up a little bit. Please apply,

22 years ago[PATCH] fix linewrap in Documentation_arm_SA1100_CERF
Rusty Russell [Sun, 9 Feb 2003 11:00:30 +0000 (03:00 -0800)]
[PATCH] fix linewrap in Documentation_arm_SA1100_CERF

[ Verified that no text changed with tr and cmp --RR ]
From:  ookhoi@humilis.net

  With this patch I tried to make Documentation/arm/SA1100/CERF more
  readible by fixing the linewrap.

22 years ago[PATCH] fix spelling of kernel in arch_v850_kernel_mach.h
Rusty Russell [Sun, 9 Feb 2003 11:00:22 +0000 (03:00 -0800)]
[PATCH] fix spelling of kernel in arch_v850_kernel_mach.h

From:  Steven Cole <elenstev@mesatop.com>

  This fixes the only instance of "kernal" in 2.5.59.

22 years ago[PATCH] Squash unused function in fs_nfs_mount_clnt.c
Rusty Russell [Sun, 9 Feb 2003 11:00:16 +0000 (03:00 -0800)]
[PATCH] Squash unused function in fs_nfs_mount_clnt.c

From:  David Gibson <david@gibson.dropbear.id.au>

  is never used, so this patch removes it.

22 years ago[PATCH] nfs_write.c warning
Rusty Russell [Sun, 9 Feb 2003 11:00:08 +0000 (03:00 -0800)]
[PATCH] nfs_write.c warning

From:  William Lee Irwin III <wli@holomorphy.com>

  This trivially corrects an unused variable warning in nfs/write.c:

22 years ago[PATCH] remove LinuxVersionCode from de4x5.h
Rusty Russell [Sun, 9 Feb 2003 11:00:00 +0000 (03:00 -0800)]
[PATCH] remove LinuxVersionCode from de4x5.h

From:  Adrian Bunk <bunk@fs.tum.de>

  drivers/net/tulip/de4x5.h in 2.5.54 contains a definition of
  LinuxVersionCode. LinuxVersionCode isn't used and it's anyway obsoleted
  by KERNEL_VERSION in version.h.

22 years ago[PATCH] Kill unused code
Rusty Russell [Sun, 9 Feb 2003 10:59:52 +0000 (02:59 -0800)]
[PATCH] Kill unused code

From:  Pavel Machek <pavel@ucw.cz>

  Second part of this patch never got in (and I was told it was not bug
  in ASUS but in linux), so it is useless junk... Please apply,

22 years ago[PATCH] Fix return code of init_module in drivers_net_arlan.c (2)
Rusty Russell [Sun, 9 Feb 2003 10:59:46 +0000 (02:59 -0800)]
[PATCH] Fix return code of init_module in drivers_net_arlan.c (2)

From:  Pablo Menichini <pablo@menichini.com.ar>

   This patch returns correct error codes if init_modules fail.
  Because of this, we can take the printks indicating the error as these
  corrected error codes return miningfull information.

22 years ago[PATCH] fix typo of members name in drivers_mtd_ftl.c
Rusty Russell [Sun, 9 Feb 2003 10:59:38 +0000 (02:59 -0800)]
[PATCH] fix typo of members name in drivers_mtd_ftl.c

From:  Pablo Menichini <pablo@menichini.com.ar>

22 years ago[PATCH] RTC alarm and wildcards
Rusty Russell [Sun, 9 Feb 2003 10:59:32 +0000 (02:59 -0800)]
[PATCH] RTC alarm and wildcards

(Included in 2.4)
From:  Paul Gortmaker <p_gortmaker@yahoo.com>

  Summary: Wildcards in RTC alarm settings failed to work

  Description:
   The RTC has provision for wildcards when setting the alarm; to
   use them you have to write a value higher than 0xc0 to the
   appropriate hr/min/sec entry.  The driver used 0xff, which is
   fine, but it mistakenly fed the 0xff through BIN_TO_BCD before
   writing them (which is < 0xc0) and so wildcards didn't work.
   (Thanks to Gerhard Kurz for reporting the bug.)

22 years ago[PATCH] Memory leak in drivers_net_arlan.c (1)
Rusty Russell [Sun, 9 Feb 2003 10:59:23 +0000 (02:59 -0800)]
[PATCH] Memory leak in drivers_net_arlan.c (1)

From:  Pablo Menichini <pablo@menichini.com.ar>

22 years ago[PATCH] make i2c-core driver_lock static
Rusty Russell [Sun, 9 Feb 2003 10:59:12 +0000 (02:59 -0800)]
[PATCH] make i2c-core driver_lock static

From:  Muli Ben-Yehuda <mulix@mulix.org>

  The i2c driver_lock is needlessly exported.
  This makes it static.

22 years ago[PATCH] Remove compile warning from fs_xfs_support_move.c
Rusty Russell [Sun, 9 Feb 2003 10:59:05 +0000 (02:59 -0800)]
[PATCH] Remove compile warning from fs_xfs_support_move.c

From:  Bob Miller <rem@osdl.org>

  Include string.h to remove a compiler warning.

22 years ago[PATCH] add two help texts to drivers_i2c_Kconfig
Rusty Russell [Sun, 9 Feb 2003 10:58:57 +0000 (02:58 -0800)]
[PATCH] add two help texts to drivers_i2c_Kconfig

From:  Steven Cole <elenstev@mesatop.com>

  Here are some help texts from 2.4.21-pre3 Configure.help which are
  needed in 2.5.59 drivers/i2c/Kconfig.

22 years ago[PATCH] Change "char _version" to "char in drivers_net_mac8390.c
Rusty Russell [Sun, 9 Feb 2003 10:58:49 +0000 (02:58 -0800)]
[PATCH] Change "char _version" to "char in drivers_net_mac8390.c

From:  Pablo Menichini <pablo@menichini.com.ar>

22 years ago[PATCH] scripts_ver_linux
Rusty Russell [Sun, 9 Feb 2003 10:58:40 +0000 (02:58 -0800)]
[PATCH] scripts_ver_linux

From:  Frank Davis <fdavis@si.rr.com>

     The ver_linux script is still using rmmod to determine
  module-init-tools version. The following patch uses depmod,
  which produces the appropriate result.

22 years ago[PATCH] add one help text to drivers_atm_Kconfig
Rusty Russell [Sun, 9 Feb 2003 10:58:33 +0000 (02:58 -0800)]
[PATCH] add one help text to drivers_atm_Kconfig

From:  Steven Cole <elenstev@mesatop.com>

  Here is a help text from 2.4.21-pre4 Configure.help which is
  needed in 2.5.59 drivers/atm/Kconfig.

22 years ago[PATCH] Change "char _version" to "char in drivers_lcs.c
Rusty Russell [Sun, 9 Feb 2003 10:58:26 +0000 (02:58 -0800)]
[PATCH] Change "char _version" to "char in drivers_lcs.c

From:  Pablo Menichini <pablo@menichini.com.ar>

22 years ago[PATCH] parport_pc and !CONFIG_PNP
Rusty Russell [Sun, 9 Feb 2003 10:58:19 +0000 (02:58 -0800)]
[PATCH] parport_pc and !CONFIG_PNP

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

  parport_pc_pnp_driver is const if !CONFIG_PNP, while pnp_register_driver()
  takes a non-const pointer as parameter.

  An alternative fix is to change the prototype of the dummy
  pnp_register_driver(), but this may affect other drivers.

22 years ago[PATCH] remove check_region from drivers_net_irda_irport.c
Rusty Russell [Sun, 9 Feb 2003 10:58:12 +0000 (02:58 -0800)]
[PATCH] remove check_region from drivers_net_irda_irport.c

From:  william stinson <wstinson@wanadoo.fr>

  this patch for drivers/net/irda/irport.c IRDA driver removes one call
  to check_region using request_region instead.  The patch also moves
  the call to request_region to before the allocation of the driver
  instance.

22 years ago[PATCH] fix comment in module.c
Rusty Russell [Sun, 9 Feb 2003 10:58:06 +0000 (02:58 -0800)]
[PATCH] fix comment in module.c

From:  John Levon <levon@movementarian.org>

22 years ago[PATCH] Remove superflous 'either'
Rusty Russell [Sun, 9 Feb 2003 10:57:59 +0000 (02:57 -0800)]
[PATCH] Remove superflous 'either'

From:  John Bradford <john@grabjohn.com>

22 years ago[PATCH] Documentation_Changes
Rusty Russell [Sun, 9 Feb 2003 10:57:52 +0000 (02:57 -0800)]
[PATCH] Documentation_Changes

From:  Frank Davis <fdavis@si.rr.com>

  this was already mentioned on l-k by ramune@net-ronin.org, but isn't in
  2.5.59. Placing on the trivial queue for inclusion.

22 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.make
Linus Torvalds [Sun, 9 Feb 2003 10:47:26 +0000 (02:47 -0800)]
Merge http://linux-isdn.bkbits.net/linux-2.5.make
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoFix missing break, causing sigprocmask(SIG_SETMASK ...) to always
Linus Torvalds [Sun, 9 Feb 2003 10:38:19 +0000 (02:38 -0800)]
Fix missing break, causing sigprocmask(SIG_SETMASK ...) to always
return an error.

Interestingly, nobody much seems to care. Apparently few programs
check the error value.

22 years agoMake sigprocmask() available to kernel threads too, since a lot of
Linus Torvalds [Sun, 9 Feb 2003 10:17:26 +0000 (02:17 -0800)]
Make sigprocmask() available to kernel threads too, since a lot of
them do want to temporarily block signals.

Kernel users can also block signals that are normally unblockable
to user space, ie SIGKILL and SIGSTOP.

Make nfsd and autofs use the new interface, as an example to others.

22 years ago[PATCH] simple EXT2 patch
Mikulas Patocka [Sun, 9 Feb 2003 09:13:18 +0000 (01:13 -0800)]
[PATCH] simple EXT2 patch

Do not crash on null pointer dereference, if cannot reread superblock.

22 years ago[PATCH] zap_other_threads() needs tasklist_lock held
Roland McGrath [Sun, 9 Feb 2003 09:11:21 +0000 (01:11 -0800)]
[PATCH] zap_other_threads() needs tasklist_lock held

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Sun, 9 Feb 2003 09:01:59 +0000 (01:01 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] lock group_send_sig_info() properly
Ingo Molnar [Sun, 9 Feb 2003 09:00:12 +0000 (01:00 -0800)]
[PATCH] lock group_send_sig_info() properly

  - a read_lock(&tasklist_lock) is missing around the group_send_sig_info()
    in send_sig_info().

22 years ago[PATCH] Lock session and group ID setting
Ingo Molnar [Sun, 9 Feb 2003 08:59:53 +0000 (00:59 -0800)]
[PATCH] Lock session and group ID setting

 - session-IDs and group-IDs are set outside the tasklist lock. This
   causes breakage in the USB code. The correct fix is to do this:

I introduced the bug with the new pidhash.

22 years agoMerge http://linux-scsi.bkbits.net/scsi-for-linus-2.5
Linus Torvalds [Sun, 9 Feb 2003 08:53:26 +0000 (00:53 -0800)]
Merge http://linux-scsi.bkbits.net/scsi-for-linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoMerge http://linux-sound.bkbits.net/linux-sound
Linus Torvalds [Sun, 9 Feb 2003 08:52:49 +0000 (00:52 -0800)]
Merge http://linux-sound.bkbits.net/linux-sound
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoppc64: Fix nasty bug in cmpxchg where we would sign extend the old value.
Anton Blanchard [Mon, 10 Feb 2003 21:45:43 +0000 (08:45 +1100)]
ppc64: Fix nasty bug in cmpxchg where we would sign extend the old value.

22 years agoppc64: update for signal changes
Anton Blanchard [Mon, 10 Feb 2003 21:02:47 +0000 (08:02 +1100)]
ppc64: update for signal changes

22 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Mon, 10 Feb 2003 20:56:04 +0000 (07:56 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/sfr

22 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Mon, 10 Feb 2003 07:17:06 +0000 (18:17 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/sfr

22 years agoALSA update
Jaroslav Kysela [Sun, 9 Feb 2003 20:47:59 +0000 (21:47 +0100)]
ALSA update
  - moved inclusion of <linux/interrupt.h> from <sound/asound.h> to <sound/timer.h>
  - pmac driver - removed beep stuff for 2.5 kernels
  - USB driver - fixed compilation

22 years agoresolve conflicts
Anton Blanchard [Sun, 9 Feb 2003 10:51:36 +0000 (21:51 +1100)]
resolve conflicts

22 years ago[SCSI] Add missing list head init of cmd_list
James Bottomley [Sun, 9 Feb 2003 06:09:43 +0000 (00:09 -0600)]
[SCSI] Add missing list head init of cmd_list

22 years ago[SCSI] Remove 53c7,8xx since we have plenty of alternatives.
James Bottomley [Sun, 9 Feb 2003 05:01:41 +0000 (23:01 -0600)]
[SCSI] Remove 53c7,8xx since we have plenty of alternatives.

We have 53c700.c and 53c7xx for the 7xx series and
ncr53c8xx for the 720.  The sym53c8xx_2 covers all the 8xx chips.

22 years ago[SCSI] add commands at the tail of cmd_list
Luben Tuikov [Sun, 9 Feb 2003 04:56:35 +0000 (22:56 -0600)]
[SCSI] add commands at the tail of cmd_list

It's probably going to be a fifo, so it should be more efficient
for taking them off again

22 years ago[SCSI] Migrate sim710 to 53c700 chip driver
James Bottomley [Sun, 9 Feb 2003 04:07:51 +0000 (22:07 -0600)]
[SCSI] Migrate sim710 to 53c700 chip driver

This should add synchronous support and Tagged Command Queueing.
At the moment, it cuts down on the number of command line options,
but we can add those back in later.

This patch also migrates the driver to the new device model for
both MCA and EISA.

22 years agoRestore device command queue functionality
James Bottomley [Sun, 9 Feb 2003 03:36:18 +0000 (21:36 -0600)]
Restore device command queue functionality

The recent slab allocation changes mean that we no longer keep a
permanent list of commands on the device_queue list.  However,
certain pieces of SCSI code relied on being able to traverse this
list to find details of all outstanding commands (the error handler
being the prime example).  This code adds back a new dynamic cmd_list
which keeps the list of commands currently allocated to the device.
Since the list is dynamic, it is protected by a lock (list_lock).

22 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
David S. Miller [Sat, 8 Feb 2003 18:48:18 +0000 (10:48 -0800)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

22 years ago[PATCH] CONFIG_PREEMPT fix of do_debug()
Jamie Lokier [Sat, 8 Feb 2003 18:41:34 +0000 (10:41 -0800)]
[PATCH] CONFIG_PREEMPT fix of do_debug()

If CONFIG_PREEMPT is enabled, and the kernel is preempted just before
do_debug() has a chance to save the debug register values, DR6 could be
read from the wrong CPU.

It is exactly the same problem as reading %cr2 in the page fault
handler.  Same fix: make the handler a interrupt gate, and enable
interrupts only once safe.

22 years ago[PATCH] Fix compile warning for 'sys_exit_group'
Andrew Morton [Sat, 8 Feb 2003 18:37:45 +0000 (10:37 -0800)]
[PATCH] Fix compile warning for 'sys_exit_group'

sys_exit_group() doesn't return any value, and obviously cannot.

So don't make the compiler unhappy about it by claiming it does.

22 years ago[PATCH] Fix Alt-SysRQ-T status, and comment
Russell King [Sat, 8 Feb 2003 18:37:37 +0000 (10:37 -0800)]
[PATCH] Fix Alt-SysRQ-T status, and comment

Fix wrong order of process status. It's

#define TASK_RUNNING            0
#define TASK_INTERRUPTIBLE      1
#define TASK_UNINTERRUPTIBLE    2
#define TASK_STOPPED            4
#define TASK_ZOMBIE             8
#define TASK_DEAD               16

but SysRQ printout routines switch stopped and zombie around.

So, for one more time, here's another mailing of the same patch to fix
this brokenness.  In addition, fix the wrong comment in fs/proc/array.c

22 years agoMore signal handling fixups for the threaded signal fix upheavals.
Linus Torvalds [Sat, 8 Feb 2003 14:02:27 +0000 (06:02 -0800)]
More signal handling fixups for the threaded signal fix upheavals.

This fixes the signal code to not wake up threads with blocked signals,
especially noticeable with kernel threads that may not be able to handle
signals at all.

We also don't unnecessarily wake processes in TASK_UNINTERRUPTIBLE.

22 years ago[PATCH] missing sound include file
Chris Wedgwood [Sat, 8 Feb 2003 13:58:32 +0000 (05:58 -0800)]
[PATCH] missing sound include file

Sound drivers need <linus/interrupt.h> for tasklets

22 years agoALSA update
Jaroslav Kysela [Sat, 8 Feb 2003 22:33:57 +0000 (23:33 +0100)]
ALSA update
  - emu10k1 - fixed makefile to not build synth module when emu10k1 is not selected

22 years agoALSA update
Jaroslav Kysela [Sat, 8 Feb 2003 22:11:54 +0000 (23:11 +0100)]
ALSA update
  - cmipci driver cleanups (ac3 & surround)
  - replaced snd_dma_residue() with snd_dma_pointer()
  - GCC 3.3 warnings removal
  - timer interface
    - recoded using tasklet
    - improved slave timer locking (should be much faster)
    - added async support
  - improved ioctl32 wrapper functions
  - fixed Makefile problems (synth modules were build for not selected driver)
  - AC97 codec
    - improved SPSA control
    - moved reset function outside the main init code
    - improved ALC650 initialization
  - USB driver
    - added quirk for Roland XV-2020

22 years agokbuild: Add a bug trap for people playing with SUBDIRS too much
Kai Germaschewski [Sat, 8 Feb 2003 08:33:21 +0000 (02:33 -0600)]
kbuild: Add a bug trap for people playing with SUBDIRS too much

If SUBDIRS is set manually on the command line, the contents of
.tmp_versions are not deleted before descending and can accumulate
stale entries. Print a warning if that case is detected, but deal with
it gracefully.

22 years agokbuild: Modversions fix
Kai Germaschewski [Sat, 8 Feb 2003 08:30:37 +0000 (02:30 -0600)]
kbuild: Modversions fix

We're still using the old genksyms binary, that's why we have to
postprocess the output to convert it into a linker script - that
postprocessing got confused by "__verify_write".

Kick out the grep, do it all and correctly within sed.

Bug reported by Thomas Molina.

22 years agokbuild: Warn on obsolete export-objs use
Kai Germaschewski [Sat, 8 Feb 2003 08:00:46 +0000 (02:00 -0600)]
kbuild: Warn on obsolete export-objs use

Setting export-objs is not necessary anymore, so warn on encountering it
to prevent it from creeping back in ;)

Also, make the error when we find someone still using O_TARGET non-fatal,
so that people sharing stuff between 2.4 and 2.5 don't have more hassle
than necessary.

22 years agokbuild: Handle external SUBDIRS with modversions
Kai Germaschewski [Sat, 8 Feb 2003 07:59:13 +0000 (01:59 -0600)]
kbuild: Handle external SUBDIRS with modversions

We need to collect a list of all modules during the recursive build. I used
a "touch .tmp_versions/<path/to/module.ko>" to do so, which however doesn't
work so well, when path/to isn't inside the kernel tree.

The best way to build external modules is currently using kbuild by saying
"make SUBDIRS=/some/external/dir modules", which was thus broken. While this
way is not all that optimal and I hope to come up with something better
before 2.6, it works and should keep working, so this patch fixes the usage
above.

Instead of touching files with the entire path added, we just create a
<module>.mod file in $(MODVERDIR) now, and save the path to the module.ko
in it. Since module names are unique, a flat hierarchy is actually fine here.

22 years ago[PATCH] TASK_STOPPED wakeup cleanup
Roland McGrath [Fri, 7 Feb 2003 08:31:37 +0000 (00:31 -0800)]
[PATCH] TASK_STOPPED wakeup cleanup

For handle_stop_signal to do the special case for SIGKILL and have it
work right in all SMP cases (without changing all the existing ptrace
stops), it needs to at least set TIF_SIGPENDING on each thread before
resuming it.

handle_stop_signal addresses a related race for SIGCONT by setting
TIF_SIGPENDING already, so having SIGKILL handled the same way makes
sense.

Now it seems pretty clean to have handle_stop_signal resume threads for
SIGKILL, and have on SIGKILL special case in group_send_sig_info.

There is also an SMP race issue with cases like do_syscall_trace, i.e.
TASK_STOPPED state set without holding the siglock.  So I think
handle_stop_signal should call wake_up_process unconditionally.

22 years ago[PATCH] signal locking update
Chris Wedgwood [Fri, 7 Feb 2003 08:24:40 +0000 (00:24 -0800)]
[PATCH] signal locking update

Accomodate the signal locking moving from "tsk->sig" to "tsk->sighand".

22 years agoHand merge
Daniel Jacobowitz [Fri, 7 Feb 2003 11:39:09 +0000 (06:39 -0500)]
Hand merge

22 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Fri, 7 Feb 2003 05:24:18 +0000 (16:24 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/sfr

22 years agoSplit up "struct signal_struct" into "signal" and "sighand" parts.
Linus Torvalds [Fri, 7 Feb 2003 04:25:24 +0000 (20:25 -0800)]
Split up "struct signal_struct" into "signal" and "sighand" parts.

This is required to get make the old LinuxThread semantics work
together with the fixed-for-POSIX full signal sharing. A traditional
CLONE_SIGHAND thread (LinuxThread) will not see any other shared
signal state, while a new-style CLONE_THREAD thread will share all
of it.

This way the two methods don't confuse each other.

22 years agoDon't special-case SIGKILL/SIGSTOP - the blocking masks should
Linus Torvalds [Fri, 7 Feb 2003 01:52:01 +0000 (17:52 -0800)]
Don't special-case SIGKILL/SIGSTOP - the blocking masks should
already take care of it.

This fixes kernel threads that _do_ block SIGKILL/STOP.

22 years agoMerge samba.org:/scratch/anton/linux-2.5_ppc64
Anton Blanchard [Fri, 7 Feb 2003 01:01:06 +0000 (12:01 +1100)]
Merge samba.org:/scratch/anton/linux-2.5_ppc64
into samba.org:/scratch/anton/sfr

22 years agoppc64: Add ppc64 relocations to asm/elf.h. I am the example of good taste.
Anton Blanchard [Fri, 7 Feb 2003 00:58:49 +0000 (11:58 +1100)]
ppc64: Add ppc64 relocations to asm/elf.h. I am the example of good taste.

22 years ago[PATCH] Fix possible uninitialised variable in vma merging code
Andrew Morton [Fri, 7 Feb 2003 00:50:27 +0000 (16:50 -0800)]
[PATCH] Fix possible uninitialised variable in vma merging code

Spotted by davem.  Strange that it ever worked.  Don't know why the compiler
didn't warn...

22 years ago[PATCH] do_sigaction locking cleanup
Roland McGrath [Fri, 7 Feb 2003 00:22:30 +0000 (16:22 -0800)]
[PATCH] do_sigaction locking cleanup

This changes do_sigaction to avoid read_lock(&tasklist_lock) on every
call.  Only in the fairly uncommon cases where it's really needed will
it take that lock (which requires unlocking and relocking the siglock
for locking order).

I also changed the ERESTARTSYS added in my earlier patch to ERESTARTNOINTR.
That is an "instantaneous" case, and there is no reason to have it possibly
return EINTR if !SA_RESTART (which AFAIK sigaction never could before, and
it might not be kosher by POSIX); rollback is always better.

22 years ago[PATCH] SA_NOCLDWAIT now supported - update comments
Roland McGrath [Fri, 7 Feb 2003 00:22:22 +0000 (16:22 -0800)]
[PATCH] SA_NOCLDWAIT now supported - update comments

This patch removes all the comments on the SA_NOCLDWAIT definitions,
since SA_NOCLDWAIT is fully supported now.

22 years ago[PATCH] Spelling fixes for consistent, dependent, persistent
Steven Cole [Fri, 7 Feb 2003 00:11:08 +0000 (16:11 -0800)]
[PATCH] Spelling fixes for consistent, dependent, persistent

This fixes the following common misspellings and their variants.

  consistant -> consistent
  dependant  -> dependent
  persistant -> persistent

22 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Thu, 6 Feb 2003 23:38:32 +0000 (10:38 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/sfr

22 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Thu, 6 Feb 2003 22:37:14 +0000 (09:37 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/sfr

22 years agoMerge samba.org:/scratch/anton/linux-2.5
Anton Blanchard [Thu, 6 Feb 2003 22:02:13 +0000 (09:02 +1100)]
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/sfr

22 years ago[LSM]: Networking netlink socket capability hooks.
James Morris [Thu, 6 Feb 2003 17:51:56 +0000 (09:51 -0800)]
[LSM]: Networking netlink socket capability hooks.

22 years ago[LSM]: Networking AF_UNIX hooks.
James Morris [Thu, 6 Feb 2003 17:50:47 +0000 (09:50 -0800)]
[LSM]: Networking AF_UNIX hooks.

22 years ago[LSM]: Networking socket SKB receive hook.
James Morris [Thu, 6 Feb 2003 17:49:40 +0000 (09:49 -0800)]
[LSM]: Networking socket SKB receive hook.

22 years ago[LSM]: Networking top-level socket operation hooks.
James Morris [Thu, 6 Feb 2003 17:48:06 +0000 (09:48 -0800)]
[LSM]: Networking top-level socket operation hooks.

22 years ago[LSM]: networking hooks, kconfig bits.
James Morris [Thu, 6 Feb 2003 17:47:09 +0000 (09:47 -0800)]
[LSM]: networking hooks, kconfig bits.

22 years ago[BRIDGE]: handle out-of-ports corner case.
Lennert Buytenhek [Thu, 6 Feb 2003 17:43:16 +0000 (09:43 -0800)]
[BRIDGE]: handle out-of-ports corner case.

22 years ago[BRIDGE]: Update maintainership status.
Lennert Buytenhek [Thu, 6 Feb 2003 17:41:06 +0000 (09:41 -0800)]
[BRIDGE]: Update maintainership status.

22 years ago[IPV6]: Fix skb leak in inet6_rtm_getroute.
James Morris [Thu, 6 Feb 2003 17:39:07 +0000 (09:39 -0800)]
[IPV6]: Fix skb leak in inet6_rtm_getroute.

22 years ago[IPV4]: Fix skb leak in inet_rtm_getroute.
James Morris [Thu, 6 Feb 2003 17:37:22 +0000 (09:37 -0800)]
[IPV4]: Fix skb leak in inet_rtm_getroute.

22 years ago[BRIDGE]: update to new module scheme.
Bart De Schuymer [Thu, 6 Feb 2003 17:36:00 +0000 (09:36 -0800)]
[BRIDGE]: update to new module scheme.

22 years agoMerge
Daniel Jacobowitz [Thu, 6 Feb 2003 14:52:26 +0000 (09:52 -0500)]
Merge

22 years agoMerge
Linus Torvalds [Thu, 6 Feb 2003 14:47:20 +0000 (06:47 -0800)]
Merge

22 years ago[PATCH] exit_notify/do_exit cleanup
Roland McGrath [Thu, 6 Feb 2003 14:22:20 +0000 (06:22 -0800)]
[PATCH] exit_notify/do_exit cleanup

Here is a cleanup moving the new pending thread signal check into
exit_notify.

I also made exit_notify and do_exit consistent in using the saved tsk
variable instead of current, as most of do_exit already does.

22 years agoHand-merge with Ingo's changes
Daniel Jacobowitz [Thu, 6 Feb 2003 13:07:11 +0000 (08:07 -0500)]
Hand-merge with Ingo's changes

22 years agoSignal handling bugs for thread exit + ptrace
Daniel Jacobowitz [Thu, 6 Feb 2003 11:44:58 +0000 (06:44 -0500)]
Signal handling bugs for thread exit + ptrace

22 years agoAdd PTRACE_O_TRACEVFORKDONE and PTRACE_O_TRACEEXIT facilities.
Daniel Jacobowitz [Thu, 6 Feb 2003 09:32:29 +0000 (04:32 -0500)]
Add PTRACE_O_TRACEVFORKDONE and PTRACE_O_TRACEEXIT facilities.

22 years ago[PATCH] missing include in pci-sysfs.c
Anton Blanchard [Thu, 6 Feb 2003 08:55:26 +0000 (00:55 -0800)]
[PATCH] missing include in pci-sysfs.c

Add a missing include for those pesky S_IRUGO thingys.

22 years ago[PATCH] 2.5.59 : drivers/media/video/bt819.c
Frank Davis [Thu, 6 Feb 2003 08:53:40 +0000 (00:53 -0800)]
[PATCH] 2.5.59 : drivers/media/video/bt819.c

This patch for bt819.c addresses buzilla bug #169 (compile error).

22 years ago[PATCH] 2.5.59 : drivers/media/video/saa7185.c
Frank Davis [Thu, 6 Feb 2003 08:53:33 +0000 (00:53 -0800)]
[PATCH] 2.5.59 : drivers/media/video/saa7185.c

This patch to saa7185 to resolves buzilla bug #168 (compile error).  It
has been sent to l-k and has received no objections.