Subject: CVS commit: src/sys
To: None <>
From: YAMAMOTO Takashi <>
List: source-changes
Date: 12/11/2006 15:24:28
Module Name:	src
Committed By:	yamt
Date:		Mon Dec 11 15:24:28 UTC 2006

Modified Files:
	src/sys/arch/amd64/conf: GENERIC
	src/sys/arch/i386/conf: ALL GENERIC PARALLELS QEMU
	src/sys/arch/sparc64/conf: GENERIC
	src/sys/conf: files
	src/sys/kern: init_main.c kern_fileassoc.c kern_pax.c
	src/sys/sys: fileassoc.h

Log Message:
- remove a static configuration, FILEASSOC_NHOOKS.  do it dynamically instead.
- make fileassoc_t a pointer and remove FILEASSOC_INVAL.
- clean up kern_fileassoc.c.  unify duplicated code.
- unexport fileassoc_init using RUN_ONCE(9).
- plug memory leaks in fileassoc_file_delete and fileassoc_table_delete.
- always call callbacks, regardless of the value of the associated data.

ok'ed by elad.

To generate a diff of this commit:
cvs rdiff -r1.120 -r1.121 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -r1.73 -r1.74 src/sys/arch/i386/conf/ALL
cvs rdiff -r1.800 -r1.801 src/sys/arch/i386/conf/GENERIC
cvs rdiff -r1.9 -r1.10 src/sys/arch/i386/conf/PARALLELS
cvs rdiff -r1.8 -r1.9 src/sys/arch/i386/conf/QEMU
cvs rdiff -r1.80 -r1.81 src/sys/arch/sparc64/conf/GENERIC
cvs rdiff -r1.819 -r1.820 src/sys/conf/files
cvs rdiff -r1.284 -r1.285 src/sys/kern/init_main.c
cvs rdiff -r1.13 -r1.14 src/sys/kern/kern_fileassoc.c
cvs rdiff -r1.8 -r1.9 src/sys/kern/kern_pax.c
cvs rdiff -r1.78 -r1.79 src/sys/kern/kern_verifiedexec.c
cvs rdiff -r1.6 -r1.7 src/sys/sys/fileassoc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.