Module Name:src
Committed By: mrg
Date: Tue Aug 8 05:20:14 UTC 2023
Modified Files:
src/sys/dev/ic: apple_smc.c apple_smc_temp.c
Log Message:
fix array vs pointer function declaration.
also, in some callers, and make sure to provide all the accessed
backing for a string
Module Name:src
Committed By: mrg
Date: Tue Aug 8 05:20:14 UTC 2023
Modified Files:
src/sys/dev/ic: apple_smc.c apple_smc_temp.c
Log Message:
fix array vs pointer function declaration.
also, in some callers, and make sure to provide all the accessed
backing for a string
Module Name:src
Committed By: mrg
Date: Tue Aug 8 03:44:12 UTC 2023
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
put amd64 back to GDB 11. it doesn't build for me, or others.
the first problem is that this rule:
GDBvn.texi: ${DIST}/gdb/version.in
echo
Module Name:src
Committed By: mrg
Date: Tue Aug 8 03:44:12 UTC 2023
Modified Files:
src/share/mk: bsd.own.mk
Log Message:
put amd64 back to GDB 11. it doesn't build for me, or others.
the first problem is that this rule:
GDBvn.texi: ${DIST}/gdb/version.in
echo
Module Name:src
Committed By: rin
Date: Tue Aug 8 02:09:43 UTC 2023
Modified Files:
src/lib/libm: Makefile
Log Message:
libm: Add fma(3) and friends to m68k
To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.221 src/lib/libm/Makefile
Please note that diffs
Module Name:src
Committed By: rin
Date: Tue Aug 8 02:09:43 UTC 2023
Modified Files:
src/lib/libm: Makefile
Log Message:
libm: Add fma(3) and friends to m68k
To generate a diff of this commit:
cvs rdiff -u -r1.220 -r1.221 src/lib/libm/Makefile
Please note that diffs
Valery Ushakov writes:
> On Mon, Aug 07, 2023 at 23:58:50 +0200, Tobias Nygren wrote:
>
> > Is this sort of fix acceptable for the above cases?
> [...]
> > + ptrdiff_t offset = pos - buf;
> [...]
> > - pos = new_buf + (pos - buf);
> > + pos =
On Tue, Aug 08, 2023 at 00:44:41 +0200, Roland Illig wrote:
> Am 07.08.2023 um 23:58 schrieb Tobias Nygren:
> > Is this sort of fix acceptable for the above cases?
> >
> > + ptrdiff_t offset = pos - buf;
> > new_buf = realloc(buf, buf_size);
> > - pos = new_buf + (pos - buf);
> > + pos
Module Name:src
Committed By: mrg
Date: Mon Aug 7 23:31:11 UTC 2023
Modified Files:
src/usr.bin/telnet: ring.c
Log Message:
remove always-true part of condition.
found by GCC 12.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/telnet/ring.c
Module Name:src
Committed By: mrg
Date: Mon Aug 7 23:31:11 UTC 2023
Modified Files:
src/usr.bin/telnet: ring.c
Log Message:
remove always-true part of condition.
found by GCC 12.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/telnet/ring.c
Module Name:src
Committed By: mrg
Date: Mon Aug 7 23:29:58 UTC 2023
Modified Files:
src/tests/lib/libbpfjit: t_bpfjit.c
Log Message:
avoid uninitialised variable.
found by GCC 12.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15
Module Name:src
Committed By: mrg
Date: Mon Aug 7 23:29:58 UTC 2023
Modified Files:
src/tests/lib/libbpfjit: t_bpfjit.c
Log Message:
avoid uninitialised variable.
found by GCC 12.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15
Module Name:src
Committed By: mrg
Date: Mon Aug 7 23:29:23 UTC 2023
Modified Files:
src/sys/arch/hpcmips/vr: vrc4172gpio.c
Log Message:
fix mis-matched function prototype and definitions.
found by GCC 12.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19
Module Name:src
Committed By: mrg
Date: Mon Aug 7 23:29:23 UTC 2023
Modified Files:
src/sys/arch/hpcmips/vr: vrc4172gpio.c
Log Message:
fix mis-matched function prototype and definitions.
found by GCC 12.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19
Module Name:src
Committed By: mrg
Date: Mon Aug 7 23:28:58 UTC 2023
Modified Files:
src/sys/arch/atari/dev: ncr5380var.h
src/sys/arch/hp300/dev: intiovar.h
src/sys/dist/pf/net: pf_norm.c
src/sys/netinet: dccp_tfrc.c
Log Message:
fix indentation
Module Name:src
Committed By: mrg
Date: Mon Aug 7 23:28:58 UTC 2023
Modified Files:
src/sys/arch/atari/dev: ncr5380var.h
src/sys/arch/hp300/dev: intiovar.h
src/sys/dist/pf/net: pf_norm.c
src/sys/netinet: dccp_tfrc.c
Log Message:
fix indentation
Module Name:src
Committed By: mrg
Date: Mon Aug 7 23:27:07 UTC 2023
Modified Files:
src/sbin/resize_lfs: resize_lfs.c
Log Message:
fix potentially uninitialised data being used.
found by GCC 12.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16
Module Name:src
Committed By: mrg
Date: Mon Aug 7 23:27:07 UTC 2023
Modified Files:
src/sbin/resize_lfs: resize_lfs.c
Log Message:
fix potentially uninitialised data being used.
found by GCC 12.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16
Module Name:src
Committed By: mrg
Date: Mon Aug 7 23:26:40 UTC 2023
Modified Files:
src/sbin/dump: traverse.c
Log Message:
fix always true conditional by removing the address-of operator.
found by GCC 12.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56
Module Name:src
Committed By: mrg
Date: Mon Aug 7 23:26:40 UTC 2023
Modified Files:
src/sbin/dump: traverse.c
Log Message:
fix always true conditional by removing the address-of operator.
found by GCC 12.
To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56
On Mon, Aug 07, 2023 at 23:58:50 +0200, Tobias Nygren wrote:
> Is this sort of fix acceptable for the above cases?
[...]
> + ptrdiff_t offset = pos - buf;
[...]
> - pos = new_buf + (pos - buf);
> + pos = new_buf + offset;
I think so.
Am 07.08.2023 um 23:58 schrieb Tobias Nygren:
> Is this sort of fix acceptable for the above cases?
>
> + ptrdiff_t offset = pos - buf;
> new_buf = realloc(buf, buf_size);
> - pos = new_buf + (pos - buf);
> + pos = new_buf + offset;
Yes.
Instead of ptrdiff_t, I prefer to use
Module Name:src
Committed By: rillig
Date: Mon Aug 7 22:30:39 UTC 2023
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: msg_247.c msg_247_ilp32_ldbl64.c
msg_247_lp64_ldbl128.c msg_247_portable.c
Added Files:
Module Name:src
Committed By: rillig
Date: Mon Aug 7 22:30:39 UTC 2023
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/xlint/lint1: msg_247.c msg_247_ilp32_ldbl64.c
msg_247_lp64_ldbl128.c msg_247_portable.c
Added Files:
On Thu, 3 Aug 2023 23:30:31 +0900
Rin Okuyama wrote:
> On 2023/08/03 23:23, Valery Ushakov wrote:
> > On Thu, Aug 03, 2023 at 13:33:27 +, Rin Okuyama wrote:
> >
> >> -Wuse-after-free for GCC 12 is premature. It fires on a common idiom:
> >>
> >>newbuf = realloc(buf, size);
> >>p =
Module Name:src
Committed By: tnn
Date: Mon Aug 7 21:12:02 UTC 2023
Modified Files:
src/usr.bin/rpcgen: rpc_cout.c
Log Message:
rpcgen: don't pass length of source to string copy operation
Altough the prior code can't fail, GCC complains about the practice.
To
Module Name:src
Committed By: tnn
Date: Mon Aug 7 21:12:02 UTC 2023
Modified Files:
src/usr.bin/rpcgen: rpc_cout.c
Log Message:
rpcgen: don't pass length of source to string copy operation
Altough the prior code can't fail, GCC complains about the practice.
To
Module Name:src
Committed By: tnn
Date: Mon Aug 7 20:35:21 UTC 2023
Modified Files:
src/usr.sbin/makemandb: custom_apropos_tokenizer.c
Log Message:
makemakedb: don't return uninitialized token length if stemming fails
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: tnn
Date: Mon Aug 7 20:35:21 UTC 2023
Modified Files:
src/usr.sbin/makemandb: custom_apropos_tokenizer.c
Log Message:
makemakedb: don't return uninitialized token length if stemming fails
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: tnn
Date: Mon Aug 7 20:21:08 UTC 2023
Modified Files:
src/usr.sbin/services_mkdb: output_cdb.c
Log Message:
services_mkdb: pad argument to cdbw_output(3) to match it's prototype
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2
Module Name:src
Committed By: tnn
Date: Mon Aug 7 20:21:08 UTC 2023
Modified Files:
src/usr.sbin/services_mkdb: output_cdb.c
Log Message:
services_mkdb: pad argument to cdbw_output(3) to match it's prototype
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2
Module Name:src
Committed By: tnn
Date: Mon Aug 7 19:11:25 UTC 2023
Modified Files:
src/usr.bin/tail: tail.c
Log Message:
tail: adjust misleading indentation in macro. NFC.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/tail/tail.c
Please
Module Name:src
Committed By: tnn
Date: Mon Aug 7 19:11:25 UTC 2023
Modified Files:
src/usr.bin/tail: tail.c
Log Message:
tail: adjust misleading indentation in macro. NFC.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/tail/tail.c
Please
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 18:01:42 UTC 2023
Modified Files:
src/share/misc: style
Log Message:
style(5): Advise against new struct typedefs and explain why.
Proposed on tech-kern:
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 18:01:42 UTC 2023
Modified Files:
src/share/misc: style
Log Message:
style(5): Advise against new struct typedefs and explain why.
Proposed on tech-kern:
Module Name:src
Committed By: christos
Date: Mon Aug 7 16:52:53 UTC 2023
Modified Files:
src/external/gpl3/gdb/lib/libgdb: Makefile
Log Message:
Prevent us from using the phony_iconv_open(). Our iconv_open does not take
"wchar_t" as an argument, so define
Module Name:src
Committed By: christos
Date: Mon Aug 7 16:52:53 UTC 2023
Modified Files:
src/external/gpl3/gdb/lib/libgdb: Makefile
Log Message:
Prevent us from using the phony_iconv_open(). Our iconv_open does not take
"wchar_t" as an argument, so define
Module Name:src
Committed By: christos
Date: Mon Aug 7 16:51:40 UTC 2023
Modified Files:
src/external/gpl3/gdb/lib/libgdb/arch/x86_64: defs.mk init.c
Log Message:
regen
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 \
Module Name:src
Committed By: christos
Date: Mon Aug 7 16:51:40 UTC 2023
Modified Files:
src/external/gpl3/gdb/lib/libgdb/arch/x86_64: defs.mk init.c
Log Message:
regen
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 \
Module Name:src
Committed By: christos
Date: Mon Aug 7 16:51:24 UTC 2023
Modified Files:
src/external/gpl3/gdb/dist/gdb: configure.tgt
Log Message:
Add missing i386 tdeps
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29
Module Name:src
Committed By: christos
Date: Mon Aug 7 16:51:24 UTC 2023
Modified Files:
src/external/gpl3/gdb/dist/gdb: configure.tgt
Log Message:
Add missing i386 tdeps
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 16:35:06 UTC 2023
Modified Files:
src/sys/external/bsd/drm2/radeon: radeon_pci.c
Log Message:
radeon: Suspend ioctls while device is suspended.
XXX pullup-10
To generate a diff of this commit:
cvs rdiff -u -r1.23
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 16:35:06 UTC 2023
Modified Files:
src/sys/external/bsd/drm2/radeon: radeon_pci.c
Log Message:
radeon: Suspend ioctls while device is suspended.
XXX pullup-10
To generate a diff of this commit:
cvs rdiff -u -r1.23
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 16:34:57 UTC 2023
Modified Files:
src/sys/external/bsd/drm2/nouveau: nouveau_pci.c
Log Message:
nouveau: Suspend ioctls while device is suspended.
XXX pullup-10
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 16:34:57 UTC 2023
Modified Files:
src/sys/external/bsd/drm2/nouveau: nouveau_pci.c
Log Message:
nouveau: Suspend ioctls while device is suspended.
XXX pullup-10
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 16:34:47 UTC 2023
Modified Files:
src/sys/external/bsd/drm2/amdgpu: amdgpu_pci.c
Log Message:
amdgpu: Suspend ioctls while device is suspended.
XXX pullup-10
To generate a diff of this commit:
cvs rdiff -u -r1.11
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 16:34:47 UTC 2023
Modified Files:
src/sys/external/bsd/drm2/amdgpu: amdgpu_pci.c
Log Message:
amdgpu: Suspend ioctls while device is suspended.
XXX pullup-10
To generate a diff of this commit:
cvs rdiff -u -r1.11
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 16:14:32 UTC 2023
Modified Files:
src/distrib/sets/lists/base: md.amd64
src/distrib/sets/lists/debug: ad.aarch64 md.amd64
Log Message:
distrib/sets/lists: Fix libtsan entries.
- No obsolete .so.N or .so.N.M
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 16:14:32 UTC 2023
Modified Files:
src/distrib/sets/lists/base: md.amd64
src/distrib/sets/lists/debug: ad.aarch64 md.amd64
Log Message:
distrib/sets/lists: Fix libtsan entries.
- No obsolete .so.N or .so.N.M
Module Name:src
Committed By: christos
Date: Mon Aug 7 14:30:48 UTC 2023
Modified Files:
src/external/gpl3/gdb/bin/gdb: Makefile
Log Message:
fix config.h confusion
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/gpl3/gdb/bin/gdb/Makefile
Module Name:src
Committed By: christos
Date: Mon Aug 7 14:30:48 UTC 2023
Modified Files:
src/external/gpl3/gdb/bin/gdb: Makefile
Log Message:
fix config.h confusion
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/gpl3/gdb/bin/gdb/Makefile
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 13:31:54 UTC 2023
Modified Files:
src/sys/netbt: bt_proto.c
Log Message:
netbt(4): Initialize bt_lock earlier.
Use a driver-class module modcmd init function, instead of a socket
domain init function; the
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 13:31:54 UTC 2023
Modified Files:
src/sys/netbt: bt_proto.c
Log Message:
netbt(4): Initialize bt_lock earlier.
Use a driver-class module modcmd init function, instead of a socket
domain init function; the
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 10:31:42 UTC 2023
Modified Files:
src/sys/sys: lwp.h
Log Message:
sys/lwp.h: Slightly more paranoia re curlwp in PR port-evbarm/57564.
To generate a diff of this commit:
cvs rdiff -u -r1.218 -r1.219
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 10:31:42 UTC 2023
Modified Files:
src/sys/sys: lwp.h
Log Message:
sys/lwp.h: Slightly more paranoia re curlwp in PR port-evbarm/57564.
To generate a diff of this commit:
cvs rdiff -u -r1.218 -r1.219
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 09:41:56 UTC 2023
Modified Files:
src/sys/sys: lwp.h
Log Message:
sys/lwp.h: KASSERT -> KASSERTMSG
Might help diagnose PR port-evbarm/57564.
To generate a diff of this commit:
cvs rdiff -u -r1.217 -r1.218
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 09:41:56 UTC 2023
Modified Files:
src/sys/sys: lwp.h
Log Message:
sys/lwp.h: KASSERT -> KASSERTMSG
Might help diagnose PR port-evbarm/57564.
To generate a diff of this commit:
cvs rdiff -u -r1.217 -r1.218
Module Name:src
Committed By: msaitoh
Date: Mon Aug 7 09:27:14 UTC 2023
Modified Files:
src/sys/arch/x86/x86: procfs_machdep.c
Log Message:
Update /proc/cpuinfo.
- Move "ssbd" to an unused Linux mapping.
- Update unused Linux mappings.
To generate a diff of this
Module Name:src
Committed By: msaitoh
Date: Mon Aug 7 09:27:14 UTC 2023
Modified Files:
src/sys/arch/x86/x86: procfs_machdep.c
Log Message:
Update /proc/cpuinfo.
- Move "ssbd" to an unused Linux mapping.
- Update unused Linux mappings.
To generate a diff of this
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 08:54:40 UTC 2023
Modified Files:
src/lib/libm/src: ldbl_dummy.c
Log Message:
libm: Add dummy remainderl and remquol.
These are pretty bad -- these aren't transcendental functions; not
rocket science to make them
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 08:54:40 UTC 2023
Modified Files:
src/lib/libm/src: ldbl_dummy.c
Log Message:
libm: Add dummy remainderl and remquol.
These are pretty bad -- these aren't transcendental functions; not
rocket science to make them
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 06:27:38 UTC 2023
Modified Files:
src/share/man/man4: rnd.4
Log Message:
rnd(4): Document `entropy: best effort' in random(4).
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/share/man/man4/rnd.4
Module Name:src
Committed By: riastradh
Date: Mon Aug 7 06:27:38 UTC 2023
Modified Files:
src/share/man/man4: rnd.4
Log Message:
rnd(4): Document `entropy: best effort' in random(4).
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/share/man/man4/rnd.4
Module Name:src
Committed By: msaitoh
Date: Mon Aug 7 06:24:35 UTC 2023
Modified Files:
src/sys/dev/pci: ichsmb.c ismt.c
Log Message:
ichsmb(4),ismt(4): Add Snow Ridge support.
To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/dev/pci/ichsmb.c
cvs
Module Name:src
Committed By: msaitoh
Date: Mon Aug 7 06:24:35 UTC 2023
Modified Files:
src/sys/dev/pci: ichsmb.c ismt.c
Log Message:
ichsmb(4),ismt(4): Add Snow Ridge support.
To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/dev/pci/ichsmb.c
cvs
Module Name:src
Committed By: msaitoh
Date: Mon Aug 7 06:23:40 UTC 2023
Modified Files:
src/sys/arch/x86/pci: pci_machdep.c
Log Message:
Fix detection of availability of MSI/MSI-X on some systems.
Try to find all functions on bus 0, device 0 to find a PCI host bridge.
Module Name:src
Committed By: msaitoh
Date: Mon Aug 7 06:23:40 UTC 2023
Modified Files:
src/sys/arch/x86/pci: pci_machdep.c
Log Message:
Fix detection of availability of MSI/MSI-X on some systems.
Try to find all functions on bus 0, device 0 to find a PCI host bridge.
67 matches
Mail list logo