Commit Graph

12679 Commits

Author SHA1 Message Date
uebayasi
8a0d672c53 Refactor. 2014-11-16 14:49:12 +00:00
uebayasi
20fd8a9d0f Consistently wrap long lines in ioconf.c. 2014-11-16 14:26:14 +00:00
uebayasi
73810e5d00 config(1): TODO about namespace (esp. options vs. module) 2014-11-16 07:12:34 +00:00
uebayasi
79fcd6c2d2 config(1): TODO item about swapnetbsd.c 2014-11-16 04:28:09 +00:00
uebayasi
dfd51da465 config(1): Avoid buffer overrun (modular build) 2014-11-15 12:18:55 +00:00
uebayasi
70dd8e7d2a config(1): Sort objects by weight in modular build
Sort per-module kernel objects (*.ko) by dependency weight.  Important modules
are placed in lower addresses.  The ``machdep'' module will be always placed
in the lowest.

(At this moment, the order is not exact because dependency information is
incomplete in config files (files.*).  Thus ``sysmon_power.ko'' comes lower
than ``machdep.ko'' and/or ``uvm.ko''; but still much better than alphabetical
sort.)
2014-11-15 08:21:38 +00:00
uebayasi
2f06dcafd4 Revise a plan about link-set.
(I was ignorant 2 weeks ago.)
2014-11-13 15:25:48 +00:00
aymeric
072d5fd039 Remove the syslogging of a dial out login warning based on the tty name, because
the test is sloppy and doesn't correspond to the current naming anyway.
OK gdt@
PR#377 can remain closed.
2014-11-12 22:23:38 +00:00
christos
df51b41a7f PR/47704: Takahiro HAYASHI: Fix -L flag 2014-11-12 03:34:59 +00:00
christos
b552d112cd merge a bit of duplicated code. 2014-11-10 21:13:04 +00:00
snj
8aed8f1ac1 minor wording nits and a typo fix 2014-11-10 07:33:31 +00:00
uebayasi
28fcb3ecde config(1): Note a little more about linkage 2014-11-08 05:57:41 +00:00
christos
727f236228 - simplify string parsing
- emalloc + sprintf = easprintf
2014-11-07 17:50:14 +00:00
uebayasi
701e371cb2 config(1): TODO about kernel linkage 2014-11-07 16:41:17 +00:00
christos
e2c137d286 fix A,v,T with route display. 2014-11-07 12:42:27 +00:00
christos
34cb342199 use the common code from route.c 2014-11-06 21:30:09 +00:00
uebayasi
7710d317bc config(1): Rename internal flag to enable modular build 2014-11-06 11:40:32 +00:00
sjg
a75f41b571 Ensure -- filemon is at start of line 2014-11-06 01:36:57 +00:00
joerg
4e288682c2 nv_num is not a dev_t, so add explicit cast for the sake of
-Wconversion.
2014-11-04 23:02:14 +00:00
joerg
fdcb5b3398 makedev returns ~uint64_t, but val is int64_t. Cast for -Wconversion. 2014-11-04 23:01:23 +00:00
joerg
e7051a1953 To make -Wconversion happy, cast return value of tolower/toupper to
char.
2014-11-04 23:00:35 +00:00
pooka
23dfcd7408 Use autoconf for rump kernel posix hypercall layer.
This gets rid of homegrown hacks and puts all probes in one place.

Tested for NetBSD (build.sh + anita) and Linux (buildrump.sh)
2014-11-04 19:05:17 +00:00
uebayasi
e8a6d4b70c config(1): Start calling module as module 2014-11-01 14:24:45 +00:00
uebayasi
6c852b2895 config(1): More TODO description. 2014-11-01 14:15:31 +00:00
uebayasi
fe2a50734b config(1): Don't emit unused empty loc[] 2014-11-01 11:02:41 +00:00
uebayasi
c62ce2631a config(1): One more TODO about retiring direct attachment 2014-11-01 08:13:11 +00:00
uebayasi
6c283bdad1 config(1): Emit pdevinit[] into .rodata 2014-11-01 07:26:11 +00:00
uebayasi
def3cecb48 config(1): Set NULL to unused cfdata::cf_loc 2014-11-01 06:20:24 +00:00
uebayasi
e1a6328057 config(1): KNF 2014-11-01 04:34:27 +00:00
uebayasi
304be40991 config(1): Better indent of cfdata in ioconf.c 2014-10-31 18:26:06 +00:00
uebayasi
084f527f2d config(1): KNF generated ioconf.c 2014-10-31 17:58:02 +00:00
uebayasi
374e86cbe4 config(1): Emit only referenced interface attributes in ioconf.c 2014-10-31 17:43:55 +00:00
uebayasi
c42523f496 config(1), config(5): Introduce "select"
o Introduce a new selection directive "select" to select an attribute (as a
  module) and its dependencies.
o Support "no select" too.
o Stop abusing "options" to select an attribute.
o Bump config(1) version.
2014-10-31 07:38:36 +00:00
lukem
b315b2bb36 Version 20141026
Ignore special characters unless they're from the command line.
Fixes CVE-2014-8517
2014-10-31 03:27:18 +00:00
wiz
75f5ef0d24 Spelling fixes. 2014-10-30 23:18:02 +00:00
christos
b89e3b087d remove overflow test that triggered for negative values; we only care
about the hash here.
2014-10-30 15:13:11 +00:00
uebayasi
bd3d598f54 config(1): More TODO 2014-10-30 08:20:15 +00:00
dholland
e26b626982 Drop setuid before execing rlogin. Failure to do so should be
harmless, but is sloppy.
2014-10-30 06:13:50 +00:00
christos
5dcabc490b print more info about the overflow 2014-10-30 01:36:13 +00:00
uebayasi
c5c18c905b config(1): More TODO items 2014-10-30 01:26:20 +00:00
christos
584127132b put back scanner warnings now that flex produces clean code. 2014-10-29 19:10:49 +00:00
christos
1ed33bc5b9 cast to signed, since that's all we have. 2014-10-29 19:10:18 +00:00
uebayasi
5a220e24e9 Fix build. 2014-10-29 18:09:35 +00:00
christos
d12b0036c5 - add RCSID's
- fix -Wconversion (except scanner)
2014-10-29 17:14:50 +00:00
christos
d138fe3e34 don't pay attention to special characters if they don't come from the command
line (from jmcneill)
2014-10-26 16:21:59 +00:00
sjg
0b32bec31a Use read and fwrite rather than fgets and printf when reading filemon data. 2014-10-20 23:22:57 +00:00
sjg
18f74f9db1 Extract broken tests 2014-10-20 23:21:11 +00:00
christos
0fef28f060 PR/49291: Henning Petersen: Problem with half-line feeds in input stream. 2014-10-18 14:56:14 +00:00
snj
f0a7346d21 src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
2014-10-18 08:33:23 +00:00
uebayasi
023c161bb6 Keep track of attribute (module) dependency using hash2. 2014-10-18 06:36:40 +00:00