freebsd-nq/sys
Kazutaka YOKOTA 38c6184fd5 Reject unreasonable values passed to CONS_HISTORY ioctl. It did not
check the value and caused kernel panic when a large value was given.

- Move the configuration option SC_HISTORY_SIZE from syscons.h to
syscons.c.
- Define the maximum total number of history lines of all consoles.
It is SC_HISTORY_SIZE*MAXCONS or 1000*MAXCONS; whichever is larger.
CONS_HISTORY will allow the user to set the history size up to
SC_HISTORY_SIZE unconditionally (or the current height of the console
if it is larger than SC_HISTORY_SIZE). If the user requests a larger
buffer, it will be granted only if the total number of all allocated
history lines and the requested number of lines won't exceed the maximum.
- Don't free the previous history buffer and leave the history buffer
pointer holding a invalid pointer. Set the pointer to NULL first, then
free the buffer.

PR: bin/4592
1997-10-23 03:23:50 +00:00
..
alpha Rename MOUSE_GETINFO to MOUSE_GETHWINFO. The name collided with the one 1997-10-19 10:45:18 +00:00
amd64 Reference the DMI table inside the SMBIOS table correctly, not using a variable 1997-10-21 07:40:22 +00:00
compat Update for changes in the callout interface. 1997-09-21 21:43:54 +00:00
compile
conf Put in an initial %VERSREQ field. This will cause existing config(8)'s 1997-10-22 00:48:36 +00:00
ddb Fixed scrolling. Newline at the "--More--" prompt scrolled 2 lines. 1997-10-09 00:20:00 +00:00
dev Reject unreasonable values passed to CONS_HISTORY ioctl. It did not 1997-10-23 03:23:50 +00:00
fs Fix the same leak as in nullfs. Now the lowervp is properly marked inactive. 1997-10-21 21:08:17 +00:00
geom Remove a #ifndef __FreeBSD__ chunk. 1997-10-11 07:35:25 +00:00
gnu Make a set of VOP standard lock, unlock & islocked VOP operators, which 1997-10-17 12:36:19 +00:00
i386 Reject unreasonable values passed to CONS_HISTORY ioctl. It did not 1997-10-23 03:23:50 +00:00
isa Reject unreasonable values passed to CONS_HISTORY ioctl. It did not 1997-10-23 03:23:50 +00:00
isofs/cd9660 Make a set of VOP standard lock, unlock & islocked VOP operators, which 1997-10-17 12:36:19 +00:00
kern Reject attempts to call open() with an illegal combination of O_RDONLY, 1997-10-22 07:28:51 +00:00
libkern Removed unused #includes. 1997-08-02 14:33:27 +00:00
miscfs Fix the same leak as in nullfs. Now the lowervp is properly marked inactive. 1997-10-21 21:08:17 +00:00
modules Update Makefile to know about PPP_FILTER and fix the PPP_BSDCOMP and 1997-10-18 01:37:52 +00:00
msdosfs Make a set of VOP standard lock, unlock & islocked VOP operators, which 1997-10-17 12:36:19 +00:00
net Braino on my part.. a #define isn't a reference to a structure, so the 1997-10-18 09:02:39 +00:00
netatalk Remove dereference of uninitialized (and unused) variable. This enables 1997-10-06 15:56:16 +00:00
netinet Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
netipx Update network code to use poll support. 1997-09-14 03:10:42 +00:00
netkey Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
netnatm Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
netns Remove unneeded member nsp_head from struct nspcb. 1997-04-14 18:26:51 +00:00
nfs VFS clean up "hekto commit" 1997-10-16 22:01:05 +00:00
nfsclient VFS clean up "hekto commit" 1997-10-16 22:01:05 +00:00
nfsserver Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
pc98 Synchronize with sys/i386/isa/fd.c revision 1.105. 1997-10-21 09:48:38 +00:00
pccard - When doing suspend/resume, only try to suspend those drivers on active 1997-10-23 02:30:39 +00:00
pci Rewrote fxp_start() for better clarity and efficiency. 1997-10-23 01:45:15 +00:00
powerpc/include
rpc Resolve conflicts. 1997-05-28 04:45:15 +00:00
scsi Make the Sun OEM version of the DLT a known multi-LUN device so changers 1997-10-19 09:37:49 +00:00
sys Rename MOUSE_GETINFO to MOUSE_GETHWINFO. The name collided with the one 1997-10-19 10:45:18 +00:00
tools 3 lines of code and updates to a number of comments. 1997-09-10 20:11:02 +00:00
ufs I belive this fixes MFS after I broke it. 1997-10-20 19:53:26 +00:00
vm Last major round (Unless Bruce thinks of somthing :-) of malloc changes. 1997-10-12 20:26:33 +00:00
Makefile Commit a long-forgotten tweak for building tags in /usr/src/sys. 1997-07-13 07:36:20 +00:00