]> git.neil.brown.name Git - history.git/commit
Second patch to 0.96a 0.96a-patch2
authorLinus Torvalds <torvalds@linuxfoundation.org>
Fri, 23 Nov 2007 20:09:01 +0000 (15:09 -0500)
committerLinus Torvalds <torvalds@linuxfoundation.org>
Fri, 23 Nov 2007 20:09:01 +0000 (15:09 -0500)
commit24c9da665d19b3b9b4d696d18d2f4e891639dc05
tree56f8844a6be3e50d15213f19fdcfd7f53085ebba
parent5b58d8fe768269fe7f3f9e97e259b24544a7a083
Second patch to 0.96a

I have just sent off the second patch to 0.96a: it should be on the
normal ftp-sites (nic, tsx-11 and banjo), although the only site which I
can make it directly readable on is banjo, so on the other sites it will
take the site-managers to make the patch available.

Patch 2 implements:

- itimers (by Darren Senn), which are now also used to implement the
  alarm() system call.

- ultrastor scsi driver patches (by gentzel)

- [f]statfs() system call is implemented (so df can be made fs-
  independent). Also some other minor fs-changes for the upcoming new
  filesystem. Patches by Remy Card.

- preliminary core-file dumping code (linux creates a core-file, but
  it's not in the correct format yet [*]).

- minor changes/bugfixes.

While patching in patch1 is a good idea for anybody, patch 2 isn't
really vital. I've made it available just so kernel hackers can keep up
with the kernel I have right now if they wish. Patch 2 is relative to
patch 1: you have to patch that in first.

[*] The current core-file is very simple, and the kernel code is there
just so that some enterprising character can expand it. A core-file
looks like this right now:

offset data
0x0000 "core-dump: regs=\n"
0x0040 struct pt_regs (see <sys/ptrace.c>)
0x0400 "floating-point regs:\n"
0x0440 struct i387 (see <linux/sched.h>)
0x0800 the first 1kB of user-space

Not very practical, but it /might/ help if the X-server dies of a
segmentation fault or similar (you can use pt_regs.eip to see where it
happened). The kernel code is very easy to change to accomodate for the
real core-file format, I just didn't know what it should be.

                Linus
39 files changed:
boot/bootsect.S
fs/exec.c
fs/minix/bitmap.c
fs/minix/blkdev.c
fs/minix/chrdev.c
fs/minix/dir.c
fs/minix/file.c
fs/minix/inode.c
fs/minix/symlink.c
fs/namei.c
fs/open.c
fs/pipe.c
include/asm/io.h
include/linux/fs.h
include/linux/minix_fs.h
include/linux/sched.h
include/linux/sys.h
include/linux/unistd.h
include/signal.h
include/sys/time.h
kernel/Makefile
kernel/blk_drv/blk.h
kernel/blk_drv/floppy.c
kernel/blk_drv/hd.c
kernel/blk_drv/ll_rw_blk.c
kernel/blk_drv/scsi/ultrastor.c
kernel/blk_drv/scsi/ultrastor.h
kernel/chr_drv/console.c
kernel/chr_drv/keyboard.c
kernel/chr_drv/tty_io.c
kernel/fork.c
kernel/itimer.c [new file with mode: 0644]
kernel/math/ea.c
kernel/sched.c
kernel/signal.c
kernel/sys.c
kernel/sys_call.S
lib/Makefile
tools/build.c