Commit Graph

17621 Commits

Author SHA1 Message Date
kre
2dbb2da38b PR toolchain/54715
Remove duplicate (incorrect) version of the .Lk macro, so the
earlier (fancier and functional) definition survives.

For now simply comment it out.  Sometime later this one should be
removed - but the two have been present since these macros were
first imported (1999) so leaving this visible (but removed) a
little longer shouldn't hurt.

I (believe) this one is the only duplicate of this form.

With this change the Lk macro in doc2html should work as it is designed
(but does not call other macros, and can only have punctuation following
the URL and (optional) anchor args (2nd arg is the anchor if it isn't
punctuation).

Tested by martin@
2019-11-26 08:38:19 +00:00
ad
e1ebacd1d3 Update to match recent changes. 2019-11-23 19:46:38 +00:00
martin
9d445e0761 Document NETBSD_OFFICIAL_RELEASE and add it to /etc/release - it is
important information when trying to reproduce a build.
2019-11-22 13:30:19 +00:00
tkusumi
b94e44675e autofs: Change my email address in man pages to netbsd.org 2019-11-21 15:24:17 +00:00
mrg
540580a78d switch riscv32/64 to GCC 8. 2019-11-21 07:56:58 +00:00
hikaru
87bee1d028 Add opencrypto driver for Intel QuickAssist. 2019-11-20 09:37:44 +00:00
christos
ee0c356bd6 Sync with FreeBSD which capitalizes the control character names, and adds
a binary set.
Add a table with the full names for the control character set.
2019-11-19 05:11:33 +00:00
sevan
f692f6d8b0 Rename the block table to something else to make it easier to differentiate
between action and name. Use this table as the example for populating by npfctl.

Drop the int-block table, it's quite cumbersome to have a firewall which
needs the internal network lists added if reboot. Use the localnet variable to
indicated which network we should pass in traffic from instead.
2019-11-18 22:27:27 +00:00
christos
249752ac15 Compare libraries that the bsd.prog.mk "knows about" vs the ones we actually
install... Yes, pretty bad right now.
2019-11-18 16:23:28 +00:00
christos
4d3961b8b8 Improve the script to check for installed libraries, and fix the wrong
names and obsolete libraries it found.
2019-11-18 16:09:21 +00:00
christos
e2cf0109bf switch arm to gcc-8 2019-11-18 15:38:07 +00:00
gutteridge
360e979690 re.4: msaitoh@ added the NCube vendor ID that identifies the TP-Link
TG-3468 v2 as well.
2019-11-18 05:01:36 +00:00
wiz
99bcd5fce2 file system police. New sentence, new line. 2019-11-17 11:46:38 +00:00
mrg
bc98eb4506 switch powerpc64 to GCC 8. 2019-11-17 02:59:25 +00:00
mrg
1cf39b370c switch ia64 to GCC 8. boots just as far as GCC 7 in ski. 2019-11-17 02:52:18 +00:00
mlelstv
7bc0ae990c Document new functions vn_bdev_open and vn_bdev_openpath. 2019-11-16 22:09:56 +00:00
nia
dc40b3d931 Document usage of KERN_ARND 2019-11-16 17:33:09 +00:00
mrg
a7e410a84d sparc & sparc64 -> GCC 8. 2019-11-16 10:23:36 +00:00
mrg
0d35e2c2c3 i386 -> GCC 8. 2019-11-16 10:22:20 +00:00
maxv
65ee926c5a Make kMSan compatible with KCOV. With kMSan we are forced to stay with the
fsanitize flag on subr_kcov.c, which means that kMSan will instrument KCOV.
We add a bunch of __nomsan attributes to reduce this instrumentation, but
it does not remove it completely. That's fine.
2019-11-15 09:44:44 +00:00
jdolecek
bff033fe7d document vm.ubc_direct 2019-11-14 21:23:46 +00:00
joerg
3cdbfa93d9 Restore pax-as-tar. 2019-11-13 22:32:16 +00:00
isaki
8799519c62 Add some audio drivers in SEE ALSO. 2019-11-13 07:52:25 +00:00
wiz
625842098e Remove self-reference 2019-11-12 12:50:04 +00:00
wiz
3f63b553ac Update list of audio drivers in SEE ALSO.
Based on audioplay(1) man page, where I'll remove them shortly.
2019-11-12 12:49:06 +00:00
wiz
5952ea0ef1 Make a sentence easier to read, and fix some nits. 2019-11-11 11:06:27 +00:00
pgoyette
834dafbf7a Add UPC - universal product code 2019-11-11 04:11:53 +00:00
gutteridge
2ce1a612c2 re.4: note additional cards supported, and tweak another detail
This driver also works as-is with a D-Link DGE-530T rev. D2 and a
TP-Link TG-3468 v3, as both match pre-existing PCI vendor and device ID
values. (It should also work with a TG-3468 v2, but would need another
vendor ID match added for that variant.) While here, also note it
supports UDP checksum offload, too.
2019-11-10 23:14:16 +00:00
christos
bfcdd97237 Document __FPTRCAST
XXX: more macros need documentation (__CAST etc.)
2019-11-10 18:45:09 +00:00
sevan
df20fab130 sync with FreeBSD r354417 2019-11-06 23:43:35 +00:00
msaitoh
9068f29f34 Add support for KSZ80[0456]1, KSZ8721, KSZ9[01]31, KS8731 and KSZ9477.
It also supports LAN7430's internal PHY. First wrote by nisimura@ and added
some device support by me. Not tested well.
2019-11-06 16:02:53 +00:00
wiz
39fe99ec7b Remove superfluous Pp. 2019-11-06 11:55:18 +00:00
dyoung
19dbe0f014 Fix typo: vmem_add(9) does not actually take an addrp argument. 2019-11-05 22:19:43 +00:00
maxv
b7edd3d132 Add Kernel Concurrency Sanitizer (kCSan) support. This sanitizer allows us
to detect race conditions at runtime. It is a variation of TSan that is
easy to implement and more suited to kernel internals, albeit theoretically
less precise than TSan's happens-before.

We do basically two things:

 - On every KCSAN_NACCESSES (=2000) memory accesses, we create a cell
   describing the access, and delay the calling CPU (10ms).

 - On all memory accesses, we verify if the memory we're reading/writing
   is referenced in a cell already.

The combination of the two means that, if for example cpu0 does a read that
is selected and cpu1 does a write at the same address, kCSan will fire,
because cpu1's write collides with cpu0's read cell.

The coverage of the instrumentation is the same as that of kASan. Also, the
code is organized in a way similar to kASan, so it is easy to add support
for more architectures than amd64. kCSan is compatible with KCOV.

Reviewed by Kamil.
2019-11-05 20:19:17 +00:00
tnn
089ec8953f documentation for WSDISPLAYIO_FBINFO 2019-11-02 19:22:36 +00:00
tnn
81811bfe84 expand section on GPIOREAD 2019-11-02 18:56:41 +00:00
wiz
8cce55b527 Mention smscphy. Link to jmphy. Bump date. 2019-11-02 16:36:56 +00:00
wiz
c410605877 Fix date. Improve history. Wording. Punctuation nit. 2019-11-02 16:34:49 +00:00
wiz
aa781b6b21 Add missing quote. 2019-11-02 16:34:30 +00:00
wiz
6c167d6055 Fix RCS Id. Improve history. Punctuation nits. 2019-11-02 16:34:14 +00:00
tnn
29b6793c06 ssdfb: update manpage 2019-11-02 14:47:35 +00:00
msaitoh
2eec381762 Port SMSC LAN87xx 10/100 Ethernet PHY driver from FreeBSD with some cleanup
and IFM_NONE support.
2019-11-01 02:53:22 +00:00
martin
66ef6a30f0 PR misc/54657: let RELEASEMACHINEDIR default to ${MACHINE}-${MACHINE_ARCH}
for evb{arm,mips,sh3}*.
2019-10-31 06:43:19 +00:00
msaitoh
c9c1388e4a Add jmphy.4. 2019-10-30 13:32:32 +00:00
msaitoh
d4bacf091b Add jmphy(4) from OpenBSD. 2019-10-30 12:06:25 +00:00
wiz
ca05e4ffba "file system" police. 2019-10-28 13:43:10 +00:00
wiz
fb89dfc245 Use Nx. Improve wording. Sort SEE ALSO. 2019-10-28 13:41:31 +00:00
wiz
78ec798ef6 Sort SEE ALSO. 2019-10-28 13:38:03 +00:00
maxv
a8c6c0bf54 Add nvmmctl, with two commands for now. 2019-10-28 13:04:18 +00:00
ozaki-r
b2358a5409 Implement a front-end driver of virtio-9p called vio9p
In conjunction with mount_9p, it enables a NetBSD system running as a VM guest
to mount an exported filesystem by the host via virtio-9p.  It exports a 9p
end-point of virtio-9p via a character device file for mount_9p.

Reviewed by yamaguchi@
2019-10-28 02:56:40 +00:00
martin
fdafaadd05 Add support for Nuvoton NCT5104D GPIO chips, as found on PC Engines APU
systems. From Andrew Doran in PR kern/54648.
2019-10-25 17:39:56 +00:00
christos
20f77b55bf 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and
bsd.own.mk also adds it for gcc only (so we end up with 2 -marm for gcc).
   Just add -marm unconditionally in bsd.own.mk in ARM_APCS_FLAGS and remove
   it from everywhere else.
2. gcc-8 now warns about thumb internetwork in APCS mode. This does not make
   sense because the documentation says that this flag does not make a
   difference in apcs mode, but might produce larger code in non-APCS mode.
   So we just add it to silence the warnings.
2019-10-24 18:46:20 +00:00
christos
78be1c9f56 move a{md,arch}64 to gcc 8 2019-10-22 13:49:30 +00:00
sevan
6827e7dc90 CIA ISMS 2019-10-20 21:53:42 +00:00
msaitoh
b4093656b6 Add support for Killer E2400 and E2500. 2019-10-17 09:13:48 +00:00
christos
66434e381d remove sup examples 2019-10-15 18:32:59 +00:00
christos
0c7a7c13c0 Allow individual lex and yacc sources to override/extend LFLAGS and YFLAGS
respectively.
2019-10-15 15:05:00 +00:00
ryoon
34216fb6c3 Add Apple adapter, A1433 2019-10-15 13:21:19 +00:00
mrg
69f74cd544 make GCC_NO_STRINGOP_OVERFLOW apply to gcc 7 too. 2019-10-13 10:12:13 +00:00
mrg
de11d87641 introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION    -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION  -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW    -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE   -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints.  many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
2019-10-13 07:28:04 +00:00
jhigh
0090dad153 added backend support for argon2 password scheme 2019-10-09 13:13:08 +00:00
maxv
066833e6eb Improvements in tpm(4):
- Remove interrupt support, do polling only, avoids unnecessary trouble.
 - Simplify a few things.
 - Fix the suspend function, the SaveState command is 0x98, not 0x9C.
 - Make the driver MP-safe.
 - Sync the man page with reality.
2019-10-08 18:43:02 +00:00
wiz
c46f45b0b3 Fix date. Add RCS Id. 2019-10-07 14:29:28 +00:00
wiz
c6844e3115 New sentence, new line. 2019-10-07 14:29:21 +00:00
msaitoh
d3ce678f8d Add support IC Plus IP1000* PHYs. PR/kern 42314 first reported by
Tomokazu HARADA and patch provided by Andrius V.
2019-10-07 11:53:40 +00:00
uwe
bc5cb90f91 Use .Bl -tag -width Fn. There's no such thing as -width compact
or, rather, there is, but the width specified is that of the word
"compact".
2019-10-06 17:21:28 +00:00
uwe
48eb05d281 Avoid using .Fn for XC_HIGHPRI_IPL as it looks inconsistent with
.Dv XC_HIGHPRI
2019-10-06 17:14:18 +00:00
uwe
7c1ff2f1ba Format (*func)(arg1, arg2) so that "func" too is formatted as an
argument (the incantation is, admittedly, rather baroque and kludgy).
2019-10-06 17:01:15 +00:00
sevan
cd8c140f3a AWDL, BLE, another NAN 2019-10-06 15:17:39 +00:00
uwe
0892295b90 Don't add -Wabi to CXXFLAGS for gcc 8. It warns about differences
from the most up-to-date ABI, which in gcc 8 is used by default.
XXX: This needs a better condition.
2019-10-05 18:37:39 +00:00
ryoon
dfe601d86e Fix a pasto, uhdiev, bump date 2019-10-05 06:28:50 +00:00
gutteridge
4b075bd22c panic.9: add xrefs to printf(3) and printf(9)
printf(3) fmt strings are referenced in the body, and there might as
well be a cross-reference to other kernel message output functions.
2019-10-04 21:55:00 +00:00
sevan
eb128c78ad DAAP DLNA 2019-10-02 11:14:46 +00:00
rin
d66ba54477 Describe roundup2(9) in roundup(9).
Bump date.

Install it also as roundup2(9).
2019-10-02 08:21:08 +00:00
sevan
f3e3e81ae9 Document standards and correct history.
via Free / OpenBSD.
2019-09-30 13:44:52 +00:00
mrg
4be7da17b5 gcc 7 can now be found in gcc.old. 2019-09-29 22:10:55 +00:00
christos
63ec74c9e4 document that mstohz take and return unsigned int 2019-09-28 15:11:19 +00:00
sevan
11f59b6878 SDR 2019-09-25 20:17:59 +00:00
wiz
2f5074a348 New sentence, new line. 2019-09-23 18:43:59 +00:00
jmcneill
fc0d064c28 mcx(4) will appear in 9.0 2019-09-23 18:26:52 +00:00
christos
02cdd248ec Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
2019-09-22 22:59:37 +00:00
sevan
1e625733bf Add support for blacklistd 2019-09-22 19:51:18 +00:00
sevan
4c89ad8172 Passive FTP works as a client without this and we're not hosting an FTP server (port are not listed in services_tcp) 2019-09-22 19:30:15 +00:00
dsainty
c5e7c3ca96 Purge an ancient email address, use dsainty@NetBSD.org instead 2019-09-22 07:42:28 +00:00
sevan
6a10ef685a pastos 2019-09-21 23:55:01 +00:00
sevan
34b316756b improve description 2019-09-21 21:10:56 +00:00
sevan
9a6d582b1c Add descriptions for all rules and make use of localnet variable in place of direct IP address 2019-09-21 20:41:52 +00:00
sevan
91b0bc2c1f default policy is to blockall 2019-09-21 20:35:52 +00:00
sevan
7fbde1b12f Drop the final keyword to use the default policy of last matching rule wins 2019-09-21 20:31:31 +00:00
jmcneill
a594e6948a Add support for Mellanox 5th generation ethernet devices. This driver
supports the ConnectX-4 Lx EN, ConnectX-4 EN, ConnectX-5 EN, and
ConnectX-6 EN adapters.

Driver ported from OpenBSD.
2019-09-21 14:04:12 +00:00
sevan
b058b370e0 With bin/54124 fixed, the rule needs to be explicitly set to stateful. 2019-09-21 11:46:25 +00:00
wiz
d465c255f1 Fix date, add comma in enumeration. 2019-09-20 13:42:24 +00:00
mrg
fe950ae3d5 add mos(4) driver for Moschip MCS7730/MCS7830/MCS7832 usb ethernet.
ported from openbsd.  usbnet version loses about 40% of code.
2019-09-20 10:34:54 +00:00
gson
3738f96e99 MKZFS is no longer the default on i386; it was disabled in 2015 in
bsd.own.mk 1.846.
2019-09-16 12:57:10 +00:00
manu
3f984dd2cd Remove obsoeolete BUGS note that UEFI bootloader does not support multiboot 2019-09-16 01:57:58 +00:00
bad
c296e4670d Also don't add a sysroot at all if a rumpkernel build. 2019-09-15 21:17:08 +00:00
gutteridge
4b9e0a77d2 fstab.5: add mention of zfs 2019-09-15 21:04:40 +00:00
maxv
a342a8d3c1 Regen for vHCI, IPMI (was forgotten it seems), and srt (for which a man
page is now available).
2019-09-15 15:15:02 +00:00
tnn
7c284eeeb5 add SYNOPSIS for how to make ugen capture specific vendor & product 2019-09-14 11:19:38 +00:00
maya
4bf438acf0 Allow overriding the default man substitutions with X11EXTRAMANTRANSFORMS 2019-09-13 10:23:07 +00:00
wiz
78994265c6 New sentence, new line. Bump date for previous. 2019-09-13 07:11:04 +00:00
manu
31a86650fb Document that bootdev option accepts device specification as NAME=label 2019-09-13 01:34:19 +00:00
sevan
88fd7a1b6c struct buf is typedefed to buf_t
specify the width argument for Bl
2019-09-12 21:08:35 +00:00
sevan
a3f227edb3 Update parameter list, struct buf is typedefed to buf_t 2019-09-12 20:32:30 +00:00
ryo
77e643c7fb - examin/m displays with splitting by spaces as specified size
- add support 'q' modifier on all arch
- consider endianness
2019-09-10 09:32:04 +00:00
ryo
31e239d6f3 Add support for 'p' qualifier for pointer values on examine.
this shows as a pointer with symbol if possible. (e.g. "x/p $sp,10")
2019-09-10 08:16:04 +00:00
sevan
b0668c0a94 CSU UTS 2019-09-09 18:11:20 +00:00
sevan
c989538b5f GFCI, RCD 2019-09-09 12:42:52 +00:00
sevan
822b4698de Adjust history
Based on zero(4s) manual on P1334 of
http://chiclassiccomp.org/docs/content/computing/Sun/software/800-1751-10_SunOS4.0Reference_RevA_9May88.pdf
2019-09-09 01:22:24 +00:00
sevan
ec2478416f wtmp was actually arount in v2
https://www.tuhs.org/Archive/Distributions/Research/1972_stuff/unix_2nd_edition_manual.pdf
via Ingo Schwarze <schwarze@OpenBSD>
2019-09-09 00:21:03 +00:00
sevan
8a189553dd core(5) was in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf
via Ingo Schwarze <schwarze@OpenBSD>
2019-09-09 00:14:55 +00:00
wiz
581b8a8821 Remove superfluous Pp. 2019-09-07 19:32:52 +00:00
sevan
a39b301ea0 Extend history section
https://www.bell-labs.com/usr/dmr/man41.pdf
via Ingo Schwarze <schwarze@OpenBSD>
2019-09-07 16:37:20 +00:00
sevan
ab9636cfb1 I missread a diff before making the change for the previous commit.
Drop the reference to v7 and the direct struct.
https://www.bell-labs.com/usr/dmr/www/man51.pdf
2019-09-07 12:17:10 +00:00
sevan
a817d3689b dir(5) was what appeared in v7, the struct was called direct.
Fix history for dirent.

via Ingo Schwarze <schwarze@OpenBSD>
2019-09-07 11:35:01 +00:00
msaitoh
bcf5b1471b Add support SIOCZIFDATA as ixgbe.c.
BUGS
     The following event counters are not cleared by SIOCZIFDATA because the
     corresponding registers are read only and not cleared on read:

           Good Packets Received
           Good Octets Received
           Multicast Packets Received
           Good Packets Transmitted
           Good Octets Transmitted
2019-09-05 10:01:30 +00:00
wiz
d7f41ab186 New sentence, new line. Use \(em. 2019-09-04 05:37:06 +00:00
riastradh
8c9fd3588e Update NIST SP800-90A reference. 2019-09-04 04:03:25 +00:00
riastradh
31473673fa Replace slightly wrong rant by shorter and slightly less long rant.
(If X and Y in Z/2Z are independent, then so are X and X+Y.  What was
I thinking.)
2019-09-04 04:00:04 +00:00
riastradh
c85d1d2343 Update man page to reflect switch from CTR_DRBG to Hash_DRBG. 2019-09-04 03:15:20 +00:00
sevan
300432e405 INODE STM 2019-09-03 21:34:03 +00:00
sevan
18e2bd9a65 PPT 2019-09-02 10:35:15 +00:00
gutteridge
fc526dea88 urndis.4: note two additional brands/models known to work 2019-09-01 23:01:01 +00:00
sevan
83120a9834 GECOS
http://bitsavers.trailing-edge.com/pdf/ge/GE-6xx/CPB-1002A_GE-625_635_GECOS_Jan65.pdf
2019-09-01 21:55:13 +00:00
wiz
edfa7875a1 fetch(9) -> ufetch(9). Remove reference to unimplemented ppi(9). 2019-09-01 19:09:00 +00:00
wiz
7fe9b221bc fetch(9) -> ufetch(9). Remove superfluous Pp. 2019-09-01 19:08:35 +00:00
wiz
8a9aa6762b fetch(9) -> ufetch(9) 2019-09-01 19:08:22 +00:00
sevan
3402eb4f2c utmp(5) was present in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf
Earliest version of wtmp I could find was in v3
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V3/man/man5/wtmp.5
2019-09-01 19:04:59 +00:00
sevan
167ab6fb0f passwd(5) was in v1
https://www.bell-labs.com/usr/dmr/www/man51.pdf
2019-09-01 18:57:05 +00:00
oster
9f2ab3a020 s/Xr store/Xr ustore/ to fix cross-references in these man-pages. 2019-09-01 17:50:32 +00:00
sevan
dae97b56ad grammar 2019-09-01 15:08:52 +00:00
sevan
1b6d199210 Update arpresolve arguments 2019-09-01 14:49:11 +00:00
sevan
6be8c991bd Grammar
Document history
2019-09-01 14:40:07 +00:00
sevan
b5df3a23fa Document history 2019-09-01 14:34:54 +00:00
sevan
0aad8f52a4 Document history 2019-09-01 14:22:12 +00:00
sevan
2428025147 spelling and grammar 2019-09-01 13:39:07 +00:00
sevan
016e22c37c Improve readability 2019-09-01 13:30:54 +00:00
sevan
202400c27b new sentence, new line 2019-09-01 12:56:14 +00:00
sevan
35f9263c55 grammar
address warnings from mandoc -Tlint while here.
2019-09-01 12:50:22 +00:00
maya
eeb355e2e9 List bwfm at sdmmc 2019-09-01 08:04:48 +00:00
uwe
30c555fd2c Move the text that explains that cd(1) is a shell built-in to the very
beginning of the description where it can be seen prominently.
Improve formatting.
2019-08-31 21:35:50 +00:00
sevan
8f2ae5e634 Direct reader to shell documentation generally, rather than csh(1) specifically.
Mention variables OLDPWD and PWD.
2019-08-31 17:34:46 +00:00
sevan
3d85f14dad Document history 2019-08-30 21:41:42 +00:00
sevan
758dfc058b SICP 2019-08-30 15:43:52 +00:00
wiz
386e0403d4 Various minor fixes. 2019-08-30 09:24:19 +00:00
wiz
be3f189986 Fix date. 2019-08-30 09:22:17 +00:00
mrg
0483faae68 document usbnet diagnostics in usbnet(4). remove all the no longer
present messages in specific drivers for the usbnet drivers.
2019-08-30 08:54:58 +00:00
uwe
4a712029ca New sentence - new line. Minor markup tweaks. 2019-08-29 16:08:14 +00:00
sevan
ac2e3e80e3 Earliest reference to /dev/null I can find is in v4 sh(1) and nulldev in
nsys/ken/subr.c
via TUHS archive
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V4
2019-08-29 15:22:08 +00:00
wiz
dd0e934ad9 Add RCS Id, sort sections. 2019-08-28 22:11:25 +00:00