|
From: Jan-Benedict G. <jb...@us...> - 2004-08-16 11:22:47
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17291 Modified Files: Kconfig Log Message: - Add config options to switch off abortion of syscalls with wrong number of arguments and the matching warning for it. - Update ka4x_defconfig. - This is only in place to help Kaj-Michael with TA-Linux. It'll go away after his getty is fixed (which I think causes the error messages he gets out of his system...). Index: Kconfig =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/Kconfig,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- Kconfig 15 Aug 2004 17:09:55 -0000 1.18 +++ Kconfig 16 Aug 2004 11:22:38 -0000 1.19 @@ -243,11 +243,35 @@ config VAX_DIAG_LED tristate "Support for accessing the diagnostic LEDs" default n + depends VAX help This driver is a hack and will probably go away soon. It's main purpose is to aid me towards rewriting the dz11 driver to be more modular... +# +# The next two options do basically have only one user. After his +# userland is fixed, they can go away (cf. ./arch/vax/kernel/syscall.c). +# +config DEBUG_VAX_CHECK_CHMx_ARGS + bool "Check number of syscall arguments" + default y + depends VAX + help + This option allows you to switch off checking the number of + supplied arguments to syscalls. That is, you'd call a syscall + with less atguments than needed unrecognized if you switch off + this option. Only a moron would do that, or somebody who's + on the way to fix his ABI code... + +config DEBUG_VAX_CHECK_CHMx_ARGS_ABORT + bool "Abort syscall with wrong number of arguments" + default y + depends DEBUG_VAX_CHECK_CHMx_ARGS + help + With this option enabled, you'll not only get a warning, but + the whole system call will be aborted before it can cause + any harm. That's a good think, so keep it enabled! endif endmenu |