Commit Graph

15667 Commits

Author SHA1 Message Date
martin
da2aed28fa Switch sparc64 to gcc 5.3. OK: mrg 2016-04-28 18:29:20 +00:00
ozaki-r
0250b4d7d6 Fix usages of PSLIST_ENTRY_* in the example code 2016-04-27 08:18:40 +00:00
ozaki-r
28a15dd493 Fix usage of frobbotzim_prc in the example code 2016-04-27 08:05:31 +00:00
ozaki-r
b501e7fdda Fix declaration of PSLIST_READER_FIRST 2016-04-27 06:57:24 +00:00
mrg
7413dbb65a switch powerpc to GCC 5.3. 2016-04-26 05:18:22 +00:00
wiz
1202244b0e Remove trailing whitespace. 2016-04-24 15:11:26 +00:00
skrll
7c06acf192 Update after nick-nhusb merge 2016-04-24 15:03:18 +00:00
riastradh
81e3279f24 MLD: multicast listener discovery 2016-04-21 23:14:25 +00:00
riastradh
10a4418ee6 Tweak wording. Use \(em for emdash. 2016-04-15 17:55:58 +00:00
ozaki-r
4f0eb37aac ddb: rename show arptab to show routes
show arptab command of ddb is now inappropriate because it actually dumps
routes but arp entries aren't routes anymore. So rename it to show routes
and move the code from if_arp.c to route.c.

ok christos@
2016-04-13 00:47:01 +00:00
wiz
49bbd55f57 Slight markup fix. 2016-04-12 23:07:25 +00:00
christos
da4293831e Add --warn-shared-textrel for the linker. 2016-04-12 18:50:45 +00:00
skrll
5dd2b376c9 Update for 'show kernhist' change. (go wiz!) 2016-04-12 11:34:24 +00:00
riastradh
3b45fb62ee Clarify wording about when to use PSLIST_ENTRY_DESTROY. 2016-04-11 13:45:20 +00:00
martin
0568072811 Add missing .if so MKPIE is only defaulting to yes on amd64 for now 2016-04-11 11:46:17 +00:00
riastradh
6977a61914 Remove incorrect comment about non-effect of PSLIST_ENTRY_DESTROY.
This does have an effect -- it nullifies the next pointer.  (The text
was copied from PSLIST_DESTROY, which really has no effect without
options DIAGNOSTIC.)
2016-04-11 03:27:14 +00:00
wiz
3133e4c397 Fix xref section. 2016-04-10 18:27:56 +00:00
christos
714503dcd7 Enable PIE binaries on amd64 by default. 2016-04-10 15:32:27 +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
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
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
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
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
roy
bb67ec8f00 Add sc_pid to sockcred so that SOCK_DGRAM and LOCAL_CREDS socket option
can learn the process id of the AF_LOCAL sender.
Add compat glue for old structure.
2016-04-06 19:45:45 +00:00
wiz
679837e910 I do like the idea of April 43, 2016, but it's just not standardized enough. 2016-04-04 20:43:31 +00:00
christos
246c8910b2 Fix description of si_status. 2016-04-04 17:29:04 +00:00
joerg
a3bc99b827 If the per-target LDSTATIC flag is set, don't include the PIE linker
flags as we currently don't support static PIE.
2016-04-04 15:06:16 +00:00
wiz
4120986a4e Sort sections. 2016-04-04 13:29:12 +00:00
ozaki-r
09973b35ac Separate nexthop caches from the routing table
By this change, nexthop caches (IP-MAC address pair) are not stored
in the routing table anymore. Instead nexthop caches are stored in
each network interface; we already have lltable/llentry data structure
for this purpose. This change also obsoletes the concept of cloning/cloned
routes. Cloned routes no longer exist while cloning routes still exist
with renamed to connected routes.

Noticeable changes are:
- Nexthop caches aren't listed in route show/netstat -r
  - sysctl(NET_RT_DUMP) doesn't return them
  - If RTF_LLDATA is specified, it returns nexthop caches
- Several definitions of routing flags and messages are removed
  - RTF_CLONING, RTF_XRESOLVE, RTF_LLINFO, RTF_CLONED and RTM_RESOLVE
- RTF_CONNECTED is added
  - It has the same value of RTF_CLONING for backward compatibility
- route's -xresolve, -[no]cloned and -llinfo options are removed
  - -[no]cloning remains because it seems there are users
  - -[no]connected is introduced and recommended
    to be used instead of -[no]cloning
- route show/netstat -r drops some flags
  - 'L' and 'c' are not seen anymore
  - 'C' now indicates a connected route
- Gateway value of a route of an interface address is now not
  a L2 address but "link#N" like a connected (cloning) route
- Proxy ARP: "arp -s ... pub" doesn't create a route

You can know details of behavior changes by seeing diffs under tests/.

Proposed on tech-net and tech-kern:
  http://mail-index.netbsd.org/tech-net/2016/03/11/msg005701.html
2016-04-04 07:37:07 +00:00
skrll
dc636fed66 Switch alpha to binutils 2.26 2016-04-04 07:02:31 +00:00
mrg
978e15c3ef switch amd64 and i386 to GCC 5.3 by default. 2016-04-03 06:13:28 +00:00
mrg
f39108e148 add some comments and prefer MACHINE over MACHINE_ARCH when
they're always the same.  no functional change.
2016-04-02 22:08:14 +00:00
mrg
9fb12ec9aa turn off MKCOMPAT for arm and GCC 5 (for now). 2016-03-30 20:18:18 +00:00
martin
e27f028ff5 Remove hacks for ancient vax gcc 2016-03-30 17:35:43 +00:00
martin
cb4d6b868c Pass -pie to cc, not -Wl,-pie. This way we have a chance to fix specs
for obscure corner cases like -pie -fPIE -static (used for
/usr/tests/lib/csu/h_initfini2 if building with MKPIE=yes).
While there also replace -fPIC with -fPIE for the PIE case, even if
it should be mostly equivalent.
2016-03-30 13:05:09 +00:00
ozaki-r
0b31db8c25 Document arp sysctl removals 2016-03-30 05:55:04 +00:00
ozaki-r
9bacf05801 Document net.inet6.ip6.neighborgcthresh change 2016-03-30 05:45:26 +00:00
mrg
877929762e switch alpha to GCC 5.3. works just as well on my UP1000. 2016-03-29 06:36:12 +00:00
skrll
420f6b0097 Switch hppa to gcc 5.3 2016-03-27 10:46:41 +00:00
mrg
f9dc4a2c0b switch sparc to GDB 7.10. works for me. 2016-03-26 10:38:22 +00:00
martin
251567c563 Switch playstation2 over to gcc 5.3, binutils 2.26 and gdb 7.10 2016-03-26 10:35:14 +00:00
martin
be206a20bc Switch mips64 over to new gdb - old one doesn't work there either, better
to debug in the newer version.
2016-03-24 09:15:38 +00:00