Commit Graph

12044 Commits

Author SHA1 Message Date
roy 4a48321724 Fix building rpcbind with MKYP=no
We add enough of the YP headers to security.c so the security checks
can remain as is.
2019-04-24 10:27:49 +00:00
sevan 5f0969c23a Omit files not marked executable from the signature database by default.
Closes PR kern/41669
Reviewed by <agc>
2019-04-23 22:35:42 +00:00
martin e613b9b5e9 Use FOREACH_SAFE when removing devices from our internal list. 2019-04-21 07:50:59 +00:00
abhinav 6947938705 Memory allocated by sqlite3_mprintf should be free'd by sqlite3_free
This was causing memory corruption thus making apropos(1) fail in some cases.
Specifically following options were broken and should be fixed with this commit:

-n option was causing a core dump
apropos was giving warning when using -l and any of the section numbers as options
as reported by paulg on current-users.
2019-04-19 20:35:13 +00:00
tih d3100ce6fd Summary: Ensure default TCP flags are applied to rules like 'pass stateful all'
The documented default "flags S/SAFR" for stateful rules that affect
TCP packets but don't specify any flags, doesn't actually get applied
to a rule like "pass stateful out all". The big problem with this is
that when you then do a "block return-rst" for an incoming packet, the
generated RST packet will create state for the connection attempt it's
blocking, so that a second attempt from the same source will pass.

This change makes the default flags actually apply to such simple
rules.  It also fixes a related bug in the code generation for the
flag matching, where part of the action could erroneously be omitted.

Reviewed by <rmind>
Closes PR bin/54124
Pullup to NetBSD 8
2019-04-17 20:41:58 +00:00
maya bac778e85c fix typo 2019-04-17 12:30:51 +00:00
gutteridge 04559c5d43 cpuctl.8: update the URL for AMD microcode, the previous site listed is
apparently defunct.
2019-04-15 22:37:13 +00:00
abhinav 496b8ce373 Set the snippet_length field of the callback_args
Because of this field not being set, apropos was failing to show snippet when piped to a pager
or when used with -p argument.
2019-04-14 07:59:56 +00:00
martin 9f55adb03a Do not test contents of non-existing Xresource file (if X11 sets have
not been installed)
2019-04-11 14:45:58 +00:00
sevan 48c836ccbc bump date 2019-04-09 19:10:21 +00:00
sevan 009f837b28 Drop Pp before Bl 2019-04-09 18:22:33 +00:00
sevan d90cc3e3f6 New sentence, new line 2019-04-09 18:21:15 +00:00
sevan af228c8664 Offer a potential workaround to the caveat. 2019-04-08 20:18:14 +00:00
wiz add3cd5b0e Improve wording. 2019-04-08 07:58:45 +00:00
rmind 0694a143e0 npf.conf(5): Add more info about ifaddrs(). 2019-04-07 22:23:40 +00:00
nat fddb9d3f18 Opps... Remove extra ')' 2019-03-31 11:44:11 +00:00
nat ef891695e9 Remove dead code from sbc decoder.
Found by Hans Petter Selasky.
2019-03-31 11:33:27 +00:00
christos 30de70615e - die sooner (if we got interrupted)
- when we finish resending exit.
2019-03-29 21:51:52 +00:00
mlelstv 63a0e3227a expand error message to also list wsbell as valid name. 2019-03-29 07:49:38 +00:00
mlelstv 5e6e55c4f6 Add support for WSMUX_BELL, also avoid crashes when the kernel returns
unknown device types.
2019-03-29 07:47:33 +00:00
pgoyette 4ee463a9f6 Fix open() error message - use a colon rather than a semicolon to match
the other error messages
2019-03-25 23:43:56 +00:00
msaitoh 925078524d Add HAXM. 2019-03-24 04:43:54 +00:00
mrg 4f3dd60b62 add an example shell pipeline that will print *all* kernel stack traces.
bump date.
2019-03-23 02:07:32 +00:00
msaitoh 46074b985b s/TGC/TCG/. Not Tokyo Game Show but Tiny Code Generator. 2019-03-22 04:39:02 +00:00
msaitoh edc92999c8 - Dump CPUID leaf 0x40000000 if available (for -v option).
- Regard "TCGTCGTCGTCG" as QEMU(TGC).
2019-03-22 02:33:08 +00:00
christos 7f6ee53058 remove unneeded header. 2019-03-11 00:31:36 +00:00
christos 059d37ece9 adjust to the new mandoc api 2019-03-11 00:14:44 +00:00
mrg f05065bf5d remove 30-urw-aliases.conf and add 45-generic.conf and 60-generic.conf.
should fix build issues reported on current-users.
2019-03-09 23:46:34 +00:00
martin 0a2b4fff53 XDM Xresources has been extended and the new values are important for proper
working of newer XDM. Check for the missing values and ask the user to
fix manually.
2019-03-08 08:19:56 +00:00
christos e6b2ce53d6 fix memory allocation problems detected by jemalloc... 2019-03-07 22:08:59 +00:00
nonaka 2f7c8d4b83 arp(8): one more to close socket. 2019-02-28 01:20:25 +00:00
dholland 2cc9171b5c Teach arp that it's okay to close sockets after using them.
(this requires adding a close op to the rump turds)

Fixes PR 53974 reporting too many open files.
2019-02-27 23:29:50 +00:00
martin 1f77ea3786 Simplify previous even further by using hline() instead of a hand coded
version.
2019-02-27 12:59:35 +00:00
martin b0876b5075 Simplify previous, suggested by simonb. 2019-02-27 11:35:35 +00:00
joerg 222ae4e52b Avoid string + int warning. 2019-02-26 13:09:35 +00:00
gutteridge 38c10b539d ifwatchd(8): remove lingering references to dhclient(8). In this case,
its replacement handles carrier detection itself. Addresses part of
PR misc/53669.
2019-02-17 20:50:25 +00:00
gutteridge 03f48fcb5b pf.boot.conf: remove lingering references to dhclient(8), and while
here, capitalize acronyms. Addresses part of PR misc/53669.
2019-02-17 20:45:47 +00:00
christos 88b70b62ed add breaks for done() since it might not be __dead. 2019-02-14 20:19:51 +00:00
christos df2505e193 done is not always done (it returns, it is not dead) 2019-02-14 17:08:54 +00:00
wiz aa6b736126 Bump date for previous. 2019-02-13 11:40:41 +00:00
mlelstv 1586b80690 Document options to select alternate GPIO modes. 2019-02-12 21:41:38 +00:00
martin c3f237b4de Backout previous snprintf nonsense, instead STFU gcc 7's most
useless warning ever.
2019-02-12 18:32:15 +00:00
martin ccb99dea3b Fix a few off by one (in both directions) in previous, pointed out by mrg.
Avoid open coding snprintf return value checking and introduce a
helper functions that always ensures string termination instead,
suggested by christos.
2019-02-11 20:40:18 +00:00
martin f9df7d7b5c Remove unconditional truncation - it confuses gcc 2019-02-11 20:03:28 +00:00
martin 997731694f Two more gcc 7 warnings when compiling wiht optimization on, one to go. 2019-02-11 19:58:22 +00:00
mrg e3dd5b9e43 add parens around defines with expressions that could expand poorly
depending on the usage.
2019-02-11 19:45:54 +00:00
martin a57c274e80 Make sure we properly truncate snprintf() results when the target buffer
is too small, in a way that appeases gcc 7 warnings.
2019-02-11 19:15:38 +00:00
msaitoh 800ead4e1b Add missing newline. 2019-02-09 16:00:41 +00:00
isaki df508298eb Rewrite modify_single() to make compilable on gcc7. 2019-02-08 08:55:35 +00:00
isaki 9d27cfd2fe Make compilable even SRAMDEBUG. 2019-02-08 08:41:11 +00:00