roy
6b9006e83c
Implement pidfile_lock, pidfile_read and pidfile_clean.
...
Discussed on tech-net@, ok core@.
2016-04-10 19:05:50 +00:00
wiz
3133e4c397
Fix xref section.
2016-04-10 18:27:56 +00:00
christos
3f61dfb7a9
GC PAX_ASLR_EXEC
2016-04-10 15:41:05 +00:00
christos
d9da07b963
We don't need TRAP_SIGDEBUG
2016-04-10 15:39:27 +00:00
christos
714503dcd7
Enable PIE binaries on amd64 by default.
2016-04-10 15:32:27 +00:00
christos
a9a4b283d5
- Turn on ASLR by default
...
- Add PAX_MPROTECT_DEBUG flag
2016-04-10 15:28:24 +00:00
christos
766ba0ea82
Fix ASLR stack setup:
...
- make it work on machine where the stack grows up.
- use the same limits as mmap.
2016-04-10 15:26:18 +00:00
christos
e9b41057d1
Add a flags sysctl for ASLR to disable particular features. We seem to be
...
having issues with stack setup.
2016-04-10 15:02:17 +00:00
wiz
e3ed9c4909
Sort sections. Use more markup.
2016-04-10 09:49:14 +00:00
martin
0e449e1bfb
Cosmetic tweaks to vncfonfig -l output, from Robert Elz (with minor tweaks
...
[and all bugs] by me). This should restore compatibility for old scripts
trying to find free vnodes in the new cloning world order.
2016-04-10 09:04:09 +00:00
ozaki-r
f0071d85a1
Don't call pfxlist_onlink_check with holding llentry lock
...
Sync nd6_free with FreeBSD (as of 2016-04-10).
Should fix PR kern/51056.
2016-04-10 08:15:52 +00:00
riastradh
563e4487a6
Macro parentheses police!
...
One *hopes* this has no functional change.
2016-04-09 19:55:33 +00:00
riastradh
617d199e69
Use && to fail early if subcommands of kernel link fail.
...
(Remind me why we string together shell commands instead of just
using make targets?)
2016-04-09 18:51:44 +00:00
christos
2dd09931ab
Change some 0's to NULL's from Pedro Giffuni
2016-04-09 18:47:05 +00:00
christos
fcf85103b4
More WIDECHAR elimination (Ingo Schwarze)
2016-04-09 18:43:17 +00:00
riastradh
3fccece556
Parrot markup for PTHREAD_MUTEX_INITIALIZER synopsis.
2016-04-09 18:25:26 +00:00
riastradh
916af051e3
Use the proper pluralization of `frotz'.
...
Per the jargon file, `frotz' is a contraction of `frobnitz', which
pluralizes to `frobnitzem'; `frobbotzim' is the plural of the related
but not identical term `frobozz'.
Fixing other uses of this plural elsewhere among the man pages is
left to the reader inclined to humorous linguistic studies.
2016-04-09 18:10:41 +00:00
christos
0aab751630
fix test.
2016-04-09 17:58:46 +00:00
christos
eabf50fc2e
properly check for type id overflow
2016-04-09 17:51:50 +00:00
riastradh
dc0a3c082c
Say loop header', not
loop head'.
...
`Head' means something else in this context -- a list head.
2016-04-09 17:50:54 +00:00
riastradh
236db44756
Fix a vestige of an earlier word choice: s/connected/associated/1
2016-04-09 17:48:32 +00:00
riastradh
445c99ba1f
Fix wording around `list heads'.
...
A list head is not a list, conceptually.
2016-04-09 17:37:55 +00:00
riastradh
ff614a8724
Tighten opening paragraph. Split into two smaller sentences.
2016-04-09 17:34:57 +00:00
riastradh
47b2d8f8b3
Add missing argument to kernhist_dump.
...
Hi nick!
2016-04-09 17:04:53 +00:00
riastradh
a7a62321c9
Fix the ABI of idtype_t.
2016-04-09 17:02:51 +00:00
riastradh
905764595d
Don't pollute <sys/condvar.h> with <sys/mutex.h>.
...
Instead, forward-declare struct kmutex, since we only need to
describe pointer types to it.
This breaks an include cycle on several architectures:
sys/cpu_data.h
-> sys/condvar.h
-> sys/mutex.h
-> sys/intr.h
-> machine/intr.h
-> machine/cpu.h
-> sys/cpu_data.h
2016-04-09 16:59:43 +00:00
riastradh
989878b760
Add autounload logic to dtrace module prototype.
2016-04-09 15:18:48 +00:00
riastradh
51346d2825
Disable autoload if there are any profile probes.
2016-04-09 15:17:58 +00:00
riastradh
4026866f8e
Use imperative mood consistently.
2016-04-09 15:09:42 +00:00
riastradh
18390450e2
Fix missing NAME operand to PSLIST_ENTRY_DESTROY.
2016-04-09 15:08:39 +00:00
riastradh
7256e74462
Prevent autounload while cyclics are still in use.
2016-04-09 14:50:08 +00:00
uwe
56571e06b5
Use \(em for em-dash.
2016-04-09 13:38:20 +00:00
uwe
1ecc79c9d0
Add couple of missing .Ns
2016-04-09 13:34:33 +00:00
martin
bd8b9a5dcb
Add t_pslist.debug
2016-04-09 09:58:11 +00:00
riastradh
c03dceb184
Add passive references, intermediate between pserialize and refcount.
...
Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2016/01/24/msg020069.html
API is still experimental and likely to change. (Obvious changes:
either remove extra arguments everywhere, or shrink psref_target to a
single bit, at the expense of possibly valuable diagnostic checks.)
Should do some real testing before we use this in anger!
2016-04-09 06:21:16 +00:00
riastradh
57883e65af
Fix name of example list head.
2016-04-09 05:16:23 +00:00
riastradh
4f7dd3337d
Introduce pserialize-safe linked lists.
...
These are like LIST_* from queue(3), but issue the appropriate memory
barriers for pserialize readers and writers.
Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2016/04/03/msg020365.html
2016-04-09 04:39:46 +00:00
riastradh
2233768047
Make this list diff- and sort-friendlier.
...
No functional change.
2016-04-08 21:53:10 +00:00
roy
5614feca68
Revert prior.
2016-04-08 14:52:56 +00:00
roy
111ee86de4
Revert prior.
2016-04-08 14:30:47 +00:00
christos
d5e7bf8bbf
- remove printf
...
- fix indent
2016-04-08 12:01:22 +00:00
christos
7be14baef5
remove HAVE_FPARSELN
2016-04-08 11:56:43 +00:00
gson
5973801c0c
Add regression tests for some past gdb bugs.
2016-04-08 10:09:16 +00:00
riastradh
feb61835e6
__diagused, not __unused -- used in an assert.
2016-04-07 23:29:59 +00:00
christos
5d7cee0467
Use sockaddr_dl_init
2016-04-07 21:41:02 +00:00
palle
d0242aefce
Rework locking mechanism introduced in rev. 1.21: use __cpu_simple_lock... instead of mutex_... since this causes issues when LOCKDEBUG is defined
2016-04-07 19:46:39 +00:00
mrg
360285623c
include opt_compat_netbsd.h to get COMPAT_SOCKCRED70 defined.
2016-04-07 17:48:40 +00:00
riastradh
f408525b7f
Reminder to add RCSIDs in any future DRM update.
2016-04-07 15:36:42 +00:00
christos
57b625b6f2
remove more ifdefs
2016-04-07 12:06:50 +00:00
dholland
eb0c9743f2
_SC_PAGESIZE is not the page size; it's a symbolic code for retrieving
...
the page size.
2016-04-07 06:21:48 +00:00