linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] UML fixes
@ 2002-10-08 22:50 Jeff Dike
  0 siblings, 0 replies; 7+ messages in thread
From: Jeff Dike @ 2002-10-08 22:50 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

Please pull http://jdike.stearns.org/fixes-2.5

It fixes a number of UML bugs
	a network driver crash
	a possible slip driver buffer overrun
	incorrect disabling of descriptors in poll
	a crash caused by alarms piling up on a busy host
	fixing PROT_NONE semantics
	Creating an arch xor.h for the raid drivers
	Some code cleanup

				Jeff

 arch/um/drivers/net_kern.c    |   36 +++++++++++++++++++++++++++++++-----
 arch/um/drivers/port_kern.c   |    2 +-
 arch/um/drivers/port_user.c   |    5 +++--
 arch/um/drivers/slip.h        |    5 ++++-
 arch/um/include/kern.h        |    1 +
 arch/um/include/time_user.h   |   17 +++++++++++++++++
 arch/um/include/user_util.h   |    6 ------
 arch/um/kernel/irq_user.c     |   11 ++++++-----
 arch/um/kernel/mem.c          |    2 +-
 arch/um/kernel/process.c      |    1 +
 arch/um/kernel/process_kern.c |    1 +
 arch/um/kernel/time.c         |   22 ++++++++++++++++++++++
 arch/um/kernel/time_kern.c    |    1 +
 arch/um/kernel/tlb.c          |    2 +-
 arch/um/kernel/trap_user.c    |    8 ++++++++
 arch/um/os-Linux/file.c       |    8 ++++----
 include/asm-um/pgtable.h      |   20 +++++++++++++++++---
 include/asm-um/xor.h          |    6 ++++++
 18 files changed, 125 insertions(+), 29 deletions(-)

ChangeSet@1.663.3.5, 2002-10-02 16:29:49-04:00, jdike@jdike.wstearns.org
  xor.h was created as asm-um/xor.h rather than include/asm-um/xor.h.
  Fixed.

ChangeSet@1.663.3.4, 2002-10-02 12:04:54-04:00, jdike@uml.karaya.com
  Back out a piece of the last merge which didn't apply in 2.5.

ChangeSet@1.663.3.3, 2002-10-02 11:39:20-04:00, jdike@uml.karaya.com
  A small network bug fix from 2.4.19-7.

ChangeSet@1.663.3.2, 2002-10-02 10:23:50-04:00, jdike@uml.karaya.com
  A set of small bug fixes brought over from 2.4.19-8.

ChangeSet@1.663.3.1, 2002-10-01 10:02:05-04:00, jdike@uml.karaya.com
  Merge uml.karaya.com:/home/jdike/linux/2.5/linus-2.5
  into uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5

ChangeSet@1.579.15.2, 2002-09-23 21:09:49-04:00, jdike@uml.karaya.com
  Removed from user_util.h the declarations that are now in time_user.h.

ChangeSet@1.579.15.1, 2002-09-23 20:38:01-04:00, jdike@uml.karaya.com
  A number of bug fixes from UML 2.4.19-6 -
  
  Fixed the net crash seen when slab debugging is enabled
  Fixed PROT_NONE
  Fixed the 'tracing myself' bug seen on umlcoop.  This was caused by
  a number of SIGALRM handlers nesting on the idle thread stack because
  the system was busy enough that UML couldn't clear one before the
  next arrived.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] UML fixes
@ 2003-08-07 14:59 Jeff Dike
  0 siblings, 0 replies; 7+ messages in thread
From: Jeff Dike @ 2003-08-07 14:59 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

Please pull
	http://jdike.stearns.org:5000/fixes-2.5

This update fixes a number of UML bugs.

				Jeff

 arch/um/drivers/chan_kern.c           |    1 
 arch/um/drivers/chan_user.c           |    4 -
 arch/um/drivers/hostaudio_kern.c      |   77 +++++++++++++++++++++++++++++++---
 arch/um/drivers/mconsole_kern.c       |   26 +++++------
 arch/um/drivers/ubd_user.c            |   50 +++++++++++++---------
 arch/um/include/kern_util.h           |    7 +--
 arch/um/include/mem.h                 |    1 
 arch/um/include/os.h                  |    2 
 arch/um/include/user_util.h           |    1 
 arch/um/kernel/mem.c                  |   11 +---
 arch/um/kernel/mem_user.c             |   10 ++--
 arch/um/kernel/process.c              |    4 -
 arch/um/kernel/process_kern.c         |    7 ++-
 arch/um/kernel/skas/include/mode.h    |    1 
 arch/um/kernel/skas/include/uaccess.h |    2 
 arch/um/kernel/skas/process.c         |   16 ++++++-
 arch/um/kernel/skas/process_kern.c    |   12 ++---
 arch/um/kernel/skas/util/mk_ptregs.c  |    1 
 arch/um/kernel/time.c                 |   12 +++--
 arch/um/kernel/time_kern.c            |    2 
 arch/um/kernel/trap_kern.c            |    6 ++
 arch/um/kernel/trap_user.c            |    2 
 arch/um/kernel/tt/include/uaccess.h   |   31 +++++++------
 arch/um/kernel/tt/process_kern.c      |   37 +++++++---------
 arch/um/kernel/tt/ptproxy/proxy.c     |    8 +--
 arch/um/kernel/tt/tracer.c            |    4 -
 arch/um/kernel/tt/uaccess_user.c      |   14 ++++++
 arch/um/kernel/um_arch.c              |   19 +++++---
 arch/um/kernel/umid.c                 |   47 +++++++++++---------
 arch/um/kernel/user_util.c            |   11 ----
 arch/um/os-Linux/file.c               |   31 +++++++++++++
 arch/um/util/mk_constants_kern.c      |    4 +
 32 files changed, 310 insertions(+), 151 deletions(-)

ChangeSet@1.1455.16.1, 2003-07-25 01:23:07-04:00, jdike@uml.karaya.com
  Merge uml.karaya.com:/home/jdike/linux/2.5/linus-2.6.0-test1
  into uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5

ChangeSet@1.1310.128.2, 2003-07-23 23:41:57-04:00, jdike@uml.karaya.com
  Fixed the NSEC_PER_SEC problem, which was that this was a kernel
  constant in a userspace file, by adding it to mk_constants, and
  including that in time.h.

ChangeSet@1.1310.128.1, 2003-07-18 13:22:14-04:00, jdike@uml.karaya.com
  Merge uml.karaya.com:/home/jdike/linux/2.5/linus-2.5.72
  into uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5

ChangeSet@1.1215.148.1, 2003-07-17 10:28:18-04:00, jdike@uml.karaya.com
  Untangling my repositories - this adds the fixes that came over from
  the 2.4 pool.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] UML fixes
@ 2003-05-22 17:59 Jeff Dike
  0 siblings, 0 replies; 7+ messages in thread
From: Jeff Dike @ 2003-05-22 17:59 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

Please pull
	http://jdike.stearns.org:5000/fixes-2.5

This fixes a number of UML bugs:

	fixed a couple stray instances of hard-coded kernel stack sizes
	the special root hostfs support is gone since it was unneeded
	skas mode now has sound and SIGWINCH support
	fixed a timer deadlock
	fixed some signal blocking bugs
	updated the ubd driver to the new block and devfs APIs
	fixed calls to schedule_tail
	fixed a few SMP deadlocks
	the ubd driver locks its device files
	flush stdout before entering the kernel
	fix a uaccess fencepost bug
	fix a 'tracing myself' bug
	code cleanup
	error message fixes

				Jeff

 arch/um/drivers/chan_user.c           |    4 
 arch/um/drivers/hostaudio_kern.c      |   77 ++++++++++++++++-
 arch/um/drivers/line.c                |   36 ++++----
 arch/um/drivers/ssl.c                 |    4 
 arch/um/drivers/ubd_kern.c            |  148 ++++++++++++++++------------------
 arch/um/drivers/ubd_user.c            |   58 +++++++------
 arch/um/include/kern_util.h           |    7 -
 arch/um/include/mem.h                 |    1 
 arch/um/include/os.h                  |    2 
 arch/um/include/ubd_user.h            |    1 
 arch/um/include/user_util.h           |    1 
 arch/um/kernel/exec_kern.c            |    5 +
 arch/um/kernel/init_task.c            |    6 -
 arch/um/kernel/irq.c                  |   12 +-
 arch/um/kernel/mem.c                  |   11 --
 arch/um/kernel/mem_user.c             |   10 +-
 arch/um/kernel/process.c              |    4 
 arch/um/kernel/process_kern.c         |   18 ++--
 arch/um/kernel/skas/include/mode.h    |    1 
 arch/um/kernel/skas/include/uaccess.h |    2 
 arch/um/kernel/skas/process.c         |   16 +++
 arch/um/kernel/skas/process_kern.c    |   12 +-
 arch/um/kernel/sys_call_table.c       |   36 +++++---
 arch/um/kernel/time.c                 |    7 -
 arch/um/kernel/time_kern.c            |    9 +-
 arch/um/kernel/trap_kern.c            |    6 +
 arch/um/kernel/trap_user.c            |    2 
 arch/um/kernel/tt/include/uaccess.h   |   31 ++++---
 arch/um/kernel/tt/process_kern.c      |   32 +++----
 arch/um/kernel/tt/tracer.c            |    4 
 arch/um/kernel/tt/uaccess_user.c      |   14 +++
 arch/um/kernel/tty_log.c              |  111 ++++++++++++++++++++++---
 arch/um/kernel/um_arch.c              |   19 ++--
 arch/um/kernel/umid.c                 |   47 ++++++----
 arch/um/kernel/user_util.c            |   11 --
 arch/um/os-Linux/file.c               |   31 +++++++
 include/asm-um/common.lds.S           |   12 ++
 include/asm-um/thread_info.h          |    9 +-
 38 files changed, 533 insertions(+), 284 deletions(-)

ChangeSet@1.1082, 2003-05-15 16:17:32-04:00, jdike@uml.karaya.com
  Got rid of set_kmem_end since no one calls it.

ChangeSet@1.1042.83.5, 2003-05-13 13:45:50-04:00, jdike@uml.karaya.com
  Fixed a couple instances of hard-coded stack sizes.

ChangeSet@1.1042.83.4, 2003-05-05 08:54:23-04:00, jdike@uml.karaya.com
  Updates to 2.5.68, which are going in this pool to keep the merging
  clean.

ChangeSet@1.1042.83.3, 2003-05-02 14:12:46-04:00, jdike@uml.karaya.com
  Merged a bunch of fixes from 2.4.

ChangeSet@1.1042.83.2, 2003-05-02 13:06:24-04:00, jdike@uml.karaya.com
  Merged a bunch of fixes from 2.4.
  skas mode has sound and SIGWINCH support.
  root hostfs is gone.
  Some small code cleanups.

ChangeSet@1.1042.83.1, 2003-05-02 11:00:41-04:00, jdike@jdike.wstearns.org
  Merged hch's devfs-ectomy.

ChangeSet@1.971.47.3, 2003-03-27 23:13:21-05:00, jdike@uml.karaya.com
  Fixed a call to devfs_mk_dir.

ChangeSet@1.971.47.2, 2003-03-27 21:40:19-05:00, jdike@uml.karaya.com
  Fixed the ubd driver call to devfs_mk_symlink.

ChangeSet@1.971.47.1, 2003-03-27 15:29:35-05:00, jdike@uml.karaya.com
  .66 conflict fixes.

ChangeSet@1.889.410.2, 2003-03-27 13:44:02-05:00, jdike@uml.karaya.com
  Fixed a register_blkdev call.

ChangeSet@1.889.410.1, 2003-03-22 15:37:52-05:00, jdike@uml.karaya.com
  Merged the 2.5.65 conflicts.

ChangeSet@1.889.258.2, 2003-02-25 00:44:11-05:00, jdike@uml.karaya.com
  Fixed the calls to schedule_tail to not be conditional on CONFIG_SMP,
  to be conditional on current->thread.prev_sched being non-NULL,
  and to pass current->thread.prev_sched in to schedule_tail.

ChangeSet@1.889.206.4, 2003-02-24 21:59:25-05:00, jdike@uml.karaya.com
  Fixed a bug with the initialization of the mode that a device file
  is opened with.

ChangeSet@1.889.206.3, 2003-02-24 01:48:30-05:00, jdike@uml.karaya.com
  Fixed a deadlock caused by not disabling interrupts around a call
  to update_process_times.

ChangeSet@1.889.206.2, 2003-02-23 14:50:33-05:00, jdike@uml.karaya.com
  Made some minor fixes to get rid of some unneeded code, improve
  a panic message, and fix a signal blocking bug.

ChangeSet@1.889.206.1, 2003-02-19 11:05:33-05:00, jdike@uml.karaya.com
  Merge uml.karaya.com:/home/jdike/linux/2.5/linus-2.5
  into uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5

ChangeSet@1.889.124.2, 2003-02-19 09:55:14-05:00, jdike@uml.karaya.com
  Fixed signal blocking and cleaned up the code a bit.

ChangeSet@1.889.99.32, 2003-02-07 13:48:13-05:00, jdike@uml.karaya.com
  Fixed a few compilation bugs in the ubd changes.

ChangeSet@1.889.99.31, 2003-02-07 12:52:23-05:00, jdike@uml.karaya.com
  Merged in changes from 2.4 up to 2.4.19-50.
  The ubd driver locks its files.
  Merged a bunch of ubd fixes from James McMechan.
  stdout is now flushed before entering the kernel.
  Fixed a uaccess fencepost bug.
  Fixed a 'tracing myself' bug.
  Various other cleanups and error message fixes.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] UML fixes
@ 2003-03-28 20:50 Jeff Dike
  0 siblings, 0 replies; 7+ messages in thread
From: Jeff Dike @ 2003-03-28 20:50 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

Please pull
	http://jdike.stearns.org:5000/fixes-2.5

This fixes a number of UML bugs:
	updated the ubd driver to the new block and devfs APIs
	fixed calls to schedule_tail
	fixed a few SMP deadlocks
	the ubd driver locks its device files
	flush stdout before entering the kernel
	fix a uaccess fencepost bug
	fix a 'tracing myself' bug
	code cleanup
	error message fixes

				Jeff

 arch/um/drivers/line.c                |    6 
 arch/um/drivers/ubd_kern.c            |  224 +++++++++++++++++++---------------
 arch/um/drivers/ubd_user.c            |   44 ++++--
 arch/um/include/os.h                  |    2 
 arch/um/kernel/mem.c                  |    2 
 arch/um/kernel/process.c              |    3 
 arch/um/kernel/skas/include/uaccess.h |    2 
 arch/um/kernel/skas/process_kern.c    |   10 -
 arch/um/kernel/time_kern.c            |    2 
 arch/um/kernel/tt/process_kern.c      |   26 +--
 arch/um/kernel/um_arch.c              |    1 
 arch/um/os-Linux/file.c               |   31 ++++
 include/asm-um/common.lds.S           |   12 +
 13 files changed, 230 insertions(+), 135 deletions(-)

ChangeSet@1.1080, 2003-03-27 23:13:21-05:00, jdike@uml.karaya.com
  Fixed a call to devfs_mk_dir.

ChangeSet@1.1079, 2003-03-27 21:40:19-05:00, jdike@uml.karaya.com
  Fixed the ubd driver call to devfs_mk_symlink.

ChangeSet@1.1078, 2003-03-27 15:29:35-05:00, jdike@uml.karaya.com
  .66 conflict fixes.

ChangeSet@1.889.363.2, 2003-03-27 13:44:02-05:00, jdike@uml.karaya.com
  Fixed a register_blkdev call.

ChangeSet@1.889.363.1, 2003-03-22 15:37:52-05:00, jdike@uml.karaya.com
  Merged the 2.5.65 conflicts.

ChangeSet@1.889.247.2, 2003-02-25 00:44:11-05:00, jdike@uml.karaya.com
  Fixed the calls to schedule_tail to not be conditional on CONFIG_SMP,
  to be conditional on current->thread.prev_sched being non-NULL,
  and to pass current->thread.prev_sched in to schedule_tail.

ChangeSet@1.889.203.4, 2003-02-24 21:59:25-05:00, jdike@uml.karaya.com
  Fixed a bug with the initialization of the mode that a device file
  is opened with.

ChangeSet@1.889.203.3, 2003-02-24 01:48:30-05:00, jdike@uml.karaya.com
  Fixed a deadlock caused by not disabling interrupts around a call
  to update_process_times.

ChangeSet@1.889.203.2, 2003-02-23 14:50:33-05:00, jdike@uml.karaya.com
  Made some minor fixes to get rid of some unneeded code, improve
  a panic message, and fix a signal blocking bug.

ChangeSet@1.889.203.1, 2003-02-19 11:05:33-05:00, jdike@uml.karaya.com
  Merge uml.karaya.com:/home/jdike/linux/2.5/linus-2.5
  into uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5

ChangeSet@1.889.124.2, 2003-02-19 09:55:14-05:00, jdike@uml.karaya.com
  Fixed signal blocking and cleaned up the code a bit.

ChangeSet@1.889.99.32, 2003-02-07 13:48:13-05:00, jdike@uml.karaya.com
  Fixed a few compilation bugs in the ubd changes.

ChangeSet@1.889.99.31, 2003-02-07 12:52:23-05:00, jdike@uml.karaya.com
  Merged in changes from 2.4 up to 2.4.19-50.
  The ubd driver locks its files.
  Merged a bunch of ubd fixes from James McMechan.
  stdout is now flushed before entering the kernel.
  Fixed a uaccess fencepost bug.
  Fixed a 'tracing myself' bug.
  Various other cleanups and error message fixes.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] UML fixes
@ 2003-02-26 18:16 Jeff Dike
  0 siblings, 0 replies; 7+ messages in thread
From: Jeff Dike @ 2003-02-26 18:16 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

Please pull
	http://jdike.stearns.org:5000/fixes-2.5

This fixes some UML bugs, including
	some signal blocking bugs
	a 'tracing myself' bug
	a uaccess fencepost bug
	call schedule_tail correctly
	block signals correctly in the timer handler

Also, there were a number of code cleanups, particularly in the ubd driver.
That driver now locks the host files that it uses to prevent multiple UMLs
from booting on the same filesystem.

stdout is now flushed before entering the kernel to ensure that early messages
appear before printk output.

				Jeff

 arch/um/drivers/line.c                |    6 
 arch/um/drivers/ubd_kern.c            |  227 +++++++++++++++++++---------------
 arch/um/drivers/ubd_user.c            |   44 ++++--
 arch/um/include/os.h                  |    2 
 arch/um/kernel/mem.c                  |    2 
 arch/um/kernel/process.c              |    3 
 arch/um/kernel/skas/include/uaccess.h |    2 
 arch/um/kernel/skas/process_kern.c    |   10 -
 arch/um/kernel/time_kern.c            |    2 
 arch/um/kernel/tt/process_kern.c      |   26 +--
 arch/um/kernel/um_arch.c              |    1 
 arch/um/os-Linux/file.c               |   31 ++++
 include/asm-um/common.lds.S           |   12 +
 13 files changed, 230 insertions(+), 138 deletions(-)

ChangeSet@1.1022.1.2, 2003-02-25 00:44:11-05:00, jdike@uml.karaya.com
  Fixed the calls to schedule_tail to not be conditional on CONFIG_SMP,
  to be conditional on current->thread.prev_sched being non-NULL,
  and to pass current->thread.prev_sched in to schedule_tail.

ChangeSet@1.914.185.4, 2003-02-24 21:59:25-05:00, jdike@uml.karaya.com
  Fixed a bug with the initialization of the mode that a device file
  is opened with.

ChangeSet@1.914.185.3, 2003-02-24 01:48:30-05:00, jdike@uml.karaya.com
  Fixed a deadlock caused by not disabling interrupts around a call
  to update_process_times.

ChangeSet@1.914.185.2, 2003-02-23 14:50:33-05:00, jdike@uml.karaya.com
  Made some minor fixes to get rid of some unneeded code, improve
  a panic message, and fix a signal blocking bug.

ChangeSet@1.914.185.1, 2003-02-19 11:05:33-05:00, jdike@uml.karaya.com
  Merge uml.karaya.com:/home/jdike/linux/2.5/linus-2.5
  into uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5

ChangeSet@1.914.118.2, 2003-02-19 09:55:14-05:00, jdike@uml.karaya.com
  Fixed signal blocking and cleaned up the code a bit.

ChangeSet@1.914.93.32, 2003-02-07 13:48:13-05:00, jdike@uml.karaya.com
  Fixed a few compilation bugs in the ubd changes.

ChangeSet@1.914.93.31, 2003-02-07 12:52:23-05:00, jdike@uml.karaya.com
  Merged in changes from 2.4 up to 2.4.19-50.
  The ubd driver locks its files.
  Merged a bunch of ubd fixes from James McMechan.
  stdout is now flushed before entering the kernel.
  Fixed a uaccess fencepost bug.
  Fixed a 'tracing myself' bug.
  Various other cleanups and error message fixes.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] UML fixes
@ 2003-02-19 20:00 Jeff Dike
  0 siblings, 0 replies; 7+ messages in thread
From: Jeff Dike @ 2003-02-19 20:00 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

Please pull
	http://jdike.stearns.org:5000/fixes-2.5

This fixes some UML bugs, including
	some signal blocking bugs
	a 'tracing myself' bug
	a uaccess fencepost bug

Also, there were a number of code cleanups, particularly in the ubd driver.
That driver now locks the host files that it uses to prevent multiple UMLs
from booting on the same filesystem.

stdout is now flushed before entering the kernel to ensure that early messages
appear before printk output.

				Jeff

 arch/um/drivers/line.c                |    6 
 arch/um/drivers/ubd_kern.c            |  221 +++++++++++++++++++---------------
 arch/um/drivers/ubd_user.c            |   44 ++++--
 arch/um/include/os.h                  |    2 
 arch/um/kernel/mem.c                  |    2 
 arch/um/kernel/skas/include/uaccess.h |    2 
 arch/um/kernel/tt/process_kern.c      |   18 +-
 arch/um/kernel/um_arch.c              |    1 
 arch/um/os-Linux/file.c               |   31 ++++
 include/asm-um/common.lds.S           |   12 +
 10 files changed, 218 insertions(+), 121 deletions(-)

ChangeSet@1.1065, 2003-02-19 11:05:33-05:00, jdike@uml.karaya.com
  Merge uml.karaya.com:/home/jdike/linux/2.5/linus-2.5
  into uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5

ChangeSet@1.988.6.2, 2003-02-19 09:55:14-05:00, jdike@uml.karaya.com
  Fixed signal blocking and cleaned up the code a bit.

ChangeSet@1.925.56.32, 2003-02-07 13:48:13-05:00, jdike@uml.karaya.com
  Fixed a few compilation bugs in the ubd changes.

ChangeSet@1.925.56.31, 2003-02-07 12:52:23-05:00, jdike@uml.karaya.com
  Merged in changes from 2.4 up to 2.4.19-50.
  The ubd driver locks its files.
  Merged a bunch of ubd fixes from James McMechan.
  stdout is now flushed before entering the kernel.
  Fixed a uaccess fencepost bug.
  Fixed a 'tracing myself' bug.
  Various other cleanups and error message fixes.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] UML fixes
@ 2003-02-06  3:13 Jeff Dike
  0 siblings, 0 replies; 7+ messages in thread
From: Jeff Dike @ 2003-02-06  3:13 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel

Please pull
	http://jdike.stearns.org:5000/fixes-2.5

This fixes a number of UML bugs, including
	changed CONFIG_* usage in userspace files to avoid conflicting with
the host's autoconf.h
	fixed the time locking bug which was causing hangs under network load
	the mconsole and uml_switch protocols are now 64-bit clean
	some SMP fixes from Oleg Drokin
	mmap return values are checked correctly
	SA_SIGINFO signals are now delivered correctly
	skas mode now is protected against a tmpfs mount running out of space
	the UML main thread should no longer run kernel code
	fixed a couple of data corruption bugs

There are also a number of cleanups:
	the common portions of the linker scripts are now in a separate file,
included by both main scripts
	the Kconfig was extended and some missing includes added
	all initializers have been converted to C99
	dead code removal
	improved error messages
	more movement of mode-specific code to arch/um/kernel/{tt,skas}

				Jeff

 arch/um/Kconfig                           |   73 +++++++------
 arch/um/Makefile                          |   99 +++++++++++------
 arch/um/Makefile-skas                     |   20 +++
 arch/um/Makefile-tt                       |    7 +
 arch/um/defconfig                         |  128 +++++++++++-----------
 arch/um/drivers/chan_kern.c               |   36 +++---
 arch/um/drivers/chan_user.c               |    6 -
 arch/um/drivers/daemon_kern.c             |   42 +++----
 arch/um/drivers/daemon_user.c             |   21 +--
 arch/um/drivers/fd.c                      |   24 ++--
 arch/um/drivers/harddog_kern.c            |   16 +-
 arch/um/drivers/hostaudio_kern.c          |   28 ++---
 arch/um/drivers/line.c                    |   27 +++-
 arch/um/drivers/mcast_kern.c              |   38 +++---
 arch/um/drivers/mcast_user.c              |   16 +-
 arch/um/drivers/mconsole_kern.c           |   10 -
 arch/um/drivers/mmapper_kern.c            |   14 +-
 arch/um/drivers/net_kern.c                |   47 ++++----
 arch/um/drivers/null.c                    |   20 +--
 arch/um/drivers/pcap_kern.c               |   42 +++----
 arch/um/drivers/pcap_user.c               |   20 +--
 arch/um/drivers/port_kern.c               |  115 +++++++++++---------
 arch/um/drivers/port_user.c               |   65 ++++++-----
 arch/um/drivers/pty.c                     |   67 ++++--------
 arch/um/drivers/slip_kern.c               |   42 +++----
 arch/um/drivers/slip_user.c               |   16 +-
 arch/um/drivers/slirp_kern.c              |   38 +++---
 arch/um/drivers/slirp_user.c              |   16 +-
 arch/um/drivers/ssl.c                     |   74 ++++++-------
 arch/um/drivers/stdio_console.c           |   94 ++++++++--------
 arch/um/drivers/tty.c                     |   24 ++--
 arch/um/drivers/ubd_kern.c                |   17 +--
 arch/um/drivers/xterm.c                   |   44 ++++---
 arch/um/drivers/xterm_kern.c              |   14 +-
 arch/um/dyn.lds.S                         |  167 ++++++++++++++++++++++++++++++
 arch/um/include/choose-mode.h             |    6 -
 arch/um/include/frame.h                   |    4 
 arch/um/include/irq_user.h                |    2 
 arch/um/include/kern_util.h               |   10 -
 arch/um/include/mconsole.h                |   23 ++--
 arch/um/include/mode.h                    |    4 
 arch/um/include/os.h                      |   14 +-
 arch/um/include/signal_kern.h             |    6 -
 arch/um/include/skas_ptrace.h             |   36 ++++++
 arch/um/include/sysdep-i386/frame.h       |    3 
 arch/um/include/sysdep-i386/frame_kern.h  |   11 +
 arch/um/include/sysdep-i386/frame_user.h  |   23 ++--
 arch/um/include/sysdep-i386/ptrace.h      |  127 +++++++++++++---------
 arch/um/include/sysdep-i386/sigcontext.h  |   28 -----
 arch/um/include/sysdep-i386/syscalls.h    |    4 
 arch/um/include/time_user.h               |    4 
 arch/um/include/umid.h                    |    5 
 arch/um/include/uml_uaccess.h             |   28 +++++
 arch/um/include/user_util.h               |    5 
 arch/um/kernel/Makefile                   |   20 ---
 arch/um/kernel/frame.c                    |   23 +++-
 arch/um/kernel/frame_kern.c               |   49 +++++---
 arch/um/kernel/irq.c                      |    2 
 arch/um/kernel/irq_user.c                 |   30 ++---
 arch/um/kernel/ksyms.c                    |    5 
 arch/um/kernel/mem.c                      |   65 +++++++----
 arch/um/kernel/process_kern.c             |    4 
 arch/um/kernel/ptrace.c                   |    2 
 arch/um/kernel/sigio_user.c               |   41 +++----
 arch/um/kernel/signal_kern.c              |   36 ++----
 arch/um/kernel/skas/include/mode.h        |    7 -
 arch/um/kernel/skas/include/mode_kern.h   |    5 
 arch/um/kernel/skas/include/ptrace-skas.h |    2 
 arch/um/kernel/skas/include/skas.h        |   10 -
 arch/um/kernel/skas/include/skas_ptrace.h |   36 ------
 arch/um/kernel/skas/include/uaccess.h     |    3 
 arch/um/kernel/skas/mem.c                 |    5 
 arch/um/kernel/skas/mem_user.c            |    6 -
 arch/um/kernel/skas/process.c             |   41 ++++---
 arch/um/kernel/skas/process_kern.c        |   25 ++--
 arch/um/kernel/skas/sys-i386/sigcontext.c |   83 +++++++-------
 arch/um/kernel/skas/syscall_kern.c        |    2 
 arch/um/kernel/skas/syscall_user.c        |    5 
 arch/um/kernel/skas/tlb.c                 |   14 +-
 arch/um/kernel/skas/trap_user.c           |   27 ++--
 arch/um/kernel/sys_call_table.c           |    2 
 arch/um/kernel/tempfile.c                 |   23 +---
 arch/um/kernel/time.c                     |   13 +-
 arch/um/kernel/time_kern.c                |   18 +--
 arch/um/kernel/tlb.c                      |    6 +
 arch/um/kernel/trap_kern.c                |   10 +
 arch/um/kernel/trap_user.c                |   46 ++++----
 arch/um/kernel/tt/Makefile                |   17 ++-
 arch/um/kernel/tt/gdb.c                   |   18 +--
 arch/um/kernel/tt/gdb_kern.c              |    6 -
 arch/um/kernel/tt/include/mode.h          |    7 -
 arch/um/kernel/tt/include/mode_kern.h     |    2 
 arch/um/kernel/tt/include/ptrace-tt.h     |    2 
 arch/um/kernel/tt/include/tt.h            |    3 
 arch/um/kernel/tt/include/uaccess.h       |    4 
 arch/um/kernel/tt/mem.c                   |   26 ----
 arch/um/kernel/tt/mem_user.c              |   50 ++++++++
 arch/um/kernel/tt/process_kern.c          |   19 +--
 arch/um/kernel/tt/ptproxy/proxy.c         |   16 +-
 arch/um/kernel/tt/sys-i386/sigcontext.c   |    5 
 arch/um/kernel/tt/syscall_kern.c          |   17 +--
 arch/um/kernel/tt/syscall_user.c          |   11 -
 arch/um/kernel/tt/tlb.c                   |    2 
 arch/um/kernel/tt/trap_user.c             |   15 +-
 arch/um/kernel/tt/uaccess_user.c          |   42 -------
 arch/um/kernel/tt/unmap.c                 |   34 ++++++
 arch/um/kernel/uaccess_user.c             |   64 +++++++++++
 arch/um/kernel/um_arch.c                  |   19 ++-
 arch/um/kernel/umid.c                     |   16 +-
 arch/um/kernel/unmap.c                    |   34 ------
 arch/um/kernel/user_syms.c                |    9 -
 arch/um/kernel/user_util.c                |   25 ----
 arch/um/os-Linux/drivers/ethertap_kern.c  |   34 +++---
 arch/um/os-Linux/drivers/ethertap_user.c  |   16 +-
 arch/um/os-Linux/drivers/tuntap_kern.c    |   36 +++---
 arch/um/os-Linux/drivers/tuntap_user.c    |   16 +-
 arch/um/os-Linux/file.c                   |   21 ++-
 arch/um/os-Linux/process.c                |    2 
 arch/um/sys-i386/Makefile                 |    6 -
 arch/um/sys-i386/bugs.c                   |    2 
 arch/um/sys-i386/extable.c                |   30 +++++
 arch/um/sys-i386/fault.c                  |    2 
 arch/um/sys-i386/sigcontext.c             |    2 
 arch/um/sys-i386/util/mk_thread_kern.c    |    3 
 arch/um/uml.lds.S                         |   78 +-------------
 arch/um/util/mk_task_kern.c               |    2 
 include/asm-um/archparam-i386.h           |    2 
 include/asm-um/bug.h                      |   18 +++
 include/asm-um/common.lds.S               |   86 +++++++++++++++
 include/asm-um/page.h                     |   17 ---
 include/asm-um/pgtable.h                  |    3 
 include/asm-um/processor-i386.h           |    4 
 include/asm-um/ptrace-generic.h           |    5 
 include/asm-um/ptrace-i386.h              |    3 
 include/asm-um/ucontext.h                 |    6 +
 135 files changed, 1943 insertions(+), 1450 deletions(-)

ChangeSet@1.961, 2003-02-05 11:34:40-05:00, jdike@uml.karaya.com
  Merge

ChangeSet@1.956.1.7, 2003-02-05 10:24:48-05:00, jdike@uml.karaya.com
  Merged a conflict in ptrace.h.

ChangeSet@1.956.2.6, 2003-01-18 22:12:47-05:00, jdike@uml.karaya.com
  Merge jdike.stearns.org:linux/cleanup-2.5/
  into uml.karaya.com:/home/jdike/linux/2.5/cleanup-2.5

ChangeSet@1.960, 2003-01-18 21:50:59-05:00, jdike@uml.karaya.com
  Merge

ChangeSet@1.956.5.1, 2003-01-18 21:48:19-05:00, jdike@jdike.wstearns.org
  Fixed a conflict in the linker script.

ChangeSet@1.956.4.1, 2003-01-18 21:22:25-05:00, jdike@jdike.wstearns.org
  Fixed a conflict in the linker script.

ChangeSet@1.956.1.5, 2003-01-18 20:23:13-05:00, jdike@uml.karaya.com
  Changed some CONFIG_* symbols to UML_CONFIG_*.

ChangeSet@1.956.2.5, 2003-01-18 18:37:47-05:00, jdike@uml.karaya.com
  Replaced some CONFIG_* with UML_CONFIG_*.

ChangeSet@1.956.1.4, 2003-01-18 15:29:34-05:00, jdike@uml.karaya.com
  Fixed the time locking bug.
  The mconsole and switch protocols are now 64-bit clean.
  Fixed some smaller bugs.

ChangeSet@1.956.2.4, 2003-01-18 15:26:27-05:00, jdike@uml.karaya.com
  A bunch of minor changes ported up from 2.4.
  All userspace uses of CONFIG_* have been changed to UML_CONFIG_*
  to avoid conflicts with the host's config.
  os_open_file now has FD_CLOEXEC support.

ChangeSet@1.956.1.3, 2003-01-18 13:07:38-05:00, jdike@uml.karaya.com
  Ported a uml-config.h change from 2.4.

ChangeSet@1.956.2.3, 2003-01-18 13:06:39-05:00, jdike@uml.karaya.com
  Ported a cleanup from 2.4.

ChangeSet@1.959, 2003-01-17 22:32:31-05:00, jdike@uml.karaya.com
  Fixed dyn.lds.S to include common.lds.S.

ChangeSet@1.956.1.2, 2003-01-17 22:20:49-05:00, jdike@uml.karaya.com
  Some SMP fixes from Oleg.

ChangeSet@1.956.2.2, 2003-01-17 22:20:03-05:00, jdike@uml.karaya.com
  Correctly check the mmap return value.

ChangeSet@1.958, 2003-01-17 22:19:22-05:00, jdike@uml.karaya.com
  Some build changes for 2.5.59 and SMP.  Also cleanup of the linker
  scripts and Kconfig.

ChangeSet@1.956.2.1, 2003-01-17 12:02:05-05:00, jdike@uml.karaya.com
  Merged the vmlinux.lds.h changes.

ChangeSet@1.957, 2003-01-17 11:59:08-05:00, jdike@uml.karaya.com
  Merged the vmlinux.lds.h changes.

ChangeSet@1.914.12.2, 2003-01-16 16:52:16-05:00, jdike@uml.karaya.com
  Merge jdike.stearns.org:linux/fixes-2.5/
  into uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5

ChangeSet@1.914.10.5, 2003-01-16 16:31:28-05:00, jdike@uml.karaya.com
  Merge jdike.stearns.org:linux/cleanup-2.5/
  into uml.karaya.com:/home/jdike/linux/2.5/cleanup-2.5

ChangeSet@1.914.22.1, 2003-01-16 16:26:38-05:00, jdike@jdike.wstearns.org
  Merge jdike.wstearns.org:/home/jdike/linux/linus-2.5
  into jdike.wstearns.org:/home/jdike/linux/fixes-2.5

ChangeSet@1.914.21.1, 2003-01-16 16:08:34-05:00, jdike@jdike.wstearns.org
  Merge jdike.wstearns.org:/home/jdike/linux/linus-2.5
  into jdike.wstearns.org:/home/jdike/linux/cleanup-2.5

ChangeSet@1.914.19.1, 2003-01-16 15:35:43-05:00, jdike@uml.karaya.com
  Fixed a merge typo in Kconfig.

ChangeSet@1.914.10.4, 2003-01-16 15:26:33-05:00, jdike@uml.karaya.com
  Merge uml.karaya.com:/home/jdike/linux/2.5/build-2.5
  into uml.karaya.com:/home/jdike/linux/2.5/cleanup-2.5

ChangeSet@1.914.11.2, 2003-01-16 15:21:14-05:00, jdike@uml.karaya.com
  Merge

ChangeSet@1.914.10.3, 2003-01-16 15:10:38-05:00, jdike@uml.karaya.com
  Fixed a conflict in Kconfig between Oleg's updates and the 
  existing changes.

ChangeSet@1.914.10.2, 2003-01-16 10:45:16-05:00, jdike@uml.karaya.com
  Added gpl_ksymtab and kallsyms sections to the linker scripts.

ChangeSet@1.914.18.1, 2003-01-16 10:44:25-05:00, jdike@uml.karaya.com
  Updates to bring UML up to 2.5.58.

ChangeSet@1.914.12.1, 2003-01-15 21:57:53-05:00, jdike@uml.karaya.com
  Merge jdike.stearns.org:linux/fixes-2.5/
  into uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5

ChangeSet@1.914.11.1, 2003-01-15 21:54:48-05:00, jdike@uml.karaya.com
  Merge jdike.stearns.org:linux/cleanup-2.5/
  into uml.karaya.com:/home/jdike/linux/2.5/cleanup-2.5

ChangeSet@1.838.129.1, 2002-12-29 21:37:02-05:00, jdike@uml.karaya.com
  Merge

ChangeSet@1.838.128.1, 2002-12-29 21:35:59-05:00, jdike@uml.karaya.com
  Merge uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5
  into uml.karaya.com:/home/jdike/linux/2.5/fixes-2.5-linus

ChangeSet@1.838.127.1, 2002-12-29 21:28:59-05:00, jdike@uml.karaya.com
  Merge uml.karaya.com:/home/jdike/linux/2.5/build-2.5
  into uml.karaya.com:/home/jdike/linux/2.5/build-2.5-linus

ChangeSet@1.838.126.2, 2002-12-29 20:37:16-05:00, jdike@uml.karaya.com
  Fixed a few problems in the last merge.

ChangeSet@1.838.126.1, 2002-12-29 20:05:55-05:00, jdike@uml.karaya.com
  Forward ported a number of bug fixes from 2.4, including SA_SIGINFO
  signal delivery, protecting skas mode against tmpfs running out of
  space, protecting the UML main thread against accidentally running
  kernel code, and a couple of data corruption bugs.

ChangeSet@1.838.118.6, 2002-12-29 18:46:34-05:00, jdike@uml.karaya.com
  Merged in the C99 initializer changes.

ChangeSet@1.838.124.1, 2002-12-29 18:31:34-05:00, jdike@uml.karaya.com
  Forward ported a bunch of cleanups from 2.4.  Improved error messages,
  slightly different formatting, removal of dead code, and some stray
  C99 initializer conversions.

ChangeSet@1.838.122.6, 2002-12-29 15:27:19-05:00, jdike@uml.karaya.com
  Fixed the archmrproper rule to not delete linker script sources.

ChangeSet@1.838.122.5, 2002-12-29 15:21:40-05:00, jdike@uml.karaya.com
  Fixed handling of the linker script.

ChangeSet@1.838.122.4, 2002-12-29 15:05:58-05:00, jdike@uml.karaya.com
  Pulled in a number of other fixes which were needed to bring the
  build up to date.

ChangeSet@1.838.122.3, 2002-12-29 12:10:51-05:00, jdike@uml.karaya.com
  Moved the segment remapping code under arch/um/kernel/tt.

ChangeSet@1.838.122.2, 2002-12-28 22:35:25-05:00, jdike@uml.karaya.com
  Moved skas_ptrace.h.

ChangeSet@1.838.122.1, 2002-12-28 22:06:40-05:00, jdike@uml.karaya.com
  Merged the 2.4 build changes which split the mode-specific stuff
  into separate Makefiles and add the ability to build a dynamically
  loaded binary.

ChangeSet@1.838.118.5, 2002-12-28 21:27:46-05:00, jdike@uml.karaya.com
  Missed an initializer in the ethertap backend.

ChangeSet@1.838.118.4, 2002-12-28 21:20:41-05:00, jdike@uml.karaya.com
  Converted a bunch of inititializers in the drivers that I missed.

ChangeSet@1.838.118.3, 2002-12-28 19:48:40-05:00, jdike@uml.karaya.com
  Converted a few more initializers I missed on the first pass.

ChangeSet@1.838.118.2, 2002-12-28 15:28:07-05:00, jdike@uml.karaya.com
  Converted all initializers over to C99 syntax.

ChangeSet@1.838.118.1, 2002-12-28 11:50:51-05:00, jdike@uml.karaya.com
  Merge http://jdike.stearns.org:5000/doc-2.5
  into uml.karaya.com:/home/jdike/linux/2.5/uml-2.5

ChangeSet@1.838.117.4, 2002-12-28 11:42:00-05:00, jdike@uml.karaya.com
  Merge http://jdike.stearns.org:5000/updates-2.5
  into uml.karaya.com:/home/jdike/linux/2.5/uml-2.5

ChangeSet@1.838.117.3, 2002-12-28 11:32:32-05:00, jdike@uml.karaya.com
  Fixed a merge conflict in port_kern.c

ChangeSet@1.838.117.1, 2002-12-28 11:12:47-05:00, jdike@uml.karaya.com
  Merge http://jdike.stearns.org:5000/mconfig-2.5
  into uml.karaya.com:/home/jdike/linux/2.5/uml-2.5


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-08-07 14:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-08 22:50 [PATCH] UML fixes Jeff Dike
2003-02-06  3:13 Jeff Dike
2003-02-19 20:00 Jeff Dike
2003-02-26 18:16 Jeff Dike
2003-03-28 20:50 Jeff Dike
2003-05-22 17:59 Jeff Dike
2003-08-07 14:59 Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).