mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Protect TTYHOG by #ifndef so it can be overridden from the config
file. Submitted by: hsu@clinet.fi (Heikki Suonsivu)
This commit is contained in:
parent
a7957cb6ce
commit
dd9ba30492
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9543
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)tty.h 8.6 (Berkeley) 1/21/94
|
||||
* $Id: tty.h,v 1.17 1995/04/11 17:53:14 ache Exp $
|
||||
* $Id: tty.h,v 1.18 1995/04/15 20:59:28 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_TTY_H_
|
||||
@ -118,7 +118,9 @@ struct tty {
|
||||
#define IBUFSIZ 384 /* Should be >= max value of MIN. */
|
||||
#define OBUFSIZ 100
|
||||
|
||||
#ifndef TTYHOG
|
||||
#define TTYHOG 1024
|
||||
#endif
|
||||
|
||||
#ifdef KERNEL
|
||||
#define TTMAXHIWAT roundup(2048, CBSIZE)
|
||||
|
Loading…
Reference in New Issue
Block a user