Commit Graph

305725 Commits

Author SHA1 Message Date
kre d2a7bfe14b Revert previous until Christos has a chance to work out why it breaks
the builds.
2024-04-14 08:29:54 +00:00
skrll 08e3108a2e Trailing whitespace. 2024-04-14 07:56:13 +00:00
maya 1de18f2164 amd64 live image: support EFI as well as BIOS boot
The biggest caveat is that there's a small number of machines that try to
EFI boot but fail, so would prefer a BIOS only image. I'm not adding a
separate BIOS only image because the live image is pretty niche.
(For regular installation images, we do create a separate BIOS-only version)
2024-04-13 18:38:17 +00:00
christos f68fe2325c Don't build/install the compat plugin. 2024-04-13 17:22:33 +00:00
rillig 4ce516c154 tests/fmtcheck: show that fmtcheck does not support "%2$s" 2024-04-13 14:02:51 +00:00
skrll 479be87edc port-arm/58135: reproducible pmap KASSERT failure for armv7 with NFS root
Don't unconditionally set XN in pmap_clearbit - only set it if a mapping
exists VM_PROT_EXEC is being cleared.

I've simplified the #ifdefs in the patch from the PR.
2024-04-13 12:28:01 +00:00
skrll e28131a8c8 Restore a space I accidentally removed from a copyright with
$NetBSD: pmap.c,v 1.396 2020/03/13 16:14:18 skrll Exp $
2024-04-13 10:36:01 +00:00
andvar 75ed7a9075 viac7temp(4): define module metadata using MODULE() macro and implement
viac7temp_modcmd() to handle module load/unload events.

Fixes PR kern/58148. Look OK by mrg@.

XXX pullup-10, -9, -8
2024-04-13 09:12:09 +00:00
nakayama 1927f9fe53 "./usr/libdata/debug/usr/lib/@ARCH_SUBDIR@/security" directory is
created by mtree regardless of MKDEBUG option, so move the entry from
debug32 to base32.
2024-04-13 08:50:18 +00:00
christos 28614955c7 PR/58136: Paul Ripke: Fix use after free. 2024-04-13 02:01:38 +00:00
kre 30112b560c Edgar Fuß pointed out that sh(1) did not mention comments (at all).
This has been true forever, and no-one else (including me) ever seems
to have noticed this ommission.

Correct that.

While in the area, improve the general sections on the Lexical structure
of the shell's input, and including some refinements to how quoting is
described.
2024-04-12 19:09:50 +00:00
jakllsch 308afeb1b5 remove now-unused assignment 2024-04-12 19:06:45 +00:00
jakllsch 151a4210f9 include opt_ntp.h for PPS_SYNC 2024-04-12 16:54:37 +00:00
jakllsch 3963e60893 Filter out -Wp,-iremap,* from CPPFLAGS as is done in hostprog.mk
Seems to fix build of libnbcompat in reproducible mode on host toolchains w/o -iremap
2024-04-12 16:28:43 +00:00
hannken 6053b8da68 Files libgcc_eh_g.a and libgcc_s_g.a are debuglib, not debug. 2024-04-12 14:22:51 +00:00
wiz a13182364e mark *32 libc++ with libcxx 2024-04-12 11:40:09 +00:00
gson 7809b23883 Require at least 64 MB RAM to run the getrusage_maxrss test case as it
allocates 40 MB and we should leave some for the system, too.
2024-04-12 07:16:50 +00:00
rillig f5fb6d1056 lint: clean up and speed up the check for snprintb 2024-04-12 05:44:38 +00:00
rillig dae6022bba lint: in snprintb, warn about all escaped characters in descriptions 2024-04-12 05:17:48 +00:00
pgoyette c1fde47216 Repair handling of ccd sysctls to not use newp as an index.
This is a work-around for kern/58051.  It is not a complete fix.
2024-04-12 05:04:02 +00:00
christos d63dcf4bc7 fix previous. Doing assignmnents of conditionals does not work for being
used as conditionals (thanks rillig@)
2024-04-11 19:12:11 +00:00
christos 3bab0f2422 avoid lint warning on the vax 2024-04-11 18:41:03 +00:00
wiz 0a8d830c32 add libc++ files to *32 sets 2024-04-11 15:29:16 +00:00
riastradh 7602e31d2a sys_futex.c: Fix illustration of futex(2).
In this illustration, we need to _set_ bit 1 to claim ownership, not
_clear_ bit 1 to claim ownership.

No functional change intended -- comment only.
2024-04-11 13:51:36 +00:00
jandberg 692d6a7b84 Mention the 16-color screenmode. 2024-04-11 13:06:29 +00:00
andvar b08e4eba21 mcx(4): enforce full-duplex mark in mcx_media_status(), when link is up.
LACP protocol requires full-duplex to be enabled for lagg(4) to work,
however mcx(4) was not setting this capability making it to fail.

Fixes PR kern/58124.  OK'd by msaitoh@
2024-04-11 10:42:42 +00:00
nia a749751a21 sync categories with main debug set - somehow missed in test build... 2024-04-11 08:19:30 +00:00
knakahara 5a9ce3a7bf Fix invalid IPv6 route when ipsecif(4) is deleted tunnel. Pointed out by ohishi@IIJ.
The pointed bug is fixed by modification in nd6_need_cache().
Others are similar bugs.

XXX pullup-9, 10
2024-04-11 07:34:37 +00:00
andvar 65b579494c fix typo in method name: part_attr_fornat_str -> part_attr_format_str. 2024-04-11 06:42:18 +00:00
nia 316aa9d969 UPDATING: note new sets 2024-04-11 06:20:29 +00:00
riastradh b73702cbe4 Nix /var/run/named entry from set lists.
Normally we don't do this, but /var/run/named is

(a) used by running daemons, so postinstall should not delete it, and
(b) deleted at boot-time anyway by /etc/rc.d/mountcritlocal, so
there's no sense in having it checked by mtree.

However, this means that update builds need manual intervention to
delete $DESTDIR/var/run/named or else checkflist will fail, so add a
note to UPDATING about this.

Do the same with /var/run/lwresd just in case.

PR misc/57877
2024-04-11 02:15:39 +00:00
riastradh 50118341b7 doc/3RDPARTY: Tidy up am-utils entry.
Add vendor branch and release branch pattern.
2024-04-11 02:08:17 +00:00
jschauma 00a3fda738 +FYSA for your situational awareness
+NIPR	non-classified IP router (network)
+RIPR	releasable IP router (network)
+SIPR	secret IP router (network)

(all US military speak)
2024-04-10 20:50:18 +00:00
andvar 14cbf669be s/Unfornately/Unfortunately/ in comment. 2024-04-10 20:00:12 +00:00
rillig c991d4dc63 ed: fix inconsistency in comment 2024-04-10 17:52:41 +00:00
nia e7890c79c1 Add missing directory from the new set of PAM files that get installed 2024-04-10 16:14:26 +00:00
nia 4036855604 Changes since the end of March 2024-04-10 14:24:31 +00:00
christos 72e5ca92c9 Now that the bug in bsd.lib.mk, MAKELINKLIB is not needed anymore (as it
should not be). Pointed out by kre@
2024-04-09 22:38:17 +00:00
christos f0be4a1c8e Merge two identical if's and fix a logic error in them ( && instead of ||) 2024-04-09 22:37:23 +00:00
kre a217a3cac7 Revert previous, we have no /etc/skel/.editrc (currently anyway).
This change looks to have been accidentally included in the big
sets reduction/division.

This should fix the builds.
2024-04-09 21:02:17 +00:00
wiz 2029ba4789 doc: openssl 3.3.0 out 2024-04-09 17:06:12 +00:00
nia 545236f400 Add new sets: base32, debug32, manhtml
- base32 contains (when MKCOMPAT=yes) shared libraries for 32-bit
  compatibility, previously included in base

- debug32 contains (when MKCOMPAT=yes) debug symbols and static libraries
  containing debug symbols for 32-bit compatiblity, previously included
  in debug

- manhtml contains (when MKHTML=yes) the HTML files previously included
  in 'man', which are of limited utility without third-party software.

The motivation for this change is to be able to easily exclude sets
from CD-ROM images that go over the size limit without xz compression
(which many NetBSD platforms struggle to extract at acceptable speeds).
2024-04-09 15:17:21 +00:00
yamaguchi f37b6fa5da lagg(4): allocate memory for struct lagg_req by calloc(3)
to fix build error on clang
2024-04-09 08:53:08 +00:00
rillig 4ed1e5f144 snprintb.3: provide examples for hexadecimal character escapes
Suggested by uwe@, in reaction to the previous commit, which preferred
octal in the examples. Hexadecimal escapes are more familiar to most
programmers, and the chance of mistaking \x14 for decimal 14 is less
than the chance of mistaking octal \014 for decimal 14.
2024-04-08 21:28:35 +00:00
andvar 275fdf371a Update the date of the documentation to reflect recent changes. 2024-04-08 20:28:34 +00:00
christos 7ca2862ebe kre says this should be obsolete 2024-04-08 12:38:59 +00:00
uwe 5858056bcd ifconfig(8): move laggportpri next to laggport 2024-04-08 12:32:57 +00:00
christos 28f1742a3b put back /var/run/named 2024-04-08 12:32:15 +00:00
nakayama b1e388c0fa Remove unnecessary characters left over from the previous commit. 2024-04-08 10:26:17 +00:00
kre a471ace5cc Correct a very minor typo (s/id/is/) 2024-04-08 09:25:25 +00:00