Commit Graph

15755 Commits

Author SHA1 Message Date
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
christos
92a1851e6c switch vax to new binutils and gdb. 2016-03-24 04:28:49 +00:00
christos
958fe28bf4 switch vax to gcc-5.3 2016-03-24 00:04:05 +00:00
ginsbach
b55df66dd5 +HSM is also hierarchical storage management 2016-03-22 17:41:26 +00:00
dholland
8c72fe5dec add some stuff; PR 50992 from Nikolai Lifanov 2016-03-22 17:03:02 +00:00
mrg
6c936e99ad apply -Wno-error=stack-protector in the same places for GCC 5.3 as 4.8.
fixes sh3 and m68k issues, at least.  (vax and or1k are also included.)
2016-03-22 08:17:27 +00:00
christos
54d5052a6c Add NO{SSP,FORTIFY} 2016-03-13 17:56:56 +00:00
mrg
8872ffd0f4 remove some more GCC 4.5 code. make GCC 5.3 be HAVE_GCC=53, so that,
for example, HAVE_GCC >= 48 works properly.
2016-03-13 01:06:51 +00:00
mrg
e2bee4685a remove conditionals that are always true with GCC >= 4.8. 2016-03-12 23:08:58 +00:00
wiz
09f9f9fa6e Fix description of /home
From Vadim Ushakov in PR 50938.
2016-03-11 15:18:01 +00:00
uwe
ce76f88f8f Switch sh3 to the new binutils and gdb. Lightly tested on landisk.
sh3eb compile-tested only.
2016-03-01 10:29:40 +00:00
chs
3023aadd79 fix vmem_alloc() to never return an error for VM_SLEEP requests,
thus fixing kmem_alloc() to never return NULL for KM_SLEEP requests.
instead these operations will retry forever, which was the intent.
2016-02-29 00:34:17 +00:00
martin
dd8e547b10 Switch sparc64 over to new binutils 2016-02-28 20:47:01 +00:00
christos
0048ede9cd Revert and leave broken. 2016-02-27 23:51:34 +00:00
christos
16fbfcab6b Don't build archive libs with -fPIC breaks static binaries and profilig. 2016-02-27 20:36:17 +00:00
joerg
17feded366 Sparc/Sparc64 also support libc++ and compiler-rt in libc with Clang. 2016-02-27 18:56:33 +00:00
joerg
df799ca7a5 Avoid syntax errors if HAVE_GCC is not defined. 2016-02-27 18:55:15 +00:00
jnemeth
cd0c10044e PR/50851 - Nikolai Lifanov -- add EAI 2016-02-26 08:20:27 +00:00
macallan
ddcf74ce02 switch sparc to new binutils 2016-02-23 18:03:31 +00:00
christos
6c0101debe Add NODEBUG 2016-02-21 03:34:27 +00:00
christos
a481ce46bc Unbreak LLVM MKREPRO=yes builds (since the build system sets MKREPRO now) 2016-02-20 16:36:08 +00:00
christos
678012db01 Provide a variable MKTOOLSDEBUG to build debugging versions of tools. 2016-02-20 15:18:46 +00:00
macallan
c04b415846 switch powerpc ports to new binutils 2016-02-19 18:47:24 +00:00
riastradh
f1c295721b cardbus autoconf uses cardbus_attach_args, not isapnp_attach_args. 2016-02-15 22:37:54 +00:00
snj
ab9bcecd45 fix english 2016-02-15 20:33:18 +00:00
dholland
a76124b212 DNF 2016-02-13 23:12:34 +00:00
plunky
a4a650b6a4 use pcpp front end rather than libexec/cpp directly, since commandline
options may not be handled by the latter
2016-02-09 20:44:26 +00:00
skrll
d0d6f47d6b Remove the .SUNW_ctf sections when converting form ELF -> a.out by
updating OBJCOPY_ELF2AOUT_FLAGS
2016-02-08 10:39:09 +00:00
christos
180d9e44e1 fix pasto 2016-02-07 14:31:21 +00:00
wiz
bfbface83a New sentence, new line. 2016-02-07 14:06:04 +00:00
jandberg
c74496ca0f Add the copyright notice which was missing from my initial version. 2016-02-07 10:46:08 +00:00
jandberg
e09dd753e1 Fix some awkward language in manpage and code comments. 2016-02-06 20:20:18 +00:00
riastradh
5e51ceb9a4 Add $NetBSD$ tag. 2016-02-06 20:19:28 +00:00
riz
91a33a8e4a Back out unintended changes committed with last. 2016-02-06 16:58:31 +00:00
riz
50bf67899c Don't test dtrace-related variables until after they've been set. 2016-02-06 16:56:23 +00:00
mlelstv
bbd8666d0f Split case folding table into separate source file and add full
copyright and permission notice from http://www.unicode.org/copyright.html
2016-02-06 10:40:58 +00:00
christos
523945ce28 switch i386 to gdb-7.10.1 2016-02-03 15:28:02 +00:00
christos
28342b84d6 switch amd64 to gdb-7.10.1 2016-02-03 03:26:02 +00:00
christos
c82b466b59 everyone, back to gdb.old 2016-02-02 22:35:46 +00:00
christos
a9d0c035fe Switch i386 to new binutils. 2016-02-02 20:23:24 +00:00
christos
869efc6e11 Add the missing CTFMERGE step. 2016-02-02 18:38:10 +00:00
ryoon
318922f051 Fix layout for comments. Bump date. 2016-02-02 12:25:24 +00:00
christos
8d0597fca7 Document NOCTF, NOPIE. 2016-02-01 15:00:43 +00:00
skrll
d3cd10ccbc Switch hppa to binutils 2.26 2016-02-01 12:56:06 +00:00
christos
cb68fe56e3 flip amd64 and evbarm to the new binutils 2016-01-31 18:47:14 +00:00
christos
dc084e400e Introduce NOPIE and NOCTF so that standalone programs build properly. 2016-01-31 15:30:14 +00:00
christos
e1356d5e2a Make ctfconvert remove the debugging symbols after it is done converting them. 2016-01-30 04:07:27 +00:00
christos
3495c5242f If we are building CTF, keep debugging symbols. 2016-01-30 03:38:39 +00:00
christos
33f4505796 new binutils will be 2.26 2016-01-29 15:33:51 +00:00
pgoyette
3c4024061c Add a couple of entries for NFC
Fixes PR/50718
2016-01-28 10:20:40 +00:00
christos
3873a83aa9 back to binutils.old now that it works. 2016-01-26 21:19:20 +00:00
christos
4a9e204fe8 back to use binutils since the path is hard-coded everywhere! 2016-01-26 19:09:56 +00:00
christos
4bab817c32 external binutils and gdb variables. 2016-01-26 17:47:06 +00:00
riastradh
1c131ab803 Note limited extent for reference to the pserialized object. 2016-01-26 01:09:56 +00:00
riastradh
6ed125fe67 Suggest the cacheline-aligned global struct idiom. 2016-01-26 01:05:17 +00:00
christos
b7f89b8a5f we don't have va_mask 2016-01-25 18:20:16 +00:00
pooka
d35b86acad Don't include <rump/rumpvnode_if.h> from rump.h. It's not needed
unless you're doing something special, but requires register_t.
Adjust the few places which actually need rumpvnode_if.h.
2016-01-25 11:45:57 +00:00
pooka
6cd39ddb85 add -D_KERNTYPES 2016-01-25 11:01:17 +00:00
christos
c84bade02b Add tool cvslatest 2016-01-24 20:15:11 +00:00
christos
ffeb8dbf4e Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
riz
673c699d5d Build DTrace userland by default on i386, amd64 and earm* 2016-01-22 21:55:51 +00:00
jnemeth
ff30143cb1 PR/50691 - Nikolai Lifanov -- add LTS 2016-01-22 19:13:53 +00:00
mbalmer
bcbdebbaf1 fix typo, bump date 2016-01-19 10:11:02 +00:00
wiz
934119d44e Use standard markup for ENOSPC. 2016-01-18 09:17:59 +00:00
kamil
43d951b258 Add full.4 2016-01-18 00:34:43 +00:00
kamil
039d698170 Add new man-page full(4) for the /dev/full device
DESCRIPTION
     The full device always return ENOSPC on writing,

     In all other cases it behaves like the zero(4) device and provides an
     infinite stream of zeros.
2016-01-18 00:21:44 +00:00
wiz
2c914af730 Bump date for previous. 2016-01-15 09:05:16 +00:00
mlelstv
2aacffe133 Add 'C' option to bootblock to enable serial console. 2016-01-15 08:27:04 +00:00
wiz
0905aa5acf Use more markup. 2016-01-11 06:21:23 +00:00
pgoyette
1adf2fab16 Remove current bug, now that PR kern/50627 is fixed. Add another security
consideration concerning re-used of the target/monitored process's pid.
2016-01-11 01:45:27 +00:00
christos
edabda5336 group by directory. 2016-01-10 16:22:57 +00:00
dholland
acb0b70b4a Apparently it's important to do
-Wp,-iremap,${DESTDIR}:
and not
  -Wp,-iremap,${DESTDIR}/:/

Why this should matter for strings where the trailing slash is
present, I dunno. But it does.

Fixes the MKREPRO problem where the unfixed path to lfs_accessors.h
appears ina bunch of bins.
2016-01-10 06:13:21 +00:00
dholland
2e9c8f6e0f For MKREPRO, substitute DESTDIR before NETBSDSRCDIR; then it has a
chance of working if DESTDIR is under NETBSDSRCDIR (as happens with
default objdirs when building someplace random other than /usr/src...)
2016-01-10 03:59:34 +00:00
christos
3619260b5b - use -fdebug-regex-map to remap one style of object dirs. There are others.
- change DESTDIR to nothing so that we don't get // in the front
- apply the mappings to both c and c++
2016-01-09 02:06:22 +00:00
jnemeth
46077796f7 PR/50630 - Nikolai Lifanov -- add some acronyms 2016-01-08 08:37:18 +00:00
nonaka
ad9e3467ed Add Buffalo LUA4-U3-AGT. 2016-01-07 12:31:55 +00:00
wiz
2f89dbfb73 Use Pa for paths. 2016-01-06 05:22:06 +00:00
pgoyette
80b24f323f Add a BUGS section... 2016-01-06 01:54:53 +00:00
wiz
0eb2c0626d Add Mt macro. 2016-01-05 14:21:43 +00:00
msaitoh
e58c654dad Port FreeBSD's ismt(4) driver. ismt(4) supports Intel Chipset internal
SMBus 2.0 controller with DMA. It's different from ichsmb(4). Supported
chipsets are S1200 and C2000.
2016-01-05 11:24:43 +00:00
jdc
656adc7745 Correct email address (pointed out by wiz@). 2016-01-03 21:58:17 +00:00
jdc
519e888126 Mention supported chips and their differences.
Mention display and setting of chip temperature limits.
2016-01-03 17:28:46 +00:00
jdc
2668fa6152 Mention supported chips and their differences.
Mention display and setting of chip temperature limits.
2016-01-03 17:27:39 +00:00
mbalmer
14ef5a602a add tehran airport 2016-01-03 15:25:31 +00:00
christos
9b4e848824 Add the pthread libraries, documented already in bsd.README; sort 2016-01-01 17:06:21 +00:00
wiz
00b9885e70 Fix typo. Remove trailing whitespace. 2015-12-27 08:43:51 +00:00
christos
7c64ebc27c describe the ip6addrctl variables. 2015-12-27 02:42:33 +00:00
wiz
fca9124183 Hardcode some dates to make this more MKREPRO safe. 2015-12-23 10:43:35 +00:00
christos
6b4079e461 Add a prefix translation map for debugging symbols. Note the use of variable
indirection so that DW_at_producer that contains the compilation command
remains the same: readelf --debug-dump foo.debug
2015-12-22 16:46:56 +00:00
ryoon
c6462b8daf Add .Pp for easy distinction between examples. 2015-12-21 13:15:04 +00:00
wiz
2279c2dafc Fix pasto. 2015-12-19 00:25:50 +00:00
christos
72e3b03409 Sort texinfo dir file for MKREPRO 2015-12-18 18:57:56 +00:00
jdc
f42ab8911f Correct the name of the manual page (pointed out by wiz). 2015-12-16 08:24:30 +00:00
jdc
1eeaa31329 Add manual page for ADM1026. 2015-12-16 08:20:03 +00:00
wiz
10de853fc7 Sort sections. Fix Dt. 2015-12-16 08:16:18 +00:00
jdc
685e31c524 Add manual page for ADM1026. 2015-12-16 07:59:01 +00:00
wiz
3740bd8e73 Add missing verb. 2015-12-13 23:32:52 +00:00
plunky
d30f9e2a57 Clarify the meaning of this. These macros do not operate on bit numbers
as is implied.. the macros are defined as

    #define SET(t, f)       ((t) |= (f))
    #define ISSET(t, f)     ((t) & (f))
    #define CLR(t, f)       ((t) &= ~(f))

When the rationale is to provide clarity in the source code, then it
is good to have manual pages that are correct.
2015-12-13 21:53:02 +00:00
wiz
31423cb620 Fix typo. 2015-12-13 15:13:03 +00:00
christos
aea941751f add addrctlpolicy 2015-12-13 14:28:12 +00:00
wiz
bd254c9278 Whitespace nit. 2015-12-11 10:05:17 +00:00
christos
e549b41801 Spell out that KM_SLEEP allocations can fail. 2015-12-11 04:11:23 +00:00
maxv
a1153902a9 Rename verified_exec.c -> veriexec.c.
The old log is now in Attic/.
2015-12-09 18:25:32 +00:00
kamil
8ad8b0676c Correct mistakes in the sqlite.lua example
Changes:
- The open flag: sqlite.OPEN_CREATE will open the DB for reading and
  writing, adding sqlite.OPEN_READWRITE to sqlite.OPEN_CREATE will cause
  the DB to not be created and prevent the script from continuing
- When using stmt:bind_parameter_index() the parameter needs to be
  prefixed with ':' if that was used in the prepared statement,
  otherwise the incorrect index of 0 is returned.
- The drop table statement has an "x" appended to the table name, looks
  like a typo.

Patch by Travis Paul

Closes PR misc/50493
2015-12-08 23:04:40 +00:00
wiz
3602b021e6 Bump date for previous. 2015-12-06 09:38:21 +00:00
mlelstv
a2fbab6210 document new pin configuration flags 2015-12-06 07:40:04 +00:00
wiz
1c9d345b30 Fix a date to make this more reproducible. 2015-12-05 08:11:42 +00:00
jnemeth
37abb69218 PR/50492 - Nikolai Lifanov -- add MBA 2015-12-03 03:28:47 +00:00
joerg
be2d9aaa80 Don't set TOOL_GREP to something which doesn't exist, just use the host
tool for now.
2015-12-01 22:18:26 +00:00
jmcneill
02e69b9876 There is no user space control for this with cpuctl(8) as far as I can tell. Remove all references to it. 2015-12-01 12:07:41 +00:00
hubertf
f8f91eb838 Move today's most common config (WPA) to the front
Add a WPA config with hidden (non-broadcasting) SSID
2015-11-26 16:07:40 +00:00
hubertf
d5d989696c add RCS is 2015-11-26 16:03:18 +00:00
christos
27a26957d4 PR/50360: Thomas Klausner: Fix MKREPRO builds 2015-11-25 01:20:11 +00:00