Commit Graph

16884 Commits

Author SHA1 Message Date
snj 8bde513f21 prompted by dh's latest PR, add a missing word: academia 2018-07-08 04:50:14 +00:00
maya 946ae7774a Add EBDA. 2018-07-04 15:38:46 +00:00
christos 2782075ff9 Add more message types.
XXX: Need more updates to the doc
2018-07-01 22:27:43 +00:00
eadler ea2987652b bsd-family-tree: Add missing DragonFly and FreeBSD releases
Add DragonFly 5.2.1, 5.2.2, FreeBSD 11.2
2018-06-30 01:08:39 +00:00
wiz 565352da0c New sentence, new line. 2018-06-28 22:00:50 +00:00
rkujawa 0d49c34489 Clarify caveats. 2018-06-28 13:18:19 +00:00
sevan bc5535513e Add LISPs (programming language & network protocol), Vim 2018-06-27 23:26:13 +00:00
wiz 2900c67b14 Use An. 2018-06-27 13:53:55 +00:00
rkujawa 05ac9e42f2 Note slurm(4) driver, improve history. 2018-06-27 13:51:21 +00:00
sevan 2e33b73cf0 Add another ARC, DCL, Emacs 2018-06-26 22:16:45 +00:00
msaitoh 3cd62456f9 Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.

 This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.
2018-06-26 06:47:57 +00:00
kamil 53b1355eec Document sanitizers in acronyms.comp
Added: ASan, CFI, DFSan, ESan, HWASan, LSan, MSan, TSan, UBSan.
2018-06-26 00:06:08 +00:00
sevan 453f52add6 Add HVDS, LVDS, RDRAM 2018-06-25 19:56:54 +00:00
kamil eb682ff828 Add a framework for renaming symbols in libc&co for MKSANITIZER
A new keyword SANITIZER_RENAME_SYMBOL. It's a variable that has specified
a list of symbols to be renamed in a processor in order to remove naming
conflicts with public symbols in libc/m/pthread/rt.

This renaming will occur for libraries and programs.
A symbol with a conflicting 'name', will be renamed to '__mksanitizer_name'.

Based on an idea by <christos>
2018-06-25 17:58:36 +00:00
wiz 1045729af3 Remove superfluous Pp. 2018-06-25 10:53:47 +00:00
kamil ef7aae126a Rephrase the documentation of MKSANITIZER
Based on the feedback from <f8l> and <pgoyette>.
2018-06-25 09:38:46 +00:00
msaitoh c6a4b11da8 Removal of bpf_tap(). 2018-06-25 03:22:14 +00:00
kamil 7d11bff33f Enhance the documentation of MKSANITIZER in bsd.README
Note that the list of sanitizer features is just a selection, not a
complete list. Include there LSan and Scudo. Missing: hwmsan, esan,
ubsan_minimal etc.

Explain that USE_SANITIZER is an argument passed to -fsanitize= and it can
contain multiple options.

Mention SANITIZERFLAGS to pass even more sanitizer arguments.

Stop tracking in this file what compiler compiles what features. Just note
that the selection of supported features depends on a compiler version and
target CPU architecture.
2018-06-24 20:40:58 +00:00
sevan 9e7e3cac9b typo 2018-06-24 19:48:46 +00:00
sevan 421010cd47 Add GDI, NeWS, PRAM, PS, RIP, WDM, WDDM 2018-06-24 19:47:20 +00:00
kamil 07c0d23991 Reset SANITIZERFLAGS when specified NOSANITIZER / MKSANITIZER=no
This allows passing additional sanitizer specifig flags from the ./build.sh
level, like: -V SANITIZERFLAGS="-fsanitize-memory-track-origins" for MSan.
2018-06-24 19:35:12 +00:00
sevan dd442d50f4 Add MDC, MDI, MDI-X, MDIO 2018-06-23 19:40:59 +00:00
sevan 0969941113 The s in AST is system.
Add RC and common use of IPL, previous entry was from the world of s/360
2018-06-23 15:00:22 +00:00
maya c4e429fc54 Describe something for npf, npfd, blacklistd. 2018-06-22 19:35:25 +00:00
maya 288a6ec8cd Remove documentation references to rtsol. 2018-06-22 19:08:28 +00:00
christos bb417bce75 - Fix groff reproducibility:
- specify mdoc and font paths
    - clear encoding
    - specify pagesize on the command line
XXX: pullup-8
2018-06-22 17:31:24 +00:00
maya 538feb9de7 Add comment describing why we remove -Wsystem-headers, requested by mrg. 2018-06-22 11:25:03 +00:00
maya 3472b5d3e2 Amend MIPS, there are multiple stages in a pipeline. 2018-06-21 23:05:44 +00:00
sevan 89a50f5c3e Add AFP, AMD, ASA, BSDP, DEC, IPL, MDMX, MIPS, PIX, PRU (found on the BeagleBone
Black), XHR.
2018-06-21 22:56:42 +00:00
kamil 64a497de12 Refactor MKSANITIZER flags in mk rules
Introduce a new variable SANITIZERFLAGS that contains all the sanitizer
specific flags. These flags are designed to be passed to CFLAGS, CXXFLAGS
and LDFLAGS.

Pass SANITIZERFLAGS in bsd.prog.mk rules to CFLAGS, CXXFLAGS and LDFLAGS.

Pass SANITIZERFLAGS in bsd.lib.mk rules to *_pic.a build flags. The *_pic.a
libraries are designed to construct .so libraries. All .so libraries with
few exceptions are expected to be prebuilt with a sanitizer. Another
purpuse of *_pic.a files can be constructing static PIE programs, however
they are not supported as of now and there is no sanitization of static
programs either.

Once MKSTATICPIE will be supported, it will be initially incompatible with
MKSANITIZER.

This change also makes it easier to build other targets like kernel and
kernel modules without userland sanitizers.

No functional change intended for MKSANITIZER=no users.
2018-06-21 11:24:38 +00:00
sevan 1bb226fbbf An acronym entry needs to be all uppercase.
Thanks to Thorsten Glaser
2018-06-20 21:53:15 +00:00
maya c017cf6e31 Strip -Wsystem-headers from CXXFLAGS.
GCC's C++ headers are not clean (yet). They are trying, but haven't got there
yet.

Necessary for including <atf-c++.hpp> which uses <sstream>.
2018-06-20 02:15:13 +00:00
pgoyette b1b8d8175c The whole point of my recent addition of the specificdata(9) man page
was so it could be cross-referenced here.  So, add the xref.
2018-06-18 23:40:14 +00:00
eadler 9a101e13fe sysctl.7: fix speeling mistake 2018-06-18 02:57:51 +00:00
eadler 8b7a64b270 queue.3: deduplicate deduplicate a a word word 2018-06-18 02:48:56 +00:00
christos d8a64f1e46 The compat build plays games with MAKEOBJDIR and unsets MAKEOBJDIRPREFIX.
Keep using our standard NETBSDOBJDIR if it was set.
2018-06-17 23:37:22 +00:00
mrg 86fb244de3 check MK{FOO} defaults for $MACHINE as well as $MACHINE_ARCH.
should restore firmware files for some platforms that were
missing them.
2018-06-16 19:05:17 +00:00
wiz 3a719c4bc0 Add missing word. 2018-06-15 23:13:19 +00:00
wiz 5fe4139bca Sort SEE ALSO. 2018-06-15 23:11:56 +00:00
pgoyette 56d0105401 Add missing .Fn mark-up 2018-06-15 22:40:33 +00:00
pgoyette 6ca7a307a1 Add note that there is no way to delete an individual datum from a
container.
2018-06-15 22:27:40 +00:00
pgoyette 6e6eddc2d0 Bump date for previous changes 2018-06-15 22:11:17 +00:00
pgoyette bec9397abf Improve synopsis, remove unnecessary .Nm markup 2018-06-15 22:10:44 +00:00
sevan 7367c87248 Add POWER/PowerPC/PPC.
Leaving the original PPC entry as it's a valid case.
2018-06-15 21:59:17 +00:00
uwe 57b32accc1 Fix pasto in .Dt title 2018-06-15 21:51:32 +00:00
wiz 3c87e35a2f Whitespace nit. 2018-06-15 15:15:10 +00:00
wiz 9a08b6a960 Whitespace fixes. 2018-06-15 15:14:15 +00:00
wiz 77d2cc62be Sort errors. Use \(em. 2018-06-15 15:12:49 +00:00
christos 15a5ffcf6f Create NETBSDOBJDIR to handle MAKEOBJDIRPREFIX, since that prepends the
prefix to the whole path.
Mention that we cannot handle MAKEOBJDIR
2018-06-13 15:46:26 +00:00
ozaki-r ee6b84591c Retire fast_ipsec.4
We switched to Fast IPsec at NetBSD 6.0 and that's the IPsec implementation of
us now.  So we don't need to have a separate manual.  Merge fast_ipsec.4 into
ipsec.4 and remove fast_ipsec.4.
2018-06-13 03:28:36 +00:00
christos d58777d134 Handle more objdir variations for MKREPRO (untested) 2018-06-11 01:34:03 +00:00
christos 2357fc5dd5 use SUBDIR.roff suggested by uwe@ 2018-06-10 17:55:11 +00:00
kamil e153ab384c Fix the MKGROFF=no MKCXX=yes build
Allow to disable building groff. This is a build tool written in C++.

This option is useful with an external toolchain configured for building the
distribution rather than building tools (e.g. C++ lookup paths may differ).

Looks ok by <christos>

Sponsored by <The NetBSD Foundation>
2018-06-10 17:17:46 +00:00
maya 262c7ccc67 Add more aliases for Hebrew and Arabic ISO-8859-... encodings.
ISO-8859-8 is supposed to be visual order (i.e. legible if displayed ltr)
ISO-8859-8-i is supposed to be implicit logic order
ISO-8859-8-e is supposed to be explicit about order

In practice, ISO-8859-8 implying visual order is rare, and logic
order is used. ISO-8859-8-e is rarely used.

Same for Arabic, which uses ISO-8859-6-...

Mentioned in RFC 1555, RFC 1556.
2018-06-08 12:07:41 +00:00
jakllsch e2c33b38ea make note of new 'virtio at fdt' attachment 2018-06-07 12:32:26 +00:00
christos 56e6b77faa Elide -nostdinc from LINK.c when linking object files since clang complains
about unused argument. Note that we can't remove CPPFLAGS from LINK.c because
it is used in the "shuttle rules" (from .c to executable).
2018-06-05 15:37:52 +00:00
christos 4cb6d5fb56 Add rules for building relocatable objects to avoid having random Makefiles
use ${LD} ${LDFLAGS} -r which does not work if we specify MKRELRO since
LDFLAGS is supposed to be passed to LINK.c not LD directly (although some
of the flags work).
2018-06-05 00:56:51 +00:00
gson 213fea331c Remove stray space to unbreak build 2018-06-03 12:54:51 +00:00
pgoyette 291445ac20 Clean-up, improve wording, and use terminology from the implementation
(notably, value --> datum).
2018-06-03 11:55:27 +00:00
pgoyette 62ec288f8d Finish documenting the new modules(9) interfaces by adding the module
specificdata routines.
2018-06-03 10:34:59 +00:00
pgoyette 67d3587de3 Make a first pass at documenting the specificdata functionality.
XXX This is just a first pass, and I've probably made a ton of mistakes
XXX while reading the code!  Updates and corrections greatly appreciated.
2018-06-03 09:22:34 +00:00
rin b232fd18de Add characters in "Emoji & Pictographs" from Unicode 10.0.0:
http://www.unicode.org/charts/

They are classified as PUNCT, which is historically used for characters other
than blank, alphabetic, or digit ones.

Glyph widths are taken from "East Asian Width":
  https://www.unicode.org/Public/10.0.0/ucd/EastAsianWidth.txt
Characters of "F" or "W" are classified to SWIDTH2, and others are classified
to SWIDTH1, as implicitly done in the previous revisions.

Should address problems like PR bin/53323.

Discussed with soda@. We thank Takuya SHIOZAKI (tshiozak@) for useful comments.
2018-06-03 07:54:51 +00:00
wiz 75813253f0 Fix MKFIRMWARE description. 2018-06-03 04:41:04 +00:00
wiz c6684071f4 Fix MKSANITIZER default in description. 2018-06-03 04:38:12 +00:00
pgoyette 208f2b06f4 Also add new entries in the .Nm list, and update Makefile to actually
build the MLINKS
2018-06-03 01:52:47 +00:00
pgoyette 67554cc5bd Add documentation on the module_{,un}register_callbacks() routines.
XXX Still need to document the module_specificdata_* stuff, which
XXX needs to refer to a non-existent specificdata(9) man page!
2018-06-03 01:50:28 +00:00
sevan f43cf75ad4 gem(4) can also be connected to makphy(4), as found on a G4 PowerBook
gem0 at pci2 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x80)
gem0: interrupting at irq 41
makphy0 at gem0 phy 0: Marvell 88E1111 Gigabit PHY, rev. 1
gem0: Ethernet address 00:0a:95:xx:xx:xx, 10KB RX fifo, 4KB TX fifo
2018-06-02 19:08:34 +00:00
christos d0972049fa Sanitizers don't support static linking. 2018-06-02 15:19:45 +00:00
christos 2ca450f684 Add NORELRO 2018-06-02 14:30:35 +00:00
christos 622b8981a7 Move the RELRO and the SANITIZER stuff outside of the WARNS conditional! 2018-06-02 03:02:30 +00:00
christos 0b98ca727d Add build glue to build all the code with sanitizers: MKSANITIZE. 2018-06-02 01:41:49 +00:00
wiz 244692fac0 Remove superfluous Pp. 2018-05-31 07:37:45 +00:00
pgoyette c5a4053b92 Fix a typo in the example properties 2018-05-31 07:36:25 +00:00
maxv f645db7adb Remove support for non-IKE markers in the kernel. Discussed on tech-net@,
and now in PR/53334. Basically non-IKE markers come from a deprecated
draft, and our kernel code for them has never worked.

Setsockopt will now reject UDP_ENCAP_ESPINUDP_NON_IKE.

Perhaps we should also add a check in key_handle_natt_info(), to make
sure we also reject UDP_ENCAP_ESPINUDP_NON_IKE in the SADB.
2018-05-31 07:03:57 +00:00
mrg a37025c593 introduce MKFIRMWARE that controls where (most) of the contents
of /libdata/firmware and /usr/libdata/firmware are not installed
if set to "no".  from the bsd.README:

MKFIRMWARE      If "no", install the /libdata/firmware directory,
		which is necessary for several drivers: athn(4), bwfm(4),
		ipw(4), iwi(4), iwm(4), iwn(4), otus(4), rtwn(4), urtwn(4),
		wpi(4), ral(4), rum(4), run(4), zyd(4), bcm43xx(4), and
		the Tegra 124 SoC.
		Default: yes on amd64, cobalt, evbarm evbmips, evbppc, hpcarm,
		hppa, i386, mac68k, macppc, sandpoint, and sparc64, no elsewhere.

convert MKRADEONFIRMWARE and MKTEGRAFIRMWARE into FOO.arch lists,
and move their defaults above the general defaults setting.

saves about 12MB in a normal installation for other platforms.
2018-05-31 05:27:45 +00:00
uwe 51b70d0925 Avoid widowed signal numbers. 2018-05-30 23:41:44 +00:00
uwe 7f402ed8d4 Shorten pleonastic "by the tty driver tty(4)". 2018-05-30 23:24:13 +00:00
zafer 85d69259a9 Add AltGr modifier for brazilian abnt2 keymap.
Fixes PR misc/50147 by Vicente Chaves.
2018-05-29 19:45:31 +00:00
ginsbach 7ec241a482 Add ABRT, AER, BERT, CMC, COS, CPE, CPER, CRUD, EDAC, EINJ, ERST, ESB,
GHES, GIC, HATEOAS, HECI, HEST, IPMB, IPMI, ITP, JSON, KCS, MD-SAL,
    MQTT, (another) MSR, OAM, PCE, (another) SAL, SAX, SDEI, SEA, SLAAC,
    SMB, SNIA, SVI, TSDB, (another) VID, WAMP, YANG
2018-05-29 02:53:24 +00:00
ginsbach 56689d70f8 Fix spelling/typos 2018-05-29 02:42:34 +00:00
pgoyette a214efc127 Add man-page links for new module_* accessor functions 2018-05-28 22:25:12 +00:00
pgoyette 4351800068 Partial update for new module interfaces. This update addresses the
new accessor functions and changes to module_hold() and module_rele(),
and fixes the prototype of each module's xxx_modcmd() function.

We still need updates related to the "specificdata" and callback
changes:

    specificdata_key_t module_specific_key_create(specificdata_key_t *,
						specificdata_dtor_t);
    void   module_specific_key_delete(specificdata_key_t);
    void   *module_getspecific(module_t *, specificdata_key_t);
    void   module_setspecific(module_t *, specificdata_key_t, void *);
    void   *module_register_callbacks(void (*)(struct module *),
	                                     void (*)(struct module *));
    void   module_unregister_callbacks(void *);

XXX The various functions listed in the man page should grouped into a
XXX few logical sub-sets.
2018-05-28 22:22:54 +00:00
wiz f7cc37edce Add signal numbers in overview table.
They are already in the text, but this way they're easier to find.
2018-05-28 15:48:23 +00:00
christos 1320cca746 install bsd.hostinit.mk 2018-05-28 13:21:50 +00:00
wiz b787339b42 File system police. 2018-05-28 08:36:36 +00:00
nat bdb5abbfba Move the audio specification to section 9 under audio_system.
Ok wiz@
2018-05-28 00:18:05 +00:00
maya 801019914e Don't mention sprintf and vsprintf, they don't exist in the kernel.
Drop MLINKS, too.
2018-05-27 21:09:39 +00:00
wiz b86c168cf0 Minor improvements. 2018-05-27 07:12:26 +00:00
thorpej 91d6af5a4b Add a driver for the Taos TSL256x light sensors. 2018-05-27 05:31:20 +00:00
riastradh 0840e69c34 Add a topical acronym for this week: GDPR. 2018-05-25 00:31:07 +00:00
christos 5729151aad Be more selective about remapping object directories otherwise we pick
objdump and objcopy with the regex.

XXX: pullup-8
2018-05-24 02:06:31 +00:00
wiz e8075710dc Mark up argument. Fix typo. 2018-05-23 07:08:13 +00:00
wiz e46faeed68 Add missing .El. Replace Ta outside its defined usage with No (no change
to text output).
2018-05-23 07:06:45 +00:00
ginsbach 4c45dc6a2c Add M&O, ROM, and SWOT 2018-05-22 02:54:32 +00:00
ginsbach 3d30e61472 Fix spelling 2018-05-22 02:46:19 +00:00
kamil 8ea76f3911 Minor update to signal(7)
Note that SIGCHLD is not just a child exit signal.
Note that SIGIOT is PDP-11 specific signal.

Sponsored by <The NetBSD Foundation>
2018-05-22 02:31:57 +00:00
nat e01c875899 Using audioctl without the -p switch defaults to the mix ring. This allows
setting the hardware gain etc.

Update the audio spec in audio.7 to reflect these changes.

Addresses PR kern/52781.
2018-05-22 01:35:49 +00:00
wiz eb22472975 End sentence with a dot. 2018-05-20 15:28:27 +00:00
thorpej f5a92b7658 Add a 1PPS-over-GPIO driver, originally by Brad Spencer, with changes by
me to adapt to the new GPIO interrupt interface and support a wider variety
of GPIO pin configuations.

PR kern/51676

(Oops, forgot to "cvs add" these items previously.)
2018-05-20 15:15:40 +00:00
christos 0ff9c30a3a Also substitute ${X11SRCDIR} for the random seed for reproducible builds so
that the random seed is consistent.
XXX: pullup-8
2018-05-20 14:39:53 +00:00