Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-09-20 | remove unneeded semicolons; checked by millert@ | Jonathan Gray | |
2024-09-06 | spelling; ok mglocker@ | Jonathan Gray | |
2024-09-05 | sync with base | Theo Buehler | |
2024-09-04 | Fix some spelling. | Marcus Glocker | |
Input and ok jmc@, jsg@ | |||
2024-08-05 | sync with base | Theo Buehler | |
2024-08-01 | Remove a comment that was committed by accident | Theo Buehler | |
2024-08-01 | sync with src | Theo Buehler | |
2024-07-09 | sync with userland: let z_off_t fall back to long long instead of long | Theo Buehler | |
In the boot blocks, this would result in various 64-bit instruction being used, which might result in undesirable bloat in legacy boot loaders, so add a workaround for the _STANDALONE case to still fall back to long instead of long long. with/ok deraadt, ok millert | |||
2024-06-30 | we don't need the NOBYFOUR space-savings option anymore, that codepath | Theo de Raadt | |
was replaced a while ago. ok tb | |||
2024-06-30 | sync with base | Theo Buehler | |
2024-04-25 | Add boot.conf(8) 'mach idle [secs]' to halt at idle passphrase prompts | Klemens Nanni | |
Enable users to power down their machines if there was no input after N seconds during disk descryption. Motivation is to save battery and prevent pocket heaters when notebooks unhibernate (e.g. lid accidentially opened) and sit at "Passphrase: ". Only available on efi(4) systems as the timeout is saved as EFI variable; mostly because that's trivial to do, but also because we lack a better mechanism to configure that and persist such data without the root disk. Discussed with many, starting at h2k23 OK Tests gnezdo | |||
2024-04-10 | remove unused hton[ls] functions from libkern | Christian Weisgerber | |
These have been superseded by inlines from endian.h. ok miod@ mpi@ | |||
2024-03-27 | zlib: sync with base | Theo Buehler | |
2024-03-24 | use LIST_FOREACH_SAFE() to avoid use after free | Jonathan Gray | |
this can't happen in a libsa environment found by smatch, ok jsing@ | |||
2024-03-15 | zlib: sync with src | Theo Buehler | |
2024-02-13 | zlib: sync with base | Theo Buehler | |
2024-02-11 | sync with src | Theo Buehler | |
2024-02-10 | libz: sync with base | Theo Buehler | |
2024-02-07 | sync with base (comment-only change) | Theo Buehler | |
2024-01-28 | sync with userland | Theo Buehler | |
2024-01-23 | Sync with userland | Theo Buehler | |
2024-01-21 | sync with userland | Theo Buehler | |
2024-01-21 | sync with userland | Theo Buehler | |
2023-12-21 | add strnstr(9) string search within character limit | Jonathan Gray | |
From Mike Barcroft in FreeBSD. Added to FreeBSD in 2001, Linux in 2010. Used in amdgpu. ok deraadt@ | |||
2023-11-18 | sync zlib with userland | Theo Buehler | |
2023-08-20 | Sync zlib 1.3 with userland | Theo Buehler | |
2023-08-18 | sync with userland | Theo Buehler | |
2023-08-13 | sync with userland | Theo Buehler | |
2023-08-04 | Sync with userland libz | Theo Buehler | |
2023-07-30 | sync with userland's zlib.h | Theo Buehler | |
2023-07-13 | bcmp(3) tries to return length, which is a size_t, as an int. | Todd C. Miller | |
Instead, just return 1 if there is a difference, else 0. Fixed by ray@ in 2008 but the libkern version was not synced. OK deraadt@ | |||
2023-05-22 | NENTRY() doesn't provide an endbr64, so give memmove one in | Philip Guenther | |
case it ever gets called through a function pointer (with retpoline disabled) ok deraadt@ | |||
2023-05-02 | sync with userland | Theo Buehler | |
2023-04-25 | zlib: sync with src | Theo Buehler | |
2023-04-08 | Return -1 on actual failure | Klemens Nanni | |
MI boot.c's "a-x" fchmod on bsd.upgrade is the only caller that checks the return value and that call can fail on, e.g. softraid volumes. Stop clobbering the actual fchmod return value and get that warning printed. OK deraadt | |||
2023-03-08 | Delete obsolete /* ARGSUSED */ lint comments. | Philip Guenther | |
ok miod@ millert@ | |||
2023-01-04 | Gordon W. Ross agreed to rescind clause 3 and 4 in | Jonathan Gray | |
NetBSD dev_net.c rev 1.15 bootparam.c rev 1.19 https://mail-index.netbsd.org/source-changes/2009/10/21/msg002212.html | |||
2022-12-27 | Ansify pxe_netif_close() and {,pxe}socktodesc() | Jeremie Courreges-Anglas | |
To appease the clang 15 warning -Wdeprecated-non-prototype (turned on by -Wall). ok millert@ | |||
2022-12-27 | Fix array bounds mismatch with clang 15 | Jeremie Courreges-Anglas | |
New warning -Warray-parameter is a bit overzealous. ok millert@ | |||
2022-12-14 | add __ctzdi2 to sparc64 kernel | Jonathan Gray | |
If __builtin_ctzl() is used on sparc64, gcc 4.2 will emit a call to __ctzdi2. For userland this is in libgcc or compiler-rt. In the kernel we put these functions in libkern. 'looks good' deraadt@ miod@ | |||
2022-12-08 | _C_LABEL() and _ASM_LABEL() are no longer useful in the "everything | Philip Guenther | |
is ELF" world. Eliminate use of them in amd64, arm64, armv7, i386, macppc, mips64, and sparc64 code. ok deraadt@ jca@ krw@ | |||
2022-12-07 | Add END()s to match ENTRY()s. | Philip Guenther | |
ok deraadt@ | |||
2022-12-07 | Prefer numeric labels over L<digit> labels, as the latter clutter | Philip Guenther | |
the final kernel symbol table. Add END()s to match ENTRY()s. ok deraadt@ | |||
2022-12-07 | Prefer STRONG_ALIAS() over multiple overlapping _ENTRY/_NENTRY | Philip Guenther | |
uses, as the latter requires manual handling of _PROF_PROLOGUE. Add END()s to match ENTRY()s. ok deraadt@ | |||
2022-12-07 | Apply changes from commitid FWrfGfO9Ojnsh1mq to libkern. | Philip Guenther | |
From original commit message: To mitigate against spectre attacks, AMD processors without the IBRS feature need an lfence instruction after every near ret. See software techniques for managing speculation on AMD processors revision 9.17.20 mitigation G-5. ok deraadt@ | |||
2022-12-06 | _C_LABEL() and _ASM_LABEL() are no longer useful in the "everything | Philip Guenther | |
is ELF" world. Eliminate use of them in m88k code. ok aoyama@ | |||
2022-12-01 | _C_LABEL() is no longer useful in the "everything is ELF" world. | Philip Guenther | |
Start eliminating it. ok mpi@ mlarkin@ krw@ | |||
2022-10-23 | Drop RCS ids in upstream zlib source | Theo Buehler | |
We're not maintaining a this as a fork, it's upstream source with a handful of patches. Thus, the RCS ids aren't particularly useful or important. They are a bit of a maintenance burden and generate noise in diffs. ok kn, no objection millert, "kill" guess who | |||
2022-10-20 | Sync sys libz with base | Theo Buehler | |
2022-09-02 | Add ufs2 to the list of filesystem, for the sake of boot blocks which do not | Miod Vallat | |
provide an explicit list of files to build in libsa. |