CVS commit: src/usr.sbin/mountd
Module Name:src Committed By: snj Date: Fri Mar 29 00:23:06 UTC 2024 Modified Files: src/usr.sbin/mountd: exports.5 Log Message: pick some nits To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/usr.sbin/mountd/exports.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/usr.sbin/mountd/exports.5 diff -u src/usr.sbin/mountd/exports.5:1.36 src/usr.sbin/mountd/exports.5:1.37 --- src/usr.sbin/mountd/exports.5:1.36 Wed Mar 27 13:11:14 2024 +++ src/usr.sbin/mountd/exports.5 Fri Mar 29 00:23:05 2024 @@ -1,4 +1,4 @@ -.\" $NetBSD: exports.5,v 1.36 2024/03/27 13:11:14 uwe Exp $ +.\" $NetBSD: exports.5,v 1.37 2024/03/29 00:23:05 snj Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -70,7 +70,7 @@ or Warning: Exporting a directory exposes the .Em entire -content of the filesystem that the directory lives in to +contents of the filesystem that the directory lives in to .Tn NFS clients. .Ef @@ -312,7 +312,7 @@ A, B or C; see .Xr inet 4 .Pc . .Pp -Scoped IPv6 address must carry scope identifier as documented in +Scoped IPv6 address must carry a scope identifier as documented in .Xr inet6 4 . For example, .Ql fe80::%ne2/10 @@ -338,11 +338,11 @@ The default remote mount-point file. .Pp If you have modified the .Pa /etc/exports -file, send the mountd a +file, send the mountd process a .Dv SIGHUP to make it re-read it: .Pp -.Dl "kill -HUP $(cat /var/run/mountd.pid)" . +.Dl "kill -HUP $(cat /var/run/mountd.pid)" .Sh EXAMPLES .Bd -literal -offset indent /usr /usr/local -maproot=0:10 friends
CVS commit: src/usr.sbin/mountd
Module Name:src Committed By: snj Date: Fri Mar 29 00:23:06 UTC 2024 Modified Files: src/usr.sbin/mountd: exports.5 Log Message: pick some nits To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/usr.sbin/mountd/exports.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: rillig Date: Thu Mar 28 21:04:49 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: lang_level_c99.c src/usr.bin/xlint/lint1: README.md err.c externs1.h Log Message: lint: clean up To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/lang_level_c99.c cvs rdiff -u -r1.16 -r1.17 src/usr.bin/xlint/lint1/README.md cvs rdiff -u -r1.234 -r1.235 src/usr.bin/xlint/lint1/err.c cvs rdiff -u -r1.219 -r1.220 src/usr.bin/xlint/lint1/externs1.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: rillig Date: Thu Mar 28 21:04:49 UTC 2024 Modified Files: src/tests/usr.bin/xlint/lint1: lang_level_c99.c src/usr.bin/xlint/lint1: README.md err.c externs1.h Log Message: lint: clean up To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/xlint/lint1/lang_level_c99.c cvs rdiff -u -r1.16 -r1.17 src/usr.bin/xlint/lint1/README.md cvs rdiff -u -r1.234 -r1.235 src/usr.bin/xlint/lint1/err.c cvs rdiff -u -r1.219 -r1.220 src/usr.bin/xlint/lint1/externs1.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/usr.bin/xlint/lint1/lang_level_c99.c diff -u src/tests/usr.bin/xlint/lint1/lang_level_c99.c:1.2 src/tests/usr.bin/xlint/lint1/lang_level_c99.c:1.3 --- src/tests/usr.bin/xlint/lint1/lang_level_c99.c:1.2 Sun Aug 6 19:44:50 2023 +++ src/tests/usr.bin/xlint/lint1/lang_level_c99.c Thu Mar 28 21:04:48 2024 @@ -1,16 +1,21 @@ -/* $NetBSD: lang_level_c99.c,v 1.2 2023/08/06 19:44:50 rillig Exp $ */ +/* $NetBSD: lang_level_c99.c,v 1.3 2024/03/28 21:04:48 rillig Exp $ */ # 3 "lang_level_c99.c" /* - * Tests that are specific to the C99 language level, in particular, features - * that were added in C99. + * Tests that are specific to the C99 language level, in particular: * - * In the below comments, [-] means unsupported and [x] means supported. + * * syntax elements that were added in C99 + * * lint diagnostics that differ between the C90 and C99 language levels + * * lint diagnostics that differ between the C99 and C11 language levels */ /* lint1-flags: -S -w -X 351 */ -/* C99 Foreword */ +/* + * Features that were added in the C99 standard, as listed in the C99 foreword. + * + * In the below comments, [-] means unsupported and [x] means supported. + */ // [-] restricted character set support via digraphs and // Index: src/usr.bin/xlint/lint1/README.md diff -u src/usr.bin/xlint/lint1/README.md:1.16 src/usr.bin/xlint/lint1/README.md:1.17 --- src/usr.bin/xlint/lint1/README.md:1.16 Sat Mar 9 13:54:47 2024 +++ src/usr.bin/xlint/lint1/README.md Thu Mar 28 21:04:48 2024 @@ -1,4 +1,4 @@ -[//]: # ($NetBSD: README.md,v 1.16 2024/03/09 13:54:47 rillig Exp $) +[//]: # ($NetBSD: README.md,v 1.17 2024/03/28 21:04:48 rillig Exp $) # Introduction @@ -7,9 +7,9 @@ Lint1 analyzes a single translation unit * It reads the output of the C preprocessor, retaining the comments. * The lexer in `scan.l` and `lex.c` splits the input into tokens. * The parser in `cgram.y` creates types and expressions from the tokens. -* It checks declarations in `decl.c`. -* It checks initializations in `init.c`. -* It checks types and expressions in `tree.c`. +* The checks for declarations are in `decl.c`. +* The checks for initializations are in `init.c`. +* The checks for types and expressions are in `tree.c`. To see how a specific lint message is triggered, read the corresponding unit test in `tests/usr.bin/xlint/lint1/msg_???.c`. @@ -48,10 +48,11 @@ or just informational depends on several * The language level, with its possible values: * traditional C (`-t`) -* migration from traditional C and C90 (default) +* migration from traditional C to C90 (default) * C90 (`-s`) * C99 (`-S`) * C11 (`-Ac11`) +* C23 (`-Ac23`) * In GCC mode (`-g`), lint allows several GNU extensions, reducing the amount of printed messages. * In strict bool mode (`-T`), lint issues errors when `bool` is mixed with Index: src/usr.bin/xlint/lint1/err.c diff -u src/usr.bin/xlint/lint1/err.c:1.234 src/usr.bin/xlint/lint1/err.c:1.235 --- src/usr.bin/xlint/lint1/err.c:1.234 Wed Mar 27 19:28:20 2024 +++ src/usr.bin/xlint/lint1/err.c Thu Mar 28 21:04:48 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: err.c,v 1.234 2024/03/27 19:28:20 rillig Exp $ */ +/* $NetBSD: err.c,v 1.235 2024/03/28 21:04:48 rillig Exp $ */ /* * Copyright (c) 1994, 1995 Jochen Pohl @@ -37,7 +37,7 @@ #include #if defined(__RCSID) -__RCSID("$NetBSD: err.c,v 1.234 2024/03/27 19:28:20 rillig Exp $"); +__RCSID("$NetBSD: err.c,v 1.235 2024/03/28 21:04:48 rillig Exp $"); #endif #include @@ -739,7 +739,7 @@ static const char *queries[] = { "implicit conversion from integer 0 to pointer '%s'", // Q15 "'%s' was declared 'static', now non-'static'", // Q16 "invisible character U+%04X in %s",// Q17 - "const automatic variable '%s'", // Q18 + "const automatic variable '%s'",// Q18 }; bool any_query_enabled; /* for optimizing non-query scenarios */ Index: src/usr.bin/xlint/lint1/externs1.h diff -u src/usr.bin/xlint/lint1/externs1.h:1.219 src/usr.bin/xlint/lint1/externs1.h:1.220 --- src/usr.bin/xlint/lint1/externs1.h:1.219 Sat Mar 9 10:41:11 2024 +++ src/usr.bin/xlint/lint1/externs1.h Thu Mar 28 21:04:48 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: externs1.h,v 1.219 2024/03/09 10:41:11 rillig Exp $ */ +/* $NetBSD: externs1.h,v 1.220 2024/03/28 21:04:48 rillig Exp $
CVS commit: src/sys/stand/efiboot
Module Name:src Committed By: riastradh Date: Thu Mar 28 18:24:57 UTC 2024 Modified Files: src/sys/stand/efiboot: efiboot.c Log Message: efiboot: Duplicate efi_bootdp before we clobber it in efi_net_probe. Patch from jakllsch@. Makes Socionext Synquacer boot considerably more reliably. PR kern/58075 To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/stand/efiboot/efiboot.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/stand/efiboot/efiboot.c diff -u src/sys/stand/efiboot/efiboot.c:1.22 src/sys/stand/efiboot/efiboot.c:1.23 --- src/sys/stand/efiboot/efiboot.c:1.22 Wed Oct 6 10:13:19 2021 +++ src/sys/stand/efiboot/efiboot.c Thu Mar 28 18:24:57 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: efiboot.c,v 1.22 2021/10/06 10:13:19 jmcneill Exp $ */ +/* $NetBSD: efiboot.c,v 1.23 2024/03/28 18:24:57 riastradh Exp $ */ /*- * Copyright (c) 2018 Jared McNeill @@ -86,6 +86,8 @@ efi_main(EFI_HANDLE imageHandle, EFI_SYS status = uefi_call_wrapper(BS->HandleProtocol, 3, efi_li->DeviceHandle, , (void **)_bootdp); if (EFI_ERROR(status)) efi_bootdp = NULL; + else + efi_bootdp = DuplicateDevicePath(efi_bootdp); #ifdef EFIBOOT_DEBUG Print(L"Loaded image : 0x%" PRIxEFIPTR "\n", efi_li);
CVS commit: src/sys/stand/efiboot
Module Name:src Committed By: riastradh Date: Thu Mar 28 18:24:57 UTC 2024 Modified Files: src/sys/stand/efiboot: efiboot.c Log Message: efiboot: Duplicate efi_bootdp before we clobber it in efi_net_probe. Patch from jakllsch@. Makes Socionext Synquacer boot considerably more reliably. PR kern/58075 To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/stand/efiboot/efiboot.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: nia Date: Thu Mar 28 16:17:50 UTC 2024 Modified Files: src/doc: CHANGES Log Message: Fix a few typos To generate a diff of this commit: cvs rdiff -u -r1.3047 -r1.3048 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES diff -u src/doc/CHANGES:1.3047 src/doc/CHANGES:1.3048 --- src/doc/CHANGES:1.3047 Thu Mar 28 07:59:20 2024 +++ src/doc/CHANGES Thu Mar 28 16:17:50 2024 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.3047 $> +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.3048 $> # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -294,12 +294,12 @@ Changes from NetBSD 10.0 to NetBSD 11.0: test suite. [mrg 20240304] alpha: Add a bus space implementation for the Gbus, the general 8-bit bus present on Laser / TurboLaser CPU modules. - [thorepj 2024036] + [thorpej 20240306] lint(1): Detect more types of integer overflow. [rillig 20240310] lint(1): Add extra details to the message about integer overflow. [rillig 20240310] mac68k: Add ascaudio(4) ASC audio driver. [nat 20240313] - x86: Inlcude the cgdroot.fs and zfsroot.fs ramdisks in the release + x86: Include the cgdroot.fs and zfsroot.fs ramdisks in the release files. [riastradh 20240320] apei(4): New driver for ACPI Platform Error Interfaces. [riastradh 20240320]
CVS commit: src/doc
Module Name:src Committed By: nia Date: Thu Mar 28 16:17:50 UTC 2024 Modified Files: src/doc: CHANGES Log Message: Fix a few typos To generate a diff of this commit: cvs rdiff -u -r1.3047 -r1.3048 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/fsirand
Module Name:src Committed By: riastradh Date: Thu Mar 28 15:39:42 UTC 2024 Modified Files: src/sbin/fsirand: fsirand.8 Log Message: fsirand(8): Fix security claims. PR misc/58063 To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sbin/fsirand/fsirand.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/fsirand
Module Name:src Committed By: riastradh Date: Thu Mar 28 15:39:42 UTC 2024 Modified Files: src/sbin/fsirand: fsirand.8 Log Message: fsirand(8): Fix security claims. PR misc/58063 To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sbin/fsirand/fsirand.8 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sbin/fsirand/fsirand.8 diff -u src/sbin/fsirand/fsirand.8:1.10 src/sbin/fsirand/fsirand.8:1.11 --- src/sbin/fsirand/fsirand.8:1.10 Sun Sep 11 21:22:18 2016 +++ src/sbin/fsirand/fsirand.8 Thu Mar 28 15:39:42 2024 @@ -1,4 +1,4 @@ -.\" $NetBSD: fsirand.8,v 1.10 2016/09/11 21:22:18 sevan Exp $ +.\" $NetBSD: fsirand.8,v 1.11 2024/03/28 15:39:42 riastradh Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -43,8 +43,17 @@ .Nm writes random inode generation numbers for all the inodes on device .Ar special . -These random numbers make the NFS filehandles less predictable, increasing -security of exported filesystems. +These random numbers make the NFS filehandles less predictable, which +was once thought to increase security of exported file systems. +.Pp +.Nm +is no longer relevant because +.Xr newfs 8 +has randomized inode generation numbers on all new file systems since +.Nx 2.0 , +and in any case, exporting a file system to NFS clients allows them to +traverse the entire file system, so making filehandles less predictable +does not prevent clients from finding them anyway. .Pp .Nm should be run on a clean and unmounted filesystem.
CVS commit: src/sys/dev/acpi
Module Name:src Committed By: riastradh Date: Thu Mar 28 13:40:08 UTC 2024 Modified Files: src/sys/dev/acpi: apei_einj.c Log Message: apei(4): Fix uninitialized stack access in error branch. PR kern/58046 To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/apei_einj.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/acpi
Module Name:src Committed By: riastradh Date: Thu Mar 28 13:40:08 UTC 2024 Modified Files: src/sys/dev/acpi: apei_einj.c Log Message: apei(4): Fix uninitialized stack access in error branch. PR kern/58046 To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/apei_einj.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/acpi/apei_einj.c diff -u src/sys/dev/acpi/apei_einj.c:1.6 src/sys/dev/acpi/apei_einj.c:1.7 --- src/sys/dev/acpi/apei_einj.c:1.6 Tue Mar 26 22:01:03 2024 +++ src/sys/dev/acpi/apei_einj.c Thu Mar 28 13:40:08 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: apei_einj.c,v 1.6 2024/03/26 22:01:03 rillig Exp $ */ +/* $NetBSD: apei_einj.c,v 1.7 2024/03/28 13:40:08 riastradh Exp $ */ /*- * Copyright (c) 2024 The NetBSD Foundation, Inc. @@ -44,7 +44,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: apei_einj.c,v 1.6 2024/03/26 22:01:03 rillig Exp $"); +__KERNEL_RCSID(0, "$NetBSD: apei_einj.c,v 1.7 2024/03/28 13:40:08 riastradh Exp $"); #include @@ -516,6 +516,16 @@ apei_einj_trigger(struct apei_softc *sc, uint32_t i, nentries; /* + * Initialize the machine to execute the TRIGGER_ERROR action's + * instructions. Do this early to keep the error branches + * simpler. + */ + memset(M, 0, sizeof(*M)); + M->sc = sc; + M->x = x; /* input */ + M->y = 0; /* output */ + + /* * Get the TRIGGER_ERROR action table's physical address. */ teatab_pa = apei_einj_act(sc, ACPI_EINJ_GET_TRIGGER_TABLE, 0); @@ -588,15 +598,6 @@ apei_einj_trigger(struct apei_softc *sc, teatab = AcpiOsMapMemory(teatab_pa, mapsize); /* - * Initialize the machine to execute the TRIGGER_ERROR action's - * instructions. - */ - memset(M, 0, sizeof(*M)); - M->sc = sc; - M->x = x; /* input */ - M->y = 0; /* output */ - - /* * Now iterate over the EINJ-type entries and execute the * trigger error action instructions -- but skip if they're not * for the TRIGGER_ERROR action, and stop if they're truncated.
CVS commit: src/sys/arch/hppa/dev
Module Name:src Committed By: macallan Date: Thu Mar 28 12:50:31 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: For some reason the drawing engine occasionally scribbles past the right boundary when filling rectangles, especially annoying when we draw whitespaces As a workaround we draw all rectangles less than 50 pixels wide by drawing a 50 pixel rectangle into off-screen memory to the right of the visible fb and then copy the portion we want. Keeps track of the colour and size of the off-screen rectangle so we can avoid redrawing it whenever possible. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/hppa/dev/gftfb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/hppa/dev
Module Name:src Committed By: macallan Date: Thu Mar 28 12:50:31 UTC 2024 Modified Files: src/sys/arch/hppa/dev: gftfb.c Log Message: For some reason the drawing engine occasionally scribbles past the right boundary when filling rectangles, especially annoying when we draw whitespaces As a workaround we draw all rectangles less than 50 pixels wide by drawing a 50 pixel rectangle into off-screen memory to the right of the visible fb and then copy the portion we want. Keeps track of the colour and size of the off-screen rectangle so we can avoid redrawing it whenever possible. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/hppa/dev/gftfb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/arch/hppa/dev/gftfb.c diff -u src/sys/arch/hppa/dev/gftfb.c:1.11 src/sys/arch/hppa/dev/gftfb.c:1.12 --- src/sys/arch/hppa/dev/gftfb.c:1.11 Wed Mar 27 09:08:38 2024 +++ src/sys/arch/hppa/dev/gftfb.c Thu Mar 28 12:50:31 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: gftfb.c,v 1.11 2024/03/27 09:08:38 macallan Exp $ */ +/* $NetBSD: gftfb.c,v 1.12 2024/03/28 12:50:31 macallan Exp $ */ /* $OpenBSD: sti_pci.c,v 1.7 2009/02/06 22:51:04 miod Exp $ */ @@ -88,6 +88,7 @@ struct gftfb_softc { #define HW_FB 0 #define HW_FILL 1 #define HW_BLIT 2 + uint32_t sc_rect_colour, sc_rect_height; /* cursor stuff */ int sc_cursor_x, sc_cursor_y; int sc_hot_x, sc_hot_y, sc_enabled; @@ -250,7 +251,9 @@ gftfb_attach(device_t parent, device_t s sc->sc_width = sc->sc_scr.scr_cfg.scr_width; sc->sc_height = sc->sc_scr.scr_cfg.scr_height; - + sc->sc_rect_colour = 0xf000; + sc->sc_rect_height = 0; + aprint_normal_dev(sc->sc_dev, "%s at %dx%d\n", sc->sc_scr.name, sc->sc_width, sc->sc_height); gftfb_setup(sc); @@ -687,6 +690,9 @@ gftfb_setup(struct gftfb_softc *sc) sc->sc_enabled = 0; sc->sc_video_on = 1; + sc->sc_rect_colour = 0xf000; + sc->sc_rect_height = 0; + /* set Bt458 read mask register to all planes */ gftfb_wait(sc); ngle_bt458_write(memt, memh, 0x08, 0x04); @@ -1051,7 +1057,7 @@ gftfb_wait_fifo(struct gftfb_softc *sc, } static void -gftfb_rectfill(struct gftfb_softc *sc, int x, int y, int wi, int he, +gftfb_real_rectfill(struct gftfb_softc *sc, int x, int y, int wi, int he, uint32_t bg) { struct sti_rom *rom = sc->sc_base.sc_rom; @@ -1081,6 +1087,30 @@ gftfb_rectfill(struct gftfb_softc *sc, i } +static void +gftfb_rectfill(struct gftfb_softc *sc, int x, int y, int wi, int he, + uint32_t bg) +{ + /* + * For some reason my 4MB VisEG always draws rectangles at least 32 + * pixels wide - no idea why, the bitblt command doesn't have this + * problem. + * So, as a workaround, we draw a 50xFontHeight rectangle to the right + * of the visible fb, keep track of the colour so we don't need to + * redraw every time, and bitblt the portion we need + */ + if (wi < 50) { + if ((bg != sc->sc_rect_colour) || + (he > sc->sc_rect_height)) { + gftfb_real_rectfill(sc, sc->sc_width + 10, 0, 50, + he, bg); + sc->sc_rect_colour = bg; + sc->sc_rect_height = he; + } + gftfb_bitblt(sc, sc->sc_width + 10, 0, x, y, wi, he, RopSrc); + } else + gftfb_real_rectfill(sc, x, y, wi, he, bg); +} static void gftfb_bitblt(void *cookie, int xs, int ys, int xd, int yd, int wi, @@ -1161,9 +1191,8 @@ gftfb_putchar(void *cookie, int row, int struct vcons_screen *scr = ri->ri_hw; struct gftfb_softc *sc = scr->scr_cookie; int x, y, wi, he, rv = GC_NOPE; -#if 0 uint32_t bg; -#endif + if (sc->sc_mode != WSDISPLAYIO_MODE_EMUL) return; @@ -1179,20 +1208,14 @@ gftfb_putchar(void *cookie, int row, int x = ri->ri_xorigin + col * wi; y = ri->ri_yorigin + row * he; -#if 0 + bg = ri->ri_devcmap[(attr >> 16) & 0xf]; - /* XXX - * rectfill currently draws rectangles less than 32 pixels wide as - * 32 pixels wide, no idea why. So until I figure that one out we - * draw blanks by software - * bitblt doesn't seem to have this problem - */ if (c == 0x20) { gftfb_rectfill(sc, x, y, wi, he, bg); return; } -#endif + rv = glyphcache_try(>sc_gc, c, x, y, attr); if (rv == GC_OK) return;
CVS commit: [netbsd-10] src
Module Name:src Committed By: martin Date: Thu Mar 28 08:33:33 UTC 2024 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 src/external/gpl2/groff/tmac [netbsd-10]: mdoc.local src/sys/sys [netbsd-10]: param.h Log Message: Welcome to 10.0 To generate a diff of this commit: cvs rdiff -u -r1.1.2.215 -r1.1.2.216 src/doc/CHANGES-10.0 cvs rdiff -u -r1.7.6.7 -r1.7.6.8 src/external/gpl2/groff/tmac/mdoc.local cvs rdiff -u -r1.722.2.7 -r1.722.2.8 src/sys/sys/param.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES-10.0 diff -u src/doc/CHANGES-10.0:1.1.2.215 src/doc/CHANGES-10.0:1.1.2.216 --- src/doc/CHANGES-10.0:1.1.2.215 Tue Mar 26 18:10:21 2024 +++ src/doc/CHANGES-10.0 Thu Mar 28 08:33:32 2024 @@ -1,4 +1,4 @@ -# $NetBSD: CHANGES-10.0,v 1.1.2.215 2024/03/26 18:10:21 martin Exp $ +# $NetBSD: CHANGES-10.0,v 1.1.2.216 2024/03/28 08:33:32 martin Exp $ A complete list of changes from the initial NetBSD 10.0 branch on 2022-12-16 until the 10.0 release: @@ -21575,3 +21575,8 @@ sys/dev/audio/audio.c1.137 audio(4): fix byte swapped samples on big-endian machines. [mlelstv, ticket #650] +external/gpl2/groff/tmac/mdoc.local (manually edited) +sys/sys/param.h (manually edited) + + Welcome to 10.0 + Index: src/external/gpl2/groff/tmac/mdoc.local diff -u src/external/gpl2/groff/tmac/mdoc.local:1.7.6.7 src/external/gpl2/groff/tmac/mdoc.local:1.7.6.8 --- src/external/gpl2/groff/tmac/mdoc.local:1.7.6.7 Tue Mar 12 10:19:02 2024 +++ src/external/gpl2/groff/tmac/mdoc.local Thu Mar 28 08:33:33 2024 @@ -1,4 +1,4 @@ -.\" $NetBSD: mdoc.local,v 1.7.6.7 2024/03/12 10:19:02 martin Exp $ +.\" $NetBSD: mdoc.local,v 1.7.6.8 2024/03/28 08:33:33 martin Exp $ .\" .\" Copyright (c) 2003, 2004 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -46,7 +46,7 @@ .\" Default .Os value .ds doc-operating-system NetBSD\~10.0_BETA .\" Default footer operating system value -.ds doc-default-operating-system NetBSD\~10.0_RC6 +.ds doc-default-operating-system NetBSD\~10.0 .\" Other known versions, not yet in groff distribution .ds doc-operating-system-NetBSD-1.3.3 1.3.3 .ds doc-operating-system-NetBSD-1.6.3 1.6.3 Index: src/sys/sys/param.h diff -u src/sys/sys/param.h:1.722.2.7 src/sys/sys/param.h:1.722.2.8 --- src/sys/sys/param.h:1.722.2.7 Tue Mar 12 10:19:01 2024 +++ src/sys/sys/param.h Thu Mar 28 08:33:32 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: param.h,v 1.722.2.7 2024/03/12 10:19:01 martin Exp $ */ +/* $NetBSD: param.h,v 1.722.2.8 2024/03/28 08:33:32 martin Exp $ */ /*- * Copyright (c) 1982, 1986, 1989, 1993 @@ -67,7 +67,7 @@ * 2.99.9 (299000900) */ -#define __NetBSD_Version__ 10 /* NetBSD 10.0_RC6 */ +#define __NetBSD_Version__ 10 /* NetBSD 10.0 */ #define __NetBSD_Prereq__(M,m,p) (M) * 1) + \ (m) * 100) + (p) * 100) <= __NetBSD_Version__)
CVS commit: [netbsd-10] src
Module Name:src Committed By: martin Date: Thu Mar 28 08:33:33 UTC 2024 Modified Files: src/doc [netbsd-10]: CHANGES-10.0 src/external/gpl2/groff/tmac [netbsd-10]: mdoc.local src/sys/sys [netbsd-10]: param.h Log Message: Welcome to 10.0 To generate a diff of this commit: cvs rdiff -u -r1.1.2.215 -r1.1.2.216 src/doc/CHANGES-10.0 cvs rdiff -u -r1.7.6.7 -r1.7.6.8 src/external/gpl2/groff/tmac/mdoc.local cvs rdiff -u -r1.722.2.7 -r1.722.2.8 src/sys/sys/param.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: nia Date: Thu Mar 28 07:59:21 UTC 2024 Modified Files: src/doc: CHANGES Log Message: spell uftdi(4) properly. To generate a diff of this commit: cvs rdiff -u -r1.3046 -r1.3047 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES diff -u src/doc/CHANGES:1.3046 src/doc/CHANGES:1.3047 --- src/doc/CHANGES:1.3046 Thu Mar 28 07:57:31 2024 +++ src/doc/CHANGES Thu Mar 28 07:59:20 2024 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.3046 $> +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.3047 $> # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -309,7 +309,7 @@ Changes from NetBSD 10.0 to NetBSD 11.0: [riastradh 20240321] echi(4): If device attach fails, install NULL pmf(4) handlers. Allows suspend/resume on ThinkPad A475. [mrg 20240324] - utftdi(4): Add a "match quirk" mechanism that allows the driver to + uftdi(4): Add a "match quirk" mechanism that allows the driver to selectively reject individual interfaces, allowing them to be matched by ugen(4) and accessed through libusb. [thorpej 20240326]
CVS commit: src/doc
Module Name:src Committed By: nia Date: Thu Mar 28 07:59:21 UTC 2024 Modified Files: src/doc: CHANGES Log Message: spell uftdi(4) properly. To generate a diff of this commit: cvs rdiff -u -r1.3046 -r1.3047 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: nia Date: Thu Mar 28 07:57:31 UTC 2024 Modified Files: src/doc: CHANGES Log Message: Recent changes To generate a diff of this commit: cvs rdiff -u -r1.3045 -r1.3046 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/doc/CHANGES diff -u src/doc/CHANGES:1.3045 src/doc/CHANGES:1.3046 --- src/doc/CHANGES:1.3045 Fri Mar 15 17:47:02 2024 +++ src/doc/CHANGES Thu Mar 28 07:57:31 2024 @@ -1,4 +1,4 @@ -# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.3045 $> +# LIST OF CHANGES FROM LAST RELEASE: <$Revision: 1.3046 $> # # # [Note: This file does not mention every change made to the NetBSD source tree. @@ -292,4 +292,24 @@ Changes from NetBSD 10.0 to NetBSD 11.0: [riastradh 20240303] audioplay(1): Add -n flag that doesn't write audio data for the test suite. [mrg 20240304] + alpha: Add a bus space implementation for the Gbus, the general + 8-bit bus present on Laser / TurboLaser CPU modules. + [thorepj 2024036] + lint(1): Detect more types of integer overflow. [rillig 20240310] + lint(1): Add extra details to the message about integer overflow. + [rillig 20240310] mac68k: Add ascaudio(4) ASC audio driver. [nat 20240313] + x86: Inlcude the cgdroot.fs and zfsroot.fs ramdisks in the release + files. [riastradh 20240320] + apei(4): New driver for ACPI Platform Error Interfaces. + [riastradh 20240320] + vmt(4): Process all queued messages without delay immediately. + From OpenBSD. [msaitoh 20240320] + acpihed(4): New driver for PNP0C33 to notify apei(4). + [riastradh 20240321] + echi(4): If device attach fails, install NULL pmf(4) handlers. + Allows suspend/resume on ThinkPad A475. [mrg 20240324] + utftdi(4): Add a "match quirk" mechanism that allows the driver to + selectively reject individual interfaces, allowing them to + be matched by ugen(4) and accessed through libusb. + [thorpej 20240326]
CVS commit: src/doc
Module Name:src Committed By: nia Date: Thu Mar 28 07:57:31 UTC 2024 Modified Files: src/doc: CHANGES Log Message: Recent changes To generate a diff of this commit: cvs rdiff -u -r1.3045 -r1.3046 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.