A clone of NetBSD's src in Fossil format

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2024-04-09
08:53
lagg(4): allocate memory for struct lagg_req by calloc(3) to fix build error on clang Leaf check-in: d2054432ae user: yamaguchi@NetBSD.org tags: trunk
2024-04-08
21:28
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. check-in: 3a0d17ef81 user: rillig@NetBSD.org tags: trunk
20:28
Update the date of the documentation to reflect recent changes. check-in: 96e5f3d1d6 user: andvar@NetBSD.org tags: trunk
12:38
kre says this should be obsolete check-in: c94b93364a user: christos@NetBSD.org tags: trunk
12:32
ifconfig(8): move laggportpri next to laggport check-in: fc7b5778a8 user: uwe@NetBSD.org tags: trunk
12:32
put back /var/run/named check-in: 9c8e5bde7a user: christos@NetBSD.org tags: trunk
10:26
Remove unnecessary characters left over from the previous commit. check-in: 8dcf1eebc0 user: nakayama@NetBSD.org tags: trunk
09:25
Correct a very minor typo (s/id/is/) check-in: ff47267db8 user: kre@NetBSD.org tags: trunk
04:29
Added documents about parameters related to lagg(4) PR misc/58125 check-in: 423a1709e0 user: yamaguchi@NetBSD.org tags: trunk
00:50
lagg(4): fix missing initialization of the number of array pointed out by martin@, thanks. check-in: c7e72ef797 user: yamaguchi@NetBSD.org tags: trunk
2024-04-07
22:59
riscv: Schedule next hardclock tick in the future, not the past. If we have missed hardclock ticks, schedule up to one tick interval in the future anyway; don't try to play hardclock catchup by scheduling for when the next hardclock tick _should_ have been, in the past, leading to ticking as fast as possible until we've caught up. as fast as possible until we've caught up. Playing hardclock catchup triggers heartbeat panics when continuing from ddb, if you've been in ddb for >15sec. Other hardclock drivers like x86 lapic don't play hardclock catchup either. PR kern/57920 check-in: 0c43594362 user: riastradh@NetBSD.org tags: trunk
22:52
riscv: Make sure cpu0->ci_cpu_freq is initialized by cpu_attach. Otherwise this stays zero, which screws up cpu_ipi_wait. check-in: 8ea9709f37 user: riastradh@NetBSD.org tags: trunk
21:33
Revert last, unbreak build. Unless the bind Makefiles start installing a /var/run/named file (which in general would be wrong, as most sites run named in a chroot these days) the file is obsolete, and should not, and does not, get generated by the build, nor should it be included in any sets. Ideally we'd have an "optional" flag for the sets files, to allow them to mention files that might exist, and don't matter (and are not included in the sets), but that's a bigger change than is needed just to fix the builds. check-in: 369a163e10 user: kre@NetBSD.org tags: trunk
19:51
Remove extra whitespace after P-4032. check-in: 178a1f64ee user: andvar@NetBSD.org tags: trunk
19:39
Initial version of evbmips kernel configuration files documentation. The goal is to give a better understanding which hardware they represent and how to build them. Also not to lose this information over the years. Loosely based on a README.evbarm, however has additional notes on building targets. The file is not final, some discussion came up about the need of *32 kernel configs. simon is planning to review. check-in: ca9bee3771 user: andvar@NetBSD.org tags: trunk
17:08
sparc: fix typos and omissions in PSTATE_BITS and ECC_AFR_BITS Fixes PR 57869. check-in: 8af45de87f user: rillig@NetBSD.org tags: trunk
15:20
snprintb: reject empty bit descriptions and wrongly placed defaults check-in: 042662bc7d user: rillig@NetBSD.org tags: trunk
15:02
/var/run/named is not obsolete check-in: 7d808385c2 user: christos@NetBSD.org tags: trunk
14:40
Switch vax to HAVE_XORG_SERVER_VER=120. Tested on my VAXstation 3100/m30 with smg(4). Ok'ed by mrg@ on tech-x11@: https://mail-index.netbsd.org/tech-x11/2024/04/thread1.html#002457 check-in: c20cdafbeb user: tsutsui@NetBSD.org tags: trunk
14:36
Use default X11FLAGS to build Xorg servers on vax. It looks necessary on HAVE_XORG_SERVER_VER=120. check-in: 2cae9517c4 user: tsutsui@NetBSD.org tags: trunk
14:28
snprintb.3: clean up formatting and wording, prefer octal in examples Using hexadecimal character escapes requires separate string literals if the description starts with one of the letters A-F; octal character escapes have at most 3 digits, reducing ambiguity. check-in: d4e0e08cad user: rillig@NetBSD.org tags: trunk
12:30
make qsort sorting deterministic check-in: 3f406cd5df user: christos@NetBSD.org tags: trunk
12:05
snprintb: reject combinations of 'f' with ':' as well as 'F' with '=' These combinations would lead to garbled output. check-in: 1fb394ac99 user: rillig@NetBSD.org tags: trunk
10:10
snprintb: reject empty descriptions In cases where the snprintb output is garbled, it is not trustworthy, so make sure the mistakes in the bitfmt are fixed early. check-in: ddb040c8ca user: rillig@NetBSD.org tags: trunk
2024-04-06
14:20
Redo the mktemp(1) part - some mktemp's (including ours) require the XXXX's to be at the end of the name (like mk*temp(3)) so however well it will work with mktemp implementations which allow the X's to be anywhere in the final component of the name, it will work just as well on them with the X's at the end. But we don't normally need all of that mess - knowing which temp file is which is useful only when debugging the script, and that's (mostly) long done. So, in normal uses now just use $(mktemp) and allow mktemp to pick its own name - we don't need to know what it is. Every mktemp(1) supports that mode of operation. Bug when debugging the script (which for current purposes will be taken to be when the -x flag is passed to the shell running it, to trace what it does) then we will make the temp files have names we can recognise (and in that case, also don't delete them when done). While here, check for mktemp(1) failing, and abort if that happens (we assume that if it fails it will write an error message to stderr, so the script does not need to.) As for the purpose of the script ... of course the header file generated (or an equivalent elsewhere) could be generated and maintained by hand, but why would anyone want to do all that work when software can do it for us, and do it correctly without human thought? This also allows the options in the master list (option.list) to be arranged in a way that is meaningful for them, unrelated to the order the shell needs to have them in (or rearrange them to be at run time) and have that order shuffled however is convenient. Currently all the posix standard options are first, then the "hybrid" options, and finally the local ones for this shell. Currently "pipefail" is in the final set, but once the next posix version is published, that will become a standard option, and get moved in the list - the shell won't even notice as this script puts the options into shell desired order. check-in: c9548a45a8 user: kre@NetBSD.org tags: trunk
13:42
Attach qemufwcfg check-in: 12f1f2854b user: skrll@NetBSD.org tags: trunk
13:42
Add RISC-V support check-in: f997409601 user: skrll@NetBSD.org tags: trunk
13:41
Fix riscv32 build check-in: 0732a284c0 user: skrll@NetBSD.org tags: trunk
13:36
update em-toggle-overwrite binding (Xose Vazquez Perez) check-in: 3538cf2d9d user: christos@NetBSD.org tags: trunk
13:35
regen. check-in: 43e63905de user: andvar@NetBSD.org tags: trunk
13:35
Add KX-6000 (ZX-E) HDA codecs. check-in: 6045a970e8 user: andvar@NetBSD.org tags: trunk
10:08
Provide and use _ucas_{32,64} implementations check-in: 3486bca499 user: skrll@NetBSD.org tags: trunk
09:51
Use "%zu" for type "size_t". Kernel ALL/i386 compiles again. check-in: 4d71eb9193 user: hannken@NetBSD.org tags: trunk
09:11
regen. check-in: b2a192f7b6 user: andvar@NetBSD.org tags: trunk
09:10
Add Zhaoxin devices, mainly from my TVS-675 NAS device, and some additional to fill the gaps from pci-ids database. check-in: ea52e28ee4 user: andvar@NetBSD.org tags: trunk
2024-04-05
23:06
spacify the paper size for PostScript check-in: db5aac8b71 user: christos@NetBSD.org tags: trunk
23:05
specify the page size for PostScript check-in: 0bfde15389 user: christos@NetBSD.org tags: trunk
23:05
specify the paper size for PostScript check-in: c18b968cbb user: christos@NetBSD.org tags: trunk
22:30
From Jan-Benedict Glaw: Use `printf` instead of `echo` for precise output `man` pages generated under NetBSD and Linux differ as the escape codes may or may not be interpreted when going through those two chained `echo`es. Instead just use `printf`, which produces the desired output, always. check-in: 8b83e3969c user: christos@NetBSD.org tags: trunk
22:27
Use ${TOOL_DATE} (Jan-Benedict Glaw) check-in: 4e323ef8e9 user: christos@NetBSD.org tags: trunk
22:22
From Jan-Benedict Glaw: Fix a redirection and prepare a stable sort for upper-/lowercase option letters This script is a mess, I strongly believe that it should be rewritten. However, I'm not 100% sure why it was invented in the first place (come on, the generated header file isn't _that_ complicated that it couldn't be sanely managed by hand!), but let's fix the sorting order by using LC_ALL=C. Also add a few 'X' to the `mktemp` template to make non-BSD implementations happy. As a bonus, actually *use* the initial `sed` output instead of throwing it away by piping it into `sort` with also connecting `sort`'s stdin with the original input file... check-in: baae15378c user: christos@NetBSD.org tags: trunk
22:21
flex.1: fix single-bit error in contributor name check-in: ce5da33e0b user: rillig@NetBSD.org tags: trunk
18:57
usb *hci: Always set ux_status before usbd_xfer_schedule_timeout. Add an assert to usbd_xfer_schedule_timeout to enforce this. Since access to ux_status is serialized by the bus lock, and nothing releases the bus lock in the interim, this doesn't make a functional change. But it does reduce confusion by readers, who no longer have to worry if some callers got the order wrong. It could also now potentially be factored out in a subsequent commit. check-in: ceafafa14b user: riastradh@NetBSD.org tags: trunk
16:56
break strength ties so that qsort is deterministic check-in: edaf8bc096 user: christos@NetBSD.org tags: trunk
16:44
remove dup named dir check-in: 23e1f10f76 user: christos@NetBSD.org tags: trunk
13:05
uvm: Expand v_size <= v_writesize assertions to help diagnostics. PR kern/58117 check-in: 2eea860f3d user: riastradh@NetBSD.org tags: trunk
12:03
Revert last, the .pic file is used elsewhere. check-in: cbe86dd8f4 user: kre@NetBSD.org tags: trunk
11:20
Apply FreeBSD svn r373278 fix for ZFS corruption. Fix for NetBSD PR kern/58111 . It would be extremely unlikely to trip this bug on NetBSD, as we don't expose SEEK_DATA and SEEK_HOLE and you need to call ioctl(2) with FIOSEEKDATA and FIOSEEKHOLE directly which no currently known code does, and even then be unlucky enough to trip a race condition. With a reproducer based on that in https://www.illumos.org/issues/16087, I saw 11 groups of failures over 8 hours. With this patch, no failures in 10 hours. The repro for NetBSD will be attached to https://gnats.netbsd.org/58111 . Original FreeBSD commit message: -------------------------------- dnode_is_dirty: check dnode and its data for dirtiness Over its history this the dirty dnode test has been changed between checking for a dnodes being on `os_dirty_dnodes` (`dn_dirty_link`) and `dn_dirty_record`. It turns out both are actually required. In the case of appending data to a newly created file, the dnode proper is dirtied (at least to change the blocksize) and dirty records are added. Thus, a single logical operation is represented by separate dirty indicators, and must not be separated. The incorrect dirty check becomes a problem when the first block of a file is being appended to while another process is calling lseek to skip holes. There is a small window where the dnode part is undirtied while there are still dirty records. In this case, `lseek(fd, 0, SEEK_DATA)` would not know that the file is dirty, and would go to `dnode_next_offset()`. Since the object has no data blocks yet, it returns `ESRCH`, indicating no data found, which results in `ENXIO` being returned to `lseek()`'s caller. This change simply updates the dirty check to check both types of dirty. If there's anything dirty at all, we immediately go to the "wait for sync" stage, It doesn't really matter after that; both changes are on disk, so the dirty fields should be correct. Sponsored by: Klara, Inc. Sponsored by: Wasabi Technology, Inc. check-in: 8df6548248 user: simonb@NetBSD.org tags: trunk
11:04
Just build the staticlib. check-in: 40ebe0cc74 user: christos@NetBSD.org tags: trunk
11:04
Fold long line check-in: 6ccb1fa86c user: christos@NetBSD.org tags: trunk