Commit Graph

758 Commits

Author SHA1 Message Date
sevan
b376ef7f24 Alternate buffer queue strategies no longer considered experimental, update
description.

Discussed on tech-kern
http://mail-index.netbsd.org/tech-kern/2018/01/21/msg023002.html
2018-01-23 14:47:53 +00:00
christos
ed7d865c43 pass the right argument 2017-09-15 03:11:15 +00:00
christos
6f722efce2 make this compile 2017-09-15 03:10:07 +00:00
mrg
95772a8862 clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
  since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
  many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
2017-09-14 07:58:38 +00:00
sevan
684872c792 Remove support for VERIFIED_EXEC_FP_RMD160, VERIFIED_EXEC_FP_SHA1, and VERIFIED_EXEC_FP_MD5 options.
These algorithms are either broken or on their way to being broken.

Discussed on tech-security
http://mail-index.netbsd.org/tech-security/2017/08/21/msg000936.html

ok riastradh
2017-09-13 22:24:42 +00:00
maxv
5f6e25a19d Remove TCP_COMPAT_42 from the config files. Pass 3. 2017-07-29 18:08:56 +00:00
maxv
f1654d53d9 Remove TCP_COMPAT_42 from the config files. Pass 2. 2017-07-29 12:28:27 +00:00
flxd
50e68e123b spelling (DEC called it "TURBOchannel") 2017-06-22 16:46:52 +00:00
christos
cb5e99c661 centralize vers.c building for standalone programs. 2017-04-08 19:53:19 +00:00
rin
9e3d987a53 PR port-mac68k/51923
Bump default MAXTSIZ to 32MB for m68k ports, which allos us to use GCC 5.4 on
GENERIC kernels.
Ok jklos
2017-02-02 21:53:54 +00:00
rin
6eadace49f PR port-mac68k/51923
Remove unused SYSPTSIZE and USRPTSIZE from m68k ports.
Ok jklos
2017-02-02 21:50:22 +00:00
maya
90e99e5963 more psize_t physmem fallout. remove conflicting types. 2016-12-23 10:48:12 +00:00
flxd
aea86e7b75 Fix typo "one the" and architecture where appropriate. 2016-12-17 14:36:29 +00:00
tsutsui
03a3a2cfbc Enable LIBSA_CREAD_NOCRC. PR/50638
Bump version to denote user visible change.
Tested on NWS-1750.
2016-01-17 04:50:36 +00:00
christos
d5137ecf34 fenv for m68k 2015-12-24 14:12:39 +00:00
uebayasi
44e9385020 Declare dependency on fpsp.o via newly introduced ${MD_LIBS} instead of
${MD_OBJS}.

${MD_OBJS} should be used only for objects that must be linked first (i.e.,
start code).  Objects have to be compiled following common compile rules,
and have to be generated into common places (i.e., top of kernel build
directory).

${MD_LIBS} defines libraries that are built by separate makefiles, under
separate directories.  `Makefile.kern.inc' doesn't know intermediate library
objects.
2015-09-06 02:17:30 +00:00
uebayasi
7fe7089a02 Add pseudo-device ksyms' where options DDB' is used, because
config(1)/config(5) can't handle module dependency correctly at this
moment.

(This is another proof that shared file definition (`file xxx.c a|b')
is a bad idea.)
2015-08-21 01:52:07 +00:00
maxv
b74522aae1 Remove KMEMSTATS. 2015-08-08 06:36:24 +00:00
maxv
02aebf5ed4 Remove KMEMSTATS. 2015-08-07 13:53:28 +00:00
maxv
d22da207ed Remove the KMEMSTATS option. It no longer exists. 2015-08-07 07:29:33 +00:00
martin
79db564711 Handle EINVAL in the fault path and send SIGBUS on mmap'd access past EOF 2015-03-04 20:29:59 +00:00
manu
239cf5506d Remove unused extended attributes kernel options
As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
2014-11-16 16:01:39 +00:00
manu
2cab231d44 Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels
This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr

Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
2014-11-12 10:47:20 +00:00
christos
513268682f this is not python (add missing braces) 2014-09-21 16:34:53 +00:00
jnemeth
ee79d5b0e4 Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR".  This
option turns on module autoloading by default (which is the current
default).  This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.
2014-08-24 07:59:22 +00:00
dholland
4acb6306f5 Systematize (and in many cases, fix) the comments on options COMPAT_NN.
There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
2014-08-23 20:26:56 +00:00
apb
a544a9c45e Add commented out "#options COMPAT_70" to all kernel configuration
files that already had commented out "#options COMPAT_60".
2014-08-16 17:57:37 +00:00
apb
30a0368950 Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
2014-08-16 17:56:30 +00:00
joerg
eb6cc7528a Consistently define WARN in a way that passes format string checks, i.e.
always uses the same number of arguments as given in the format string.
2014-08-06 21:57:48 +00:00
dholland
f9228f4225 Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
2014-07-25 08:10:31 +00:00
tsutsui
f4763f29dc Shrink GENERIC and enable MODULAR instead. 2014-07-18 17:19:35 +00:00
tsutsui
9a31b44a41 Use COPTS="-O2 -fno-reorder-blocks" as defined in sys.mk for userland.
with "-O2":
   text    data     bss     dec     hex filename
3297898   65044  122584 3485526  352f56 netbsd

with "-O2 -fno-reorder-blocks":
   text    data     bss     dec     hex filename
2930782   65044  122584 3118410  2f954a netbsd
2014-07-05 09:14:02 +00:00
ozaki-r
f351285ac5 Replace sprintf with snprintf 2014-03-29 05:07:25 +00:00
christos
92acc2a82f fold line 2014-03-28 15:02:34 +00:00
ozaki-r
8405b449bb Use snprintf instead of sprintf 2014-03-28 11:49:40 +00:00
christos
7bde9f2c98 - use cpu_{g,s}etmodel
- fix unused
2014-03-24 19:54:28 +00:00
szptvlfn
a66bf66641 fix manual section numbering of sysctl.
thanks wiz@
2014-03-24 14:15:37 +00:00
dholland
a68f9396b6 Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
2014-03-16 05:20:22 +00:00
tsutsui
af9393ea1f Use common m68k/busaddrerr.s for bus error and address error handlers.
No binary changes on GENERIC, and also tested on NWS-1750.
2014-03-15 09:24:56 +00:00
tsutsui
8627c8a745 Remove unused m68k_fault_addr, which is required only on mac68k for SBC.
It looks hp300 one was copied from mac68k in rev 1.75
and then it was pasted to other ports again and again.
2014-03-09 16:18:00 +00:00
tsutsui
b51976e023 defined(LKM) -> defined(MODULAR) 2014-01-31 18:49:35 +00:00
tsutsui
8c436a9898 Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.
XXX: probabry we should have bsd.saprog.mk or something.
2014-01-12 15:26:28 +00:00
christos
86b6b2fef2 make cpu_need_resched() macros consistent; __USE flags 2013-10-19 19:20:59 +00:00
rmind
666e919182 G/C PFIL_HOOKS from the kernel configs. 2013-06-30 21:38:55 +00:00
christos
e46f5f0078 remove obsolete networking options 2013-06-05 23:07:59 +00:00
christos
1cc8b68d4b the bogus number police 2013-04-27 21:43:10 +00:00
christos
dc14ae835f remove confusing numeric locators where they are unused. 2013-04-27 18:19:19 +00:00
christos
2c1aa36c3d Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it. 2013-03-02 02:42:07 +00:00
joerg
e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
apb
5c7419e70f Add commented out "#options COMPAT_60" to all kernel configuration files
that already had commented out "#options COMPAT_50".
2012-10-17 14:49:40 +00:00