CVS commit: src/sys/lib/libsa

2024-02-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Feb 27 16:09:19 UTC 2024 Modified Files: src/sys/lib/libsa: netif.h Log Message: Put the standard NetBSD copyright on this file. Approved by John Brezak via a message on LinkedIn. To generate a diff of this commit: cvs

CVS commit: src/sys/lib/libsa

2024-02-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Feb 27 16:09:19 UTC 2024 Modified Files: src/sys/lib/libsa: netif.h Log Message: Put the standard NetBSD copyright on this file. Approved by John Brezak via a message on LinkedIn. To generate a diff of this commit: cvs

CVS commit: src/sys/lib/libsa

2023-12-13 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Dec 14 05:39:00 UTC 2023 Modified Files: src/sys/lib/libsa: nfs.c Log Message: libsa: nfs: Fix NFS_NOSYMLINK option for previous Used only by mvme68k. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

CVS commit: src/sys/lib/libsa

2023-12-13 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Dec 14 05:39:00 UTC 2023 Modified Files: src/sys/lib/libsa: nfs.c Log Message: libsa: nfs: Fix NFS_NOSYMLINK option for previous Used only by mvme68k. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

CVS commit: src/sys/lib/libsa

2023-12-12 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Dec 12 09:12:55 UTC 2023 Modified Files: src/sys/lib/libsa: nfs.c nfsv2.h rpcv2.h Added Files: src/sys/lib/libsa: nfsv3.h Log Message: Add NFSv3 support. Try NFSv3 and fall back to NFSv2. To generate a diff of this

CVS commit: src/sys/lib/libsa

2023-12-12 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Dec 12 09:12:55 UTC 2023 Modified Files: src/sys/lib/libsa: nfs.c nfsv2.h rpcv2.h Added Files: src/sys/lib/libsa: nfsv3.h Log Message: Add NFSv3 support. Try NFSv3 and fall back to NFSv2. To generate a diff of this

CVS commit: src/sys/lib/libsa

2023-09-13 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 14 03:08:31 UTC 2023 Modified Files: src/sys/lib/libsa: netif.c Log Message: netif_open: Fail with ENXIO instead of panic if no netif available Avoid undesirable freeze for efiboot/x86 when interfaces are really

CVS commit: src/sys/lib/libsa

2023-09-13 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Sep 14 03:08:31 UTC 2023 Modified Files: src/sys/lib/libsa: netif.c Log Message: netif_open: Fail with ENXIO instead of panic if no netif available Avoid undesirable freeze for efiboot/x86 when interfaces are really

CVS commit: src/sys/lib/libsa

2023-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 30 18:47:37 UTC 2023 Modified Files: src/sys/lib/libsa: Makefile Log Message: We don't want SSP/FORTIFY here. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/lib/libsa/Makefile Please note that

CVS commit: src/sys/lib/libsa

2023-08-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 30 18:47:37 UTC 2023 Modified Files: src/sys/lib/libsa: Makefile Log Message: We don't want SSP/FORTIFY here. To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/lib/libsa/Makefile Please note that

CVS commit: src/sys/lib/libsa

2023-06-13 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Jun 14 00:28:55 UTC 2023 Modified Files: src/sys/lib/libsa: cread.c Log Message: Add /* FALLTHROUGH */ comment for sure. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/lib/libsa/cread.c Please note that

CVS commit: src/sys/lib/libsa

2023-06-13 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Jun 14 00:28:55 UTC 2023 Modified Files: src/sys/lib/libsa: cread.c Log Message: Add /* FALLTHROUGH */ comment for sure. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/lib/libsa/cread.c Please note that

CVS commit: src/sys/lib/libsa

2023-05-28 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon May 29 03:56:52 UTC 2023 Modified Files: src/sys/lib/libsa: subr_prf.c Log Message: libsa/printf: Do not fetch long va_arg as long long. This does real harm iff all of the following conditions are satisfied: (1) On ILP32

CVS commit: src/sys/lib/libsa

2023-05-28 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon May 29 03:56:52 UTC 2023 Modified Files: src/sys/lib/libsa: subr_prf.c Log Message: libsa/printf: Do not fetch long va_arg as long long. This does real harm iff all of the following conditions are satisfied: (1) On ILP32

CVS commit: src/sys/lib/libsa

2022-12-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Dec 1 18:06:09 UTC 2022 Modified Files: src/sys/lib/libsa: ufs.c Log Message: fix clang build To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/sys/lib/libsa/ufs.c Please note that diffs are not public

CVS commit: src/sys/lib/libsa

2022-12-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Dec 1 18:06:09 UTC 2022 Modified Files: src/sys/lib/libsa: ufs.c Log Message: fix clang build To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/sys/lib/libsa/ufs.c Please note that diffs are not public

CVS commit: src/sys/lib/libsa

2022-08-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Aug 7 05:51:55 UTC 2022 Modified Files: src/sys/lib/libsa: tftp.c Log Message: Consistently use ntohs() instead of htons() when converting from network to host byte order. No binary changes both for big and little endian. To

CVS commit: src/sys/lib/libsa

2022-08-06 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Aug 7 05:51:55 UTC 2022 Modified Files: src/sys/lib/libsa: tftp.c Log Message: Consistently use ntohs() instead of htons() when converting from network to host byte order. No binary changes both for big and little endian. To

CVS commit: src/sys/lib/libsa

2022-04-30 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Apr 30 09:24:05 UTC 2022 Modified Files: src/sys/lib/libsa: stand.h Log Message: Now, NULL is always defined correctly, as we include above. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87

CVS commit: src/sys/lib/libsa

2022-04-30 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Apr 30 09:24:05 UTC 2022 Modified Files: src/sys/lib/libsa: stand.h Log Message: Now, NULL is always defined correctly, as we include above. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87

CVS commit: src/sys/lib/libsa

2022-04-29 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Apr 29 07:42:07 UTC 2022 Modified Files: src/sys/lib/libsa: ext2fs.c minixfs3.c stand.h ufs.c Log Message: Re-introduce SA_HARDCODED_SECSIZE hack, by which hardcoded DEV_BSIZE is used instead of secsize obtained by SAIOSECSIZE

CVS commit: src/sys/lib/libsa

2022-04-29 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Apr 29 07:42:07 UTC 2022 Modified Files: src/sys/lib/libsa: ext2fs.c minixfs3.c stand.h ufs.c Log Message: Re-introduce SA_HARDCODED_SECSIZE hack, by which hardcoded DEV_BSIZE is used instead of secsize obtained by SAIOSECSIZE

Re: CVS commit: src/sys/lib/libsa

2022-04-29 Thread Rin Okuyama
On 2022/04/28 3:29, Christos Zoulas wrote: In article <20220427144850.61383f...@cvs.netbsd.org>, Rin Okuyama wrote: -=-=-=-=-=- Module Name:src Committed By: rin Date: Wed Apr 27 14:48:50 UTC 2022 Modified Files: src/sys/lib/libsa: ext2fs.c minixfs3.c stand.h ufs.c

Re: CVS commit: src/sys/lib/libsa

2022-04-27 Thread Christos Zoulas
In article <20220427144850.61383f...@cvs.netbsd.org>, Rin Okuyama wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: rin >Date: Wed Apr 27 14:48:50 UTC 2022 > >Modified Files: > src/sys/lib/libsa: ext2fs.c minixfs3.c stand.h ufs.c > >Log Message: >Revert previous at the

CVS commit: src/sys/lib/libsa

2022-04-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Apr 27 14:48:50 UTC 2022 Modified Files: src/sys/lib/libsa: ext2fs.c minixfs3.c stand.h ufs.c Log Message: Revert previous at the moment. This is wrong reasoning; 68020 and above (incl. 040 and 060) support 32-bit displacements

CVS commit: src/sys/lib/libsa

2022-04-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Apr 27 14:48:50 UTC 2022 Modified Files: src/sys/lib/libsa: ext2fs.c minixfs3.c stand.h ufs.c Log Message: Revert previous at the moment. This is wrong reasoning; 68020 and above (incl. 040 and 060) support 32-bit displacements

CVS commit: src/sys/lib/libsa

2022-04-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Apr 27 11:48:26 UTC 2022 Modified Files: src/sys/lib/libsa: ext2fs.c minixfs3.c stand.h ufs.c Log Message: Introduce SA_HARDCODED_SECSIZE hack, by which hardcoded DEV_BSIZE is used instead of secsize obtained by SAIOSECSIZE

CVS commit: src/sys/lib/libsa

2022-04-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Apr 27 11:48:26 UTC 2022 Modified Files: src/sys/lib/libsa: ext2fs.c minixfs3.c stand.h ufs.c Log Message: Introduce SA_HARDCODED_SECSIZE hack, by which hardcoded DEV_BSIZE is used instead of secsize obtained by SAIOSECSIZE

CVS commit: src/sys/lib/libsa

2022-04-24 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 24 06:52:59 UTC 2022 Modified Files: src/sys/lib/libsa: ffsv1.c ffsv2.c files.c globals.c ufs.c Log Message: Don't load filessytem module for filesystem that was found but isn't used for booting. To generate a diff of

CVS commit: src/sys/lib/libsa

2022-04-24 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 24 06:52:59 UTC 2022 Modified Files: src/sys/lib/libsa: ffsv1.c ffsv2.c files.c globals.c ufs.c Log Message: Don't load filessytem module for filesystem that was found but isn't used for booting. To generate a diff of

CVS commit: src/sys/lib/libsa

2022-04-24 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 24 06:48:15 UTC 2022 Modified Files: src/sys/lib/libsa: ext2fs.c minixfs3.c saioctl.h ufs.c Log Message: Ask driver about sector size to support reading superblocks from fixed byte offsets. To generate a diff of this

CVS commit: src/sys/lib/libsa

2022-04-24 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 24 06:48:15 UTC 2022 Modified Files: src/sys/lib/libsa: ext2fs.c minixfs3.c saioctl.h ufs.c Log Message: Ask driver about sector size to support reading superblocks from fixed byte offsets. To generate a diff of this

CVS commit: src/sys/lib/libsa

2022-04-19 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Apr 19 09:25:39 UTC 2022 Modified Files: src/sys/lib/libsa: ext2fs.c minixfs3.c ufs.c Log Message: Typo in comment. avoinds -> avoids To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/lib/libsa/ext2fs.c

CVS commit: src/sys/lib/libsa

2022-04-19 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Apr 19 09:25:39 UTC 2022 Modified Files: src/sys/lib/libsa: ext2fs.c minixfs3.c ufs.c Log Message: Typo in comment. avoinds -> avoids To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/lib/libsa/ext2fs.c

CVS commit: src/sys/lib/libsa

2021-10-17 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 17 14:12:21 UTC 2021 Modified Files: src/sys/lib/libsa: bootcfg.c Log Message: Only define DEFAULT_TIMEOUT if it is not already defined. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/sys/lib/libsa

2021-10-17 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 17 14:12:21 UTC 2021 Modified Files: src/sys/lib/libsa: bootcfg.c Log Message: Only define DEFAULT_TIMEOUT if it is not already defined. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/sys/lib/libsa

2019-11-21 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Nov 21 21:45:35 UTC 2019 Modified Files: src/sys/lib/libsa: ustarfs.c Log Message: apply the strncmp hack only to !clang. requested by tnn. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/sys/lib/libsa

2019-11-21 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Nov 21 21:45:35 UTC 2019 Modified Files: src/sys/lib/libsa: ustarfs.c Log Message: apply the strncmp hack only to !clang. requested by tnn. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/sys/lib/libsa

2019-11-20 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Nov 21 07:34:39 UTC 2019 Modified Files: src/sys/lib/libsa: ustarfs.c Log Message: from the new comment: * XXX Hack alert. GCC 8.3 mis-compiles this function and calls * strncmp() with the wrong second pointer, as seen in

CVS commit: src/sys/lib/libsa

2019-11-20 Thread matthew green
Module Name:src Committed By: mrg Date: Thu Nov 21 07:34:39 UTC 2019 Modified Files: src/sys/lib/libsa: ustarfs.c Log Message: from the new comment: * XXX Hack alert. GCC 8.3 mis-compiles this function and calls * strncmp() with the wrong second pointer, as seen in

CVS commit: src/sys/lib/libsa

2019-10-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 17 14:00:28 UTC 2019 Modified Files: src/sys/lib/libsa: loadfile_elf32.c Log Message: Make sure we're dealing with a static binary. Otherwise we could crash if the user mistakenly tries to boot a KASLR kernel with 'boot'

CVS commit: src/sys/lib/libsa

2019-10-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Oct 17 14:00:28 UTC 2019 Modified Files: src/sys/lib/libsa: loadfile_elf32.c Log Message: Make sure we're dealing with a static binary. Otherwise we could crash if the user mistakenly tries to boot a KASLR kernel with 'boot'

CVS commit: src/sys/lib/libsa

2019-07-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Jul 21 16:53:17 UTC 2019 Modified Files: src/sys/lib/libsa: Makefile loadfile_elf32.c Log Message: Add SA_ENABLE_BIENDIAN option, which enable us to load kernel image of opposite byte order (for arm EFI bootloader). XXX

CVS commit: src/sys/lib/libsa

2019-07-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Jul 21 16:53:17 UTC 2019 Modified Files: src/sys/lib/libsa: Makefile loadfile_elf32.c Log Message: Add SA_ENABLE_BIENDIAN option, which enable us to load kernel image of opposite byte order (for arm EFI bootloader). XXX

Re: CVS commit: src/sys/lib/libsa

2017-09-25 Thread Joerg Sonnenberger
On Mon, Sep 25, 2017 at 08:39:21PM +, Maxime Villard wrote: > Module Name: src > Committed By: maxv > Date: Mon Sep 25 20:39:21 UTC 2017 > > Modified Files: > src/sys/lib/libsa: loadfile_elf32.c > > Log Message: > Clean up and split loadfile, reduces a patch I have. I dislike

Re: CVS commit: src/sys/lib/libsa

2017-04-18 Thread Valery Ushakov
On Tue, Apr 18, 2017 at 11:28:21 +0900, Kimihiro Nonaka wrote: > On Tue, Apr 18, 2017 at 3:26 AM, Valery Ushakov wrote: > > > What is really intended here? Do we need shstr set so that we can > > test for ".SUNW_ctf" section name later? > > That's right. Ok, after

Re: CVS commit: src/sys/lib/libsa

2017-04-17 Thread Kimihiro Nonaka
On Tue, Apr 18, 2017 at 3:26 AM, Valery Ushakov wrote: > What is really intended here? Do we need shstr set so that we can > test for ".SUNW_ctf" section name later? That's right. Regards, -- Kimihiro Nonaka

Re: CVS commit: src/sys/lib/libsa

2017-04-17 Thread Valery Ushakov
On Thu, Feb 23, 2017 at 12:13:05 +, NONAKA Kimihiro wrote: > Module Name: src > Committed By: nonaka > Date: Thu Feb 23 12:13:05 UTC 2017 > > Modified Files: > src/sys/lib/libsa: loadfile_elf32.c > > Log Message: > fix CTF section symbol size was not counted with

Re: CVS commit: src/sys/lib/libsa

2014-08-30 Thread Christos Zoulas
In article 20140830142402.88c9...@cvs.netbsd.org, Izumi Tsutsui source-changes-d@NetBSD.org wrote: -=-=-=-=-=- Module Name: src Committed By: tsutsui Date: Sat Aug 30 14:24:02 UTC 2014 Modified Files: src/sys/lib/libsa: subr_prf.c Log Message: Revert stupid and untested

RE: CVS commit: src/sys/lib/libsa

2010-12-24 Thread Paul Goyette
Module Name:src Committed By: christos Date: Fri Dec 24 23:12:29 UTC 2010 Modified Files: src/sys/lib/libsa: stand.h Log Message: panic takes a printf format too. This changes breaks the build on port-amd64:

CVS commit: src/sys/lib/libsa

2010-02-11 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Feb 11 21:28:16 UTC 2010 Modified Files: src/sys/lib/libsa: lookup_elf32.c Log Message: Add a prototype. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/lib/libsa/lookup_elf32.c Please note that diffs

CVS commit: src/sys/lib/libsa

2010-01-19 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Tue Jan 19 15:26:45 UTC 2010 Modified Files: src/sys/lib/libsa: subr_prf.c Log Message: Add long long (%lld etc.) support and width (%02x etc.) support in libsa printf(3). Disabled by default but enabled by