Commit Graph

17256 Commits

Author SHA1 Message Date
mrg 441b3b4dac include bsd.own.mk to ensure that USE_XZ_SETS is set properly before using it.
this should fix PR#56919.
2022-07-10 04:01:07 +00:00
nia 51ce44ea2b Add a man page for slurm(4) 2022-07-08 16:50:10 +00:00
nia f16ece3123 Add a manual page for uintuos(4) 2022-07-08 08:59:33 +00:00
martin b570478b50 Tegra TX2 dtb files are build for big endian aarch64 too. 2022-07-06 15:24:58 +00:00
rillig 715e58e70b lint: add additional queries that are not enabled by default
In the last 18 months, several lint warnings have been made adjusted to
allow common usage patterns.  For example, lint no longer warns about a
constant condition in the statement 'do { ... } while (false)' (message
161), as this pattern is well-known in statement-like macros, making it
unlikely that the 'false' is a mistake.  Another example is casts
between unequal pointer types (message 247) for a few well-known
patterns that are unlikely to be bugs.

Occasionally, it is useful to query the code for patterns or events that
would not justify a warning.  These patterns are modeled as predefined
queries that can be selected individually, in addition to and
independently of the existing warnings and errors.

New queries can be added as needed, in the same way as new warnings.
Queries that are deemed no longer used can be deactivated in the same
way as warnings that are no longer used.

As long as none of the queries is enabled, they produce a minimal
overhead of querying a single global variable.  Computations that are
more expensive than a few machine instructions should be guarded by
any_query_enabled.

https://mail-index.netbsd.org/source-changes-d/2022/06/28/msg013716.html

ok christos@
2022-07-05 22:50:41 +00:00
martin 3b7b1db2d2 Build dtb files for the Tegra TX2 2022-07-04 18:25:45 +00:00
rillig 5716ac4baa tests/lint: remove .exp files, as they have become redundant
Now that each lint1 test lists all generated diagnostics as 'expect'
comments, the information from the .exp files is no longer needed.  The
only information that gets lost is the order of the diagnostics, which
is mostly relevant for paired messages like 'inconsistent definition' +
'previous definition was here'.
2022-06-17 20:23:58 +00:00
rillig 36dcebf9e1 tests/lint: add more details to messages in msg_200 until msg_299
Add some tests that were previously empty.  Some other tests are still
empty.
2022-06-16 21:24:41 +00:00
rillig 65e5c21b37 tests/lint: make expectation lines in the tests more detailed
This commit migrates msg_100 until msg_199.
2022-06-16 16:58:35 +00:00
tsutsui 34941bda13 Add luna68k specific section 4 man pages.
Taken from mostly OpenBSD/luna88k and partially NetBSD/hp300.
2022-06-12 03:51:13 +00:00
rillig b511067d09 tests/lint: fix test for loss of accuracy on ILP32 platforms
The test had been wrong since msg_132.c 1.14 from 2022-05-30.

Using 'unsigned long' in a test that was intended to behave the same on
ILP32 and LP64 was an accident.  Use 'unsigned long long' instead, which
is 64-bits wide on all platforms supported by lint.

Move the test about conversion from 'long' to 'int' to the
platform-specific test files.

Noticed by martin@ on powerpc.
2022-06-10 18:29:01 +00:00
uwe a503ab7560 Terminus Font: Import latin1 encoded versions from 4.49.1 2022-06-08 19:27:37 +00:00
nia 402b924225 revert bits and pieces I accidentally included in my last commit
from hannken
2022-06-06 13:28:55 +00:00
nia 3299e8e2bf Remove accidentally committed merge conflict line. 2022-06-06 10:57:05 +00:00
nia b7957d1677 build system: Revert all the recent additions of MK[...] knobs that
allow conditionally disabling the building of certain user space
programs in the 'base' set.

There is not enough consensus that this is the right way and a few
people had strong objections, see source-changes-d@.
2022-06-06 10:56:27 +00:00
pgoyette c1b2d682cf Add sets-lists entries for the new combined midi_seq module 2022-06-04 03:32:04 +00:00
andvar 7a3188d95f some srm firmware (including legacy platforms) still available at hp ftp.
not sure if HPE selling firmware CDs, but it is definitely not Compaq anymore.
2022-06-03 15:36:36 +00:00
andvar c8f8b6bbdf fix link to pkgsrc.tar.gz file in postinstall section. 2022-06-03 14:02:48 +00:00
andvar b9acd6afaf fix the title of the boot tape creation section. 2022-06-03 13:50:32 +00:00
riastradh 2b5e567d9c libc: Reintroduce getentropy.
This was introduced two years ago when the getrandom/getentropy API
question was still open, and removed because the discussion was
ongoing.  Now getentropy is more widely adopted and soon to be in
POSIX.  So reintroduce the symbol into libc since we'll be keeping it
anyway.  Discussion of details of the semantics, as interpreted by
NetBSD, is ongoing, but the symbol needs to get in before the
netbsd-10 branch.  The draft POSIX text is
(https://www.opengroup.org/austin/docs/austin_1110.pdf):

    SYNOPSIS
        #include <unistd.h>

        int getentropy(void *buffer, size_t length);

    DESCRIPTION
        The getentropy() function shall write length bytes of data
        starting at the location pointed to by buffer. The output
        shall be unpredictable high quality random data, generated by
        a cryptographically secure pseudo-random number
        generator. The maximum permitted value for the length
        argument is given by the {GETENTROPY_MAX} symbolic constant
        defined in <limits.h>.

    RETURN VALUES
        Upon successful completion, getentropy() shall return 0;
        otherwise, -1 shall be retunred and errno set to indicate the
        error.

    ERRORS
        The getentropy() function shall fail if:

        [EINVAL]        The value of length is greater than
                        {GETENTROPY_MAX}.

        The getentropy() function may fail if:

        [ENOSYS]        The system does not provide the necessary
                        source of entropy.

    RATIONALE
        The getentropy() function is not a cancellation point.

Minor changes from the previous introduction of getentropy into libc:

- Return EINVAL, not EIO, on buflen > 256.
- Define GETENTROPY_MAX in limits.h.

The declaration of getentropy in unistd.h and definition of
GETENTROPY_MAX in limits.h are currently conditional on
_NETBSD_SOURCE.  When the next revision of POSIX is finalized, we can
expose them also under _POSIX_C_SOURCE > 20yymmL as usual -- and this
can be done as a pullup without breaking existing compiled programs.
2022-05-31 13:42:58 +00:00
rin dd3ee07da4 Introduce libc_aligned.so for evbppc-powerpc32, which provides
strictly-aligned versions of memcmp(3), bcopy(3), memcpy(3), and
memmove(3).

This is used for 403 by ld.so.conf with machdep.no_unaligned variable.

With this library, unaligned memory accesses are significantly reduced
for 403 (from several hundreds to few tens per sec under heavy load);
only ld.elf_so (typically few times per fork) and statically-linked
binaries do such access.
2022-05-30 15:06:54 +00:00
nia da7913c09e mk: Add MKTIMED and MKMOUSED flags for compiling NetBSD without timed
and moused
2022-05-29 15:23:20 +00:00
nia 8469593b52 mk: Add a MKPPP flag to exclude pppd(8) and related utilities from
the build
2022-05-29 08:09:59 +00:00
andvar 67cf5ffde0 s/hierach/hierarch/ 2022-05-28 21:57:39 +00:00
nia e994758d71 mk: Add MKFINGER, MKTALK flags for not building
talk, talkd, finger, fingerd.
2022-05-28 14:31:11 +00:00
nia f2e2da3feb mk: Add MKNTP, MKTCPDUMP knobs. 2022-05-28 11:17:35 +00:00
nia cbb875961a mk: Add a MKLFS flag for excluding the log-structured filesystem userspace
tools from the build.
2022-05-27 07:28:20 +00:00
nia 6678627ac7 mk: Rename the MKMBONE option to MKMROUTING for greater accuracy and
to match the related kernel config option.
2022-05-25 21:25:46 +00:00
nia f52526086f mk: Allow setting MKDHCPD=no to build base without the ISC DHCP server,
useful for embedded images that don't need to act as one.
2022-05-25 20:44:01 +00:00
nia 3b39fcc49f debug pieces should also be installed conditionally based on MKMBONE 2022-05-25 12:47:40 +00:00
nia 30fbdc74a3 mk: Allow building base without the MBONE applications by setting
MKMBONE=no in mk.conf
2022-05-25 10:18:28 +00:00
andvar 9f4a9600be fix various typos in comments, docs and log messages. 2022-05-24 06:27:59 +00:00
rillig 6b107a132e tests/make: document and demonstrate .for i containing .if empty(i)
PR bin/43821 describes the inconsistency that in a '.for i' loop, the
condition '.if ${i:M*.c}' works since 2009 while the seemingly
equivalent condition '.if !empty(i:M*.c)' does not access the variable
'i' from the .for loop but instead the global 'i'.

Resolving this situation in a backwards-compatible and non-surprising
way is hard, as make has grown several features during the last 20 years
that interact in various edge cases.  For now, document the most obvious
pitfalls.
2022-05-23 22:33:56 +00:00
jmcneill 8bc77b2dd2 Restore Makefile.installimage include after variables are set. Makes amd64
USB install images bootable again.
2022-05-22 19:32:41 +00:00
rillig 345652c15e tests/compress: demonstrate truncation of target file
Reported by Giorgos Keramidas in PR#19722.
2022-05-22 17:55:08 +00:00
andvar f42f89fd6f fix various small typos, mainly in comments. 2022-05-22 11:27:33 +00:00
mrg c90a6d284e install the lower case radeon firmware files into /usr/libdata/firmware.
radeon has different case but same name firmware files.  the lower case
ones are already installed into /libdata/firmware, and to avoid having
to provide some special method to build on systems with case-preserving
file systems (such as macOS), we install the lower case ones in /usr.

this means that anyone that requires the lower case files must either
have /usr as part of the / file system, or manually keep them updated.

last part of PR#54976, though i doubt we'll try to pull up these.

this is enabled on i386, amd64 and arm64.
2022-05-15 00:24:14 +00:00
mrg 95edaa90e6 allow some invocations of expr(1) to "fail" - expr(1) returns "1" is
the expression expands to "0" or empty, and sometimes these values end
up correctly being 0.
2022-05-15 00:05:24 +00:00
uwe 050f0752dd Terminus Font: Import 12pt and 28pt IBM437 fonts too. 2022-05-14 17:52:10 +00:00
uwe 8d7f698117 Terminus Font: Import IBM-encoded versions from 4.49.1
Terminus Font is a clean, fixed width bitmap font, designed for long
(8 and more hours per day) work with computers.

The font has a very good script coverage and subsets with other
encodings can be imported in the future.

This commit imports IBM437 encoded (WSDISPLAY_FONTENC_ISO) subsets
converted to WSF format.  wsfont metadata are stored in the files, so
you can load them without any additional arguments to wsfontload(8).
2022-05-14 14:02:08 +00:00
brad 3cdfb747ad Add LINKS and MLINKS to the ddns-confgen Makefile to provide
tsig-keygen.  This helps to allow pkgsrc/security/acmesh to function
and should be provided in all BIND >= 9.13 installs anyway.
2022-05-13 16:39:32 +00:00
rillig c1ebf8f4b6 tests/lint: add more tests for __alignof__ 2022-05-12 20:49:21 +00:00
rillig 91bf128de4 tests/lint: adjust tests to reflect missing support of __alignof__
The change in lex.c 1.129 attempted to add support for __alignof, in
addition to the existing support for __alignof__.  It failed by removing
support for __alignof__, while allowing the plain 'alignof' instead.
2022-05-12 00:09:44 +00:00
rin fbe173fe52 Drop IEEE 802.11 support from ifconfig(8).
Reduce ~9KB, and atari builds again for me.
2022-05-11 10:47:10 +00:00
rin 7d0374d5e7 Introduce NOIEEE80211 option, by which IEEE 802.11 support is dropped from
ifconfig(8) in crunched binaries. This saves ~9KB for, e.g., m68k.
2022-05-11 10:45:48 +00:00
rin 809f35d114 For atari install disk:
- Drop FD support from installboot(8). Reduce ~0.5KB.
- Drop primary boot loaders for FD (2 files, 0.5KB each).

Note that we continue to support these features in base.

OK tsutsui@
2022-05-11 10:36:52 +00:00
rillig bdfa9f3367 tests/make: remove test varquote
The test varmod-quote-dollar covers the same topic.
2022-05-08 10:20:49 +00:00
mrg f2d8a8f4d6 fix building amd64 with USE_XZ_SETS=no.
bump the size of images if USE_XZ_SETS != no.  consolidate a lot of
the code between installimage/Makefile and installimage-bios/Makefile
into installimage/installimage.mk.
2022-05-08 08:12:45 +00:00
rillig 794db94679 tests/make: migrate cond1 test to other, more specific tests
The tests in cond1 were a mixture of "everything related to conditions",
and the test cases were heavily dependent on each other, which made them
hard to understand.  Move each test case to its corresponding
special-purpose test.
2022-05-08 06:51:27 +00:00
andvar 0ac7f4ddbc fix various typos, mainly s/trasfering/transferring/ and s/theese/these/. 2022-05-03 20:52:30 +00:00
uwe d9b6d5a181 libXcursor: Add missing MLINKS. 2022-05-03 13:46:22 +00:00
uwe f33c454aa5 xorg-server: Add xorg.conf.d(5) MLINKS. 2022-05-03 12:53:51 +00:00
uwe dbbde5bcaf libXrandr: Add missing MLINKS. 2022-05-03 00:29:23 +00:00
uwe 2c85024b98 libX11: Install Compose(5) manual page. 2022-05-01 22:54:59 +00:00
uwe 70503e8c99 libX11: Add missing MLINKS. 2022-05-01 13:45:46 +00:00
pgoyette 726aa68aee Add a new test for PR kern/56713 and set to expected_failure for now. 2022-04-29 22:17:49 +00:00
rillig 154b5ed632 lint: revert resolving grammar conflicts for labeled statements
Restore the grammar rule for labeled_statement as it was before cgram.y
1.400 from 2022-04-24.  This allows labels with attributes again.  Fix
the wrong interpretation in the tests; the attributes belong to the
label, not to the statement.

Today in the morning, when I thought that the change in cgram.y 1.400
were innocent, I accidentally ran lint only with the options '-Sw' but
forgot the option '-g' for GNU mode.  Without that option, the token
'__attribute__' is unknown, which unsurprisingly leads to lots of syntax
errors, and these didn't change with that commit.  The actual change was
only visible in GNU mode.
2022-04-28 21:38:38 +00:00
blymn 3c9a56d88f Added new libcurses test. 2022-04-26 22:48:53 +00:00
gutteridge db7f4d8575 Update firmware for Intel Centrino Advanced-N 6205 WiFi cards
Use the final version of firmware provided for these cards. This has
been tested with both variants of impacted iwn(4) cards (6005_2X2_1 and
6005_2X2_2, as found in a Dell E6230 and a Lenovo T420), improvements
noted.
2022-04-25 02:29:13 +00:00
rillig b60cb68fed tests/indent: migrate token tests to other tests
In indent.h 1.49 from 2021-10-25, the enumeration token_type was split
into lexer_symbol and parser_symbol to more clearly express that these
tokens fall into completely different classes of usage patterns.
2022-04-24 10:36:37 +00:00
rillig 15606711d7 tests/indent: migrate tests for parentheses, brackets, braces 2022-04-24 08:48:17 +00:00
rillig 173b4e090e tests/indent: migrate tests for the tokens '{' and '.' 2022-04-23 09:59:13 +00:00
rillig c91f4bf8dd tests/indent: migrate a few token tests to psym tests 2022-04-23 09:01:03 +00:00
blymn 83e1731bf4 Add test and check file for bkgrndset 2022-04-20 07:41:04 +00:00
rillig ddac43c43f make: only switch to POSIX mode if '.POSIX:' is the first line
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html
says that in order to make a makefile POSIX-conforming, its first
non-comment line must be the special dependency line '.POSIX:' without
any source dependencies.

Previously, make switched to POSIX mode even if such a line occurred
anywhere else, which was allowed by POSIX but was deep in the
"unspecified behavior" area.  For NetBSD make, there is no big
difference since it doesn't ship any <posix.mk> file, this change mainly
affects the bmake distribution.

Previously, makefiles that contain '.POSIX:' somewhere in the middle
could fail due to <posix.mk> resetting .SUFFIXES, among other things.

Suggested by Simon J. Gerraty, who also reviewed an earlier version of
this change.
2022-04-18 15:06:27 +00:00
christos 7f5154de3f bump for OpenSSH-9.0 2022-04-15 14:00:29 +00:00
pgoyette bc7accac9e Add the new scsi_subr module to sets lists. 2022-04-14 16:51:57 +00:00
martin 1d58cb4b56 Make this no-op variant of fmtcheck() compatible with the libc version
when called with NULL as first argument.
2022-04-14 15:51:29 +00:00
martin df3ac62ce2 Adapt to libcurses minor bump 2022-04-12 11:54:57 +00:00
blymn a12028486c Bump libcurses minor 2022-04-12 07:03:29 +00:00
martin ae26e95f81 Add missing EFI bootloaders to the install kernel ramdisk,
noticed by Lloyd Parkes.
2022-04-10 11:56:28 +00:00
riastradh 4f8ce3b31d Introduce membar_acquire/release. Deprecate membar_enter/exit.
The names membar_enter/exit were unclear, and the documentation of
membar_enter has disagreed with the implementations on sparc,
powerpc, and even x86(!) for the entire time it has been in NetBSD.

The terms `acquire' and `release' are ubiquitous in the literature
today, and have been adopted in the C and C++ standards to mean
load-before-load/store and load/store-before-store, respectively,
which are exactly the orderings required by acquiring and releasing a
mutex, as well as other useful applications like decrementing a
reference count and then freeing the underlying object if it went to
zero.

Originally I proposed changing one word in the documentation for
membar_enter to make it load-before-load/store instead of
store-before-load/store, i.e., to make it an acquire barrier.  I
proposed this on the grounds that

(a) all implementations guarantee load-before-load/store,
(b) some implementations fail to guarantee store-before-load/store,
and
(c) all uses in-tree assume load-before-load/store.

I verified parts (a) and (b) (except, for (a), powerpc didn't even
guarantee load-before-load/store -- isync isn't necessarily enough;
need lwsync in general -- but it _almost_ did, and it certainly didn't
guarantee store-before-load/store).

Part (c) might not be correct, however: under the mistaken assumption
that atomic-r/m/w then membar-w/rw is equivalent to atomic-r/m/w then
membar-r/rw, I only audited the cases of membar_enter that _aren't_
immediately after an atomic-r/m/w.  All of those cases assume
load-before-load/store.  But my assumption was wrong -- there are
cases of atomic-r/m/w then membar-w/rw that would be broken by
changing to atomic-r/m/w then membar-r/rw:

https://mail-index.netbsd.org/tech-kern/2022/03/29/msg028044.html

Furthermore, the name membar_enter has been adopted in other places
like OpenBSD where it actually does follow the documentation and
guarantee store-before-load/store, even if that order is not useful.
So the name membar_enter currently lives in a bad place where it
means either of two things -- r/rw or w/rw.

With this change, we deprecate membar_enter/exit, introduce
membar_acquire/release as better names for the useful pair (r/rw and
rw/w), and make sure the implementation of membar_enter guarantees
both what was documented _and_ what was implemented, making it an
alias for membar_sync.

While here, rework all of the membar_* definitions and aliases.  The
new logic follows a rule to make it easier to audit:

	membar_X is defined as an alias for membar_Y iff membar_X is
	guaranteed by membar_Y.

The `no stronger than' relation is (the transitive closure of):

- membar_consumer (r/r) is guaranteed by membar_acquire (r/rw)
- membar_producer (w/w) is guaranteed by membar_release (rw/w)
- membar_acquire (r/rw) is guaranteed by membar_sync (rw/rw)
- membar_release (rw/w) is guaranteed by membar_sync (rw/rw)

And, for the deprecated membars:

- membar_enter (whether r/rw, w/rw, or rw/rw) is guaranteed by
  membar_sync (rw/rw)
- membar_exit (rw/w) is guaranteed by membar_release (rw/w)

(membar_exit is identical to membar_release, but the name is
deprecated.)

Finally, while here, annotate some of the instructions with their
semantics.  For powerpc, leave an essay with citations on the
unfortunate but -- as far as I can tell -- necessary decision to use
lwsync, not isync, for membar_acquire and membar_consumer.

Also add membar(3) and atomic(3) man page links.
2022-04-09 23:32:51 +00:00
riastradh d49616184d membar_ops(3): Add some automatic tests.
These tests run two threads for five seconds each to try to trigger
races in the event of broken memory barriers.  They run only on
machines with at least two CPUs; on uniprocessor systems there's no
point -- the membars can correctly just be (instruction barrier)
no-ops.
2022-04-08 23:35:51 +00:00
rillig 321092b8ae lint: remove unused message 70, add some more tests 2022-04-08 21:29:29 +00:00
reinoud e997ef4acf Add fsck_udf to the debug sets 2022-04-06 14:28:44 +00:00
reinoud aaca3d49cd Add the fsck_udf(8) tool to the build and release 2022-04-06 14:20:07 +00:00
rillig e6d4541762 tests/lint: add tests for a few early messages 2022-04-05 23:09:19 +00:00
andvar 9991cde4dd Remove floppy installation instructions from sparc documentation.
Floppy generation was disabled before NetBSD 6.0 release due to size
constraints and unlikely to be restored soon or at all. PR port-sparc/56776.
ok martin.
2022-04-01 21:53:35 +00:00
pgoyette bb82a354ac Create a loaable adiantum module, and make cgd require it.
This enablees use of a loadable cgd module, rather thtan requiring
it to be built-in.

Partially resolves kern/56772
2022-04-01 21:09:24 +00:00
pgoyette 7694d68911 Split i2c_subr.c into a separate module rather than including it in
the iic module.  There are valid configurations where i2c_subr code
can be both built-in and part of a loaded module (eg, piixpm is in
the kernel, but the iic module is loaded later).  This causes the
in-kernel linker to detect a duplicate symbol.
2022-04-01 15:49:11 +00:00
christos 70ac91e3e3 Add t_link 2022-03-28 20:52:17 +00:00
christos de5bb3186c grow (for llvm) 2022-03-26 17:11:20 +00:00
christos c7671db9d6 grow 2022-03-26 17:09:53 +00:00
wiz 83aebf56b2 add more igpio man pages (cat4, html4) 2022-03-24 16:33:05 +00:00
manu 5943c0fc2c Add man page for Intel GPIO igpio.4 2022-03-24 14:04:28 +00:00
andvar 4d969a39c0 fix few typos in comments and output message. 2022-03-13 14:20:24 +00:00
mrg f3bf968556 disable compatfile for filter-aaaa.so. 2022-03-07 09:45:02 +00:00
mrg 55bbcc605b comment filter-aaaa.so.debug for now. it's not installed normally
and will need a special rule, left as an exercise to the reader.

make plugins .WAIT on everything else.
2022-03-07 09:23:20 +00:00
mrg 2bd052e5d8 enter the bind plugins library dir, and also add missing set lists.
fixes building sets for at least vax.
2022-03-07 07:07:55 +00:00
christos 859122dbc4 add filter-aaaa 2022-03-06 17:54:52 +00:00
mrg 0610295431 fix ati_drv version after switching to newer sources for everyone. 2022-02-25 17:42:59 +00:00
mrg 2104676143 enable blkdiscard(8) build. 2022-02-24 03:35:32 +00:00
christos 1362f06b78 bump libssh 2022-02-23 19:09:42 +00:00
uwe 688bac70ae libXi: Bring back manual pages. 2022-02-22 22:49:39 +00:00
uwe 739fa5515a libXxf86vm: Add missing XF86VidModeAddModeLine.3 mlink. 2022-02-22 15:42:09 +00:00
uwe 23312573e7 libXv: add missing man pages added in libXv-1.0.5
While here, split MAN and MLINKS into individual += assignments and
sort them.
2022-02-22 00:05:13 +00:00
uwe 66a03ef37b libXext: Fix MLINKS for XShape.3
XShapeQueryExtension.3 and XShapeQueryVersion.3 are not conjoined twins.
While here split XShape.3 links into separate MLINKS += src dst assignments
and sort them.
2022-02-21 02:13:47 +00:00
nia 7fb7867321 Be less optimistic about i386 system reqirements. Remove extremely outdated
list of support devices.
2022-02-20 09:40:07 +00:00
uwe 21a341520d Add missing cat pages to fix MKCATPAGES build. 2022-02-16 01:26:30 +00:00
riastradh 66d107c557 KERNEL_LOCK(9): New man page for old not-dead-yet hack.
I'm not documenting this to encourage anyone to use it.  I'm only
documenting this to remind myself what the semantics is, because it's
kind of confusing and not at all like mutex(9).
2022-02-15 22:46:29 +00:00
riastradh 59e18dd467 __cpu_simple_lock(9): New man page.
This doesn't mean you should use it!  Mostly it's to document the
semantics to help understand existing uses, which should not
proliferate, and audit definitions.
2022-02-12 17:10:20 +00:00
rillig d865043f3f tests/make: document the history of bugs in '-k' mode
Reported in PR#49720 in 2015, fixed independently in compat.c 1.199 from
2020-12-07.
2022-02-12 13:17:57 +00:00
rillig b048c4e49a tests/make: demonstrate bug for .SILENT in jobs mode (since 2003)
Reported 2011 in PR#45356.
2022-02-12 01:15:17 +00:00
rillig 1c62825e82 tests/make: demonstrate combination of .USE with transformation rule
Reported in 2003 in PR toolchain/20993.  Linking a transformation rule
with .USE or .USEBEFORE node makes the transformation rule fail.
2022-02-07 22:43:50 +00:00
nia fb47004043 Add pf(4) to the "list of features we plan to remove" (eventually)
list in the installation notes. Ironically, the only other thing here
is groff(1), which is used to generate these installation notes.
2022-02-06 07:37:29 +00:00
tsutsui 991df208a5 Use more shrinked tools in src/distrib/utils.
Saves ~24KB.
2022-02-04 17:21:56 +00:00
tsutsui 4ee8b2d39f Specify -fno-unwind-tables to shring ramdisk binaries.
Saves ~8KB.
2022-02-04 17:19:52 +00:00
andvar 34df0b3791 remove double "with" in comments and usage text. Also fix one typo. 2022-01-24 09:42:13 +00:00
rillig c556b4e908 tests/make: migrate modts to varmod-to-separator and explain 2022-01-23 18:00:53 +00:00
rillig 76f64f81d9 tests/make: rename var-class to var-scope
There is no such concept as a "variable class" in make, these tests
focus on the variable scope instead.
2022-01-23 16:25:53 +00:00
rillig 72c3edd3a3 tests/make: extend test suite, move old tests to 2020 scheme
The tests from envfirst.mk are now in opt-env.mk.
The tests from modword.mk are now in varmod-select-words.mk.
2022-01-23 16:09:38 +00:00
christos f0fde9902f PR/56657: Juraj Hercek: Add plainrsa-gen utility mentioned in racoon.conf(5)
and fix it for OpenSSL 1.1
2022-01-23 14:35:44 +00:00
skrll a8418b3e5b Add __MASK(3)
__MASK(n): first n bits all set, where __MASK(4) == 0b1111.
2022-01-22 08:58:48 +00:00
pho ec9afb4282 lib/librefuse: Implement all sorts of compat tweaks to appease various file systems
ReFUSE now supports all the FUSE API variants from FUSE 1.1 to FUSE
3.10. Sorry for the freaking giant patch. I could not break it down
any further.
2022-01-22 08:09:39 +00:00
pho a95017a87a lib/librefuse: Add support for legacy types and functions 2022-01-22 07:57:30 +00:00
pho 97dc09a69d lib/librefuse: Add stub functions for FUSE polling API 2022-01-22 07:56:15 +00:00
pho ce847e0a0b lib/librefuse: Implement data buffer API appeared on FUSE 2.9 2022-01-22 07:54:56 +00:00
pho 9f39150738 lib/librefuse: Implement FUSE session API and its signal handling functionality 2022-01-22 07:53:05 +00:00
pho 153b9c141b lib/librefuse: Implement logging API appeared on FUSE 3.7 2022-01-22 07:38:45 +00:00
rillig 12889c829b tests/make: demonstrate wrong location in diagnostic (since 2018-12-22)
When a target has multiple places where commands are defined, the
diagnostics mixed up the filename in some cases.
2022-01-19 22:10:41 +00:00
christos eadcbf2061 new vnode op ACL pages 2022-01-17 22:49:43 +00:00
christos 5967eecb18 section 9 acl related changes 2022-01-17 19:12:01 +00:00
thorpej 5eb438ad7a Re-factor and overhaul the "mcp23s17gpio" driver as "mcpgpio", and
add support for 8-bit and I2C variants of the chip:
- MCP23008 / MCP23S08: 8-bit (I2C / SPI)
- MCP23017 / MCP23S17: 16-bit (I2C / SPI)
- MCP23018 / MCP23S18: 16-bit (I2C / SPI), open-drain outputs

The MCP23x17 and MCP23x18 are essentially identical, software-wise; we
merely report different GPIO pin capabilities (no push-pull output for
MCP23x18).  Also, remove the tri-state capability that was previously
advertised by the old version of this driver; these chips have no way
to put the pin into a HI-Z mode.

All 3 I2C versions are supported, but the SPI front-end still only
supports the MCP23S17 for now (SPI autoconfiguration needs an overhaul).

mcp23s17gpio(4) remains present as a link to the new mcpgpio(4) man page.

XXX Still to-do: FDT integration, interrupt suppoort.
2022-01-17 16:31:23 +00:00
martin 9da6ce8f23 Add sysinst catalog files 2022-01-15 16:05:19 +00:00
skrll 04e9f53ab6 bump 2022-01-13 08:25:24 +00:00
martin da781f18d7 A few more sysinst message catalog adjustments 2022-01-12 15:35:51 +00:00
martin 2546ca891c Tweak some sysinst catalog files 2022-01-11 19:27:13 +00:00
martin 906a0c5ecd Add sysinst message catalogs 2022-01-10 19:23:00 +00:00
martin 6f09f6a101 Add sysinst catalogs to a few more md lists 2022-01-10 17:50:18 +00:00
martin f58928245d Add sysinst catalog files 2022-01-10 15:31:38 +00:00
martin bbebeab223 "Unobsolete" the sysinst message catalogs, now that we install them again. 2022-01-10 10:02:30 +00:00
skrll e79355da8c Fix alpha build 2022-01-10 06:00:00 +00:00
martin 9821f7a4ed First try (certainly wrong for many builds) to add sysinst catalog files. 2022-01-09 18:11:09 +00:00
skrll cee6161ff7 Use comp-sysutil-debug (not sysutils) 2022-01-09 07:45:05 +00:00
skrll 979ce140d8 Remove unnecessary machine=emips item - it was added to
distrib/sets/lists/debug/md.emips
2022-01-09 07:38:33 +00:00
christos a42fbaa6e0 fix emips 2022-01-08 14:28:14 +00:00
skrll 72735ed0c4 Attempt to fix emips build 2022-01-08 08:40:19 +00:00
nia 2e2abd82c6 Add man pages for eqos(4), mcommphy(4)
lgtm jmcneill@
2022-01-06 21:55:23 +00:00
christos 2e4c5e6fad put back the nfs ramdisk kernel for emips. 2022-01-04 14:32:21 +00:00
christos dc8e937cab the nfs kernel is only for pmax 2022-01-03 16:44:49 +00:00
christos a7e278e4d4 move the kernels for earmv5{,eb} in the ad.arm file so that they don't
override it
2022-01-03 16:43:32 +00:00
martin 348bea3af9 There is no point in putting a second sysinst binary into the install
image's root filesystem.
2022-01-03 12:10:17 +00:00
christos 42d5a646b9 fix pmax 2022-01-02 23:10:37 +00:00
christos f43fe87265 fix part of mips 2022-01-02 16:38:36 +00:00
christos a75ac3aaa9 forgot one @CONFIG@ 2021-12-31 17:51:14 +00:00
christos d08ab2c58e Grow to fit debug kernels 2021-12-31 16:43:04 +00:00
christos 5cac1204b1 Grow a little 2021-12-31 16:40:59 +00:00
christos d83e6a7379 Add kernel debug files. 2021-12-31 16:15:58 +00:00
christos 974c7c1676 change CONFIG to @CONFIG@ to indicate substitution is going to happen. 2021-12-31 16:14:44 +00:00
pgoyette 103e3da3fd Still not big enough - bump some more. 2021-12-31 04:59:15 +00:00