Module Name:src
Committed By: isaki
Date: Sat Feb 22 07:09:18 UTC 2020
Modified Files:
src/sys/dev/audio: audio.c
Log Message:
hw_if->query_format is already mandatory method. Drop null checks.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48
Module Name:src
Committed By: isaki
Date: Sat Feb 22 07:09:18 UTC 2020
Modified Files:
src/sys/dev/audio: audio.c
Log Message:
hw_if->query_format is already mandatory method. Drop null checks.
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48
Module Name:src
Committed By: isaki
Date: Sat Feb 22 06:58:40 UTC 2020
Modified Files:
src/sys/dev/audio: audio.c audiodef.h
Log Message:
Improve KASSERT messages.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/audio/audio.c
cvs rdiff -u -r1.8
Module Name:src
Committed By: isaki
Date: Sat Feb 22 06:58:40 UTC 2020
Modified Files:
src/sys/dev/audio: audio.c audiodef.h
Log Message:
Improve KASSERT messages.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/audio/audio.c
cvs rdiff -u -r1.8
Module Name:src
Committed By: isaki
Date: Sat Feb 22 06:36:07 UTC 2020
Modified Files:
src/sys/dev/audio: audio.c
Log Message:
Change two aprint_error_dev() to device_printf() (and improve messages).
This is also called from other than boot.
To generate a diff of this
Module Name:src
Committed By: isaki
Date: Sat Feb 22 06:36:07 UTC 2020
Modified Files:
src/sys/dev/audio: audio.c
Log Message:
Change two aprint_error_dev() to device_printf() (and improve messages).
This is also called from other than boot.
To generate a diff of this
Module Name:src
Committed By: isaki
Date: Sat Feb 22 06:28:10 UTC 2020
Modified Files:
src/sys/dev/audio: audio.c
Log Message:
const-ify. These arguments are no longer written back.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/audio/audio.c
Module Name:src
Committed By: isaki
Date: Sat Feb 22 06:28:10 UTC 2020
Modified Files:
src/sys/dev/audio: audio.c
Log Message:
const-ify. These arguments are no longer written back.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/audio/audio.c
Module Name:src
Committed By: isaki
Date: Sat Feb 22 06:22:46 UTC 2020
Modified Files:
src/sys/dev/audio: audio.c
Log Message:
Fix/Update comments.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/audio/audio.c
Please note that diffs are not
Module Name:src
Committed By: isaki
Date: Sat Feb 22 06:22:46 UTC 2020
Modified Files:
src/sys/dev/audio: audio.c
Log Message:
Fix/Update comments.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/audio/audio.c
Please note that diffs are not
Module Name:src
Committed By: isaki
Date: Sat Feb 22 05:53:19 UTC 2020
Modified Files:
src/tests/dev/audio: audiotest.c
Log Message:
Update AUDIO_SETINFO_channels test.
The kernel limits the number of channels that userland apps can set to
the number of channels supported
Module Name:src
Committed By: isaki
Date: Sat Feb 22 05:53:19 UTC 2020
Modified Files:
src/tests/dev/audio: audiotest.c
Log Message:
Update AUDIO_SETINFO_channels test.
The kernel limits the number of channels that userland apps can set to
the number of channels supported
Module Name:src
Committed By: isaki
Date: Sat Feb 22 05:51:39 UTC 2020
Modified Files:
src/sys/dev/audio: audio.c
Log Message:
Limit the number of channels that userland apps can set (by AUDIO_SETINFO)
to the number of channels supported by the hardware or less, if the
Module Name:src
Committed By: isaki
Date: Sat Feb 22 05:51:39 UTC 2020
Modified Files:
src/sys/dev/audio: audio.c
Log Message:
Limit the number of channels that userland apps can set (by AUDIO_SETINFO)
to the number of channels supported by the hardware or less, if the
OK, I over-reacted and didn't completely read the original commit
message.
The t_builtin.c stuff is indeed a test-of-module-functionality
so it does belong here.
But some of the other stuff here does not belong, such as the
threadpool, fetchstore, and kcov stuff. As far as I can see,
those
Module Name:src
Committed By: jmcneill
Date: Sat Feb 22 02:28:06 UTC 2020
Modified Files:
src/sys/arch/evbarm/conf: GENERIC64
src/sys/dev/acpi: files.acpi
Added Files:
src/sys/dev/acpi: genet_acpi.c
Log Message:
Add ACPI glue for Broadcom GENETv5
To
Module Name:src
Committed By: jmcneill
Date: Sat Feb 22 02:28:06 UTC 2020
Modified Files:
src/sys/arch/evbarm/conf: GENERIC64
src/sys/dev/acpi: files.acpi
Added Files:
src/sys/dev/acpi: genet_acpi.c
Log Message:
Add ACPI glue for Broadcom GENETv5
To
Really, the tests/modules directory should be only used for tests-that-
relate-to-module-functionality. It should NOT be used for modules-
that-support-tests-of-other-functionality.
In the future, please do not put support modules here; put them in the
samae place as the tests that they
Module Name:src
Committed By: kamil
Date: Sat Feb 22 00:42:15 UTC 2020
Modified Files:
src/sbin/route: route.c
Log Message:
Avoid undefined behavior
route.c:1523:20, left shift of 1073741824 by 1 places cannot be represented
in type 'int'
To generate a diff of this
Module Name:src
Committed By: kamil
Date: Sat Feb 22 00:42:15 UTC 2020
Modified Files:
src/sbin/route: route.c
Log Message:
Avoid undefined behavior
route.c:1523:20, left shift of 1073741824 by 1 places cannot be represented
in type 'int'
To generate a diff of this
Module Name:src
Committed By: kamil
Date: Sat Feb 22 00:38:15 UTC 2020
Modified Files:
src/lib/libc/gdtoa: gethex.c
Log Message:
Avoid unportable left shift construct
left shift of 9 by 28 places cannot be represented in type 'int'
To generate a diff of this commit:
Module Name:src
Committed By: kamil
Date: Sat Feb 22 00:38:15 UTC 2020
Modified Files:
src/lib/libc/gdtoa: gethex.c
Log Message:
Avoid unportable left shift construct
left shift of 9 by 28 places cannot be represented in type 'int'
To generate a diff of this commit:
Module Name:src
Committed By: kamil
Date: Sat Feb 22 00:32:09 UTC 2020
Modified Files:
src/sys/ufs/lfs: lfs_alloc.c
Log Message:
Avoid undefined behavior in *_BITMAP_FREE() macros
left shift of 1 by 31 places cannot be represented in type 'int'
To generate a diff of
Module Name:src
Committed By: kamil
Date: Sat Feb 22 00:32:09 UTC 2020
Modified Files:
src/sys/ufs/lfs: lfs_alloc.c
Log Message:
Avoid undefined behavior in *_BITMAP_FREE() macros
left shift of 1 by 31 places cannot be represented in type 'int'
To generate a diff of
Module Name:src
Committed By: jmcneill
Date: Sat Feb 22 00:28:36 UTC 2020
Modified Files:
src/sys/arch/arm/broadcom: bcm283x_platform.c
src/sys/arch/evbarm/conf: GENERIC64
src/sys/conf: files
src/sys/dev/fdt: files.fdt
Added Files:
Module Name:src
Committed By: jmcneill
Date: Sat Feb 22 00:28:36 UTC 2020
Modified Files:
src/sys/arch/arm/broadcom: bcm283x_platform.c
src/sys/arch/evbarm/conf: GENERIC64
src/sys/conf: files
src/sys/dev/fdt: files.fdt
Added Files:
Module Name:src
Committed By: kamil
Date: Sat Feb 22 00:24:15 UTC 2020
Modified Files:
src/tests/modules: t_modctl.c
Log Message:
Avoid undefined behavior in get_modstat_info
t_modctl.c:114:16, member access within misaligned address 0x71bf5bcede84
for type 'struct
Module Name:src
Committed By: kamil
Date: Sat Feb 22 00:24:15 UTC 2020
Modified Files:
src/tests/modules: t_modctl.c
Log Message:
Avoid undefined behavior in get_modstat_info
t_modctl.c:114:16, member access within misaligned address 0x71bf5bcede84
for type 'struct
Module Name:src
Committed By: kamil
Date: Sat Feb 22 00:18:55 UTC 2020
Modified Files:
src/tests/modules: t_builtin.c
Log Message:
Avoid undefined behavior in disabledstat
t_builtin.c:174:16, member access within misaligned address 0x741271c25004
for type 'struct
Module Name:src
Committed By: kamil
Date: Sat Feb 22 00:18:55 UTC 2020
Modified Files:
src/tests/modules: t_builtin.c
Log Message:
Avoid undefined behavior in disabledstat
t_builtin.c:174:16, member access within misaligned address 0x741271c25004
for type 'struct
Module Name:src
Committed By: jmcneill
Date: Sat Feb 22 00:17:54 UTC 2020
Modified Files:
src/sys/arch/arm/broadcom: bcm2835reg.h bcm283x_platform.c
Log Message:
Translate bus addresses for SCB on BCM2711
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30
Module Name:src
Committed By: jmcneill
Date: Sat Feb 22 00:17:54 UTC 2020
Modified Files:
src/sys/arch/arm/broadcom: bcm2835reg.h bcm283x_platform.c
Log Message:
Translate bus addresses for SCB on BCM2711
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30
On 21.02.2020 23:53, matthew green wrote:
>> Disable ubsan instrumentation on the operation.
>
> +#if defined(__clang__)
> +__attribute__((no_sanitize("undefined")))
> +#else
> +__attribute__((no_sanitize_undefined))
> +#endif
>
> can we get a __disable_sanitizer or something i cdefs.h?
>
>
>
Module Name:src
Committed By: maya
Date: Fri Feb 21 23:27:06 UTC 2020
Modified Files:
src/sys/arch/arm/arm32: bus_dma.c
Log Message:
Make sure to convey a failure to the calling function
Likely fix for PR kern/54999, but that was a one-off panic.
To generate a diff of
Module Name:src
Committed By: maya
Date: Fri Feb 21 23:27:06 UTC 2020
Modified Files:
src/sys/arch/arm/arm32: bus_dma.c
Log Message:
Make sure to convey a failure to the calling function
Likely fix for PR kern/54999, but that was a one-off panic.
To generate a diff of
> Disable ubsan instrumentation on the operation.
+#if defined(__clang__)
+__attribute__((no_sanitize("undefined")))
+#else
+__attribute__((no_sanitize_undefined))
+#endif
can we get a __disable_sanitizer or something i cdefs.h?
.mrg.
Module Name:src
Committed By: kamil
Date: Fri Feb 21 22:25:50 UTC 2020
Modified Files:
src/tests/lib/libc/gen: t_siginfo.c
Log Message:
Mark division by 0 as expected in sigfpe_int
Disable ubsan instrumentation on the operation.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: kamil
Date: Fri Feb 21 22:25:50 UTC 2020
Modified Files:
src/tests/lib/libc/gen: t_siginfo.c
Log Message:
Mark division by 0 as expected in sigfpe_int
Disable ubsan instrumentation on the operation.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: kamil
Date: Fri Feb 21 22:15:00 UTC 2020
Modified Files:
src/tests/lib/libc/stdio: t_fopen.c
Log Message:
Avoid undefined behavior in is_module_present()
t_fopen.c:339:18, member access within misaligned address 0x7f7ff7ebd004
for type
Module Name:src
Committed By: kamil
Date: Fri Feb 21 22:15:00 UTC 2020
Modified Files:
src/tests/lib/libc/stdio: t_fopen.c
Log Message:
Avoid undefined behavior in is_module_present()
t_fopen.c:339:18, member access within misaligned address 0x7f7ff7ebd004
for type
Module Name:src
Committed By: kamil
Date: Fri Feb 21 22:04:06 UTC 2020
Modified Files:
src/lib/libc/db/hash: hash.h
Log Message:
Avoid undefined behavior in *BIT macros
hash_page.c:792:2, left shift of 1 by 31 places cannot be represented in type
'int'
Module Name:src
Committed By: kamil
Date: Fri Feb 21 22:04:06 UTC 2020
Modified Files:
src/lib/libc/db/hash: hash.h
Log Message:
Avoid undefined behavior in *BIT macros
hash_page.c:792:2, left shift of 1 by 31 places cannot be represented in type
'int'
Module Name:src
Committed By: maxv
Date: Fri Feb 21 18:34:37 UTC 2020
Modified Files:
src/sys/arch/x86/x86: pmap.c
Log Message:
In pmap_changeprot_local(), drop the dirty bit along with the write bit.
To generate a diff of this commit:
cvs rdiff -u -r1.356 -r1.357
Module Name:src
Committed By: maxv
Date: Fri Feb 21 18:34:37 UTC 2020
Modified Files:
src/sys/arch/x86/x86: pmap.c
Log Message:
In pmap_changeprot_local(), drop the dirty bit along with the write bit.
To generate a diff of this commit:
cvs rdiff -u -r1.356 -r1.357
Module Name:src
Committed By: maxv
Date: Fri Feb 21 18:31:56 UTC 2020
Modified Files:
src/sys/arch/x86/x86: pmap.c
Log Message:
Add comments.
To generate a diff of this commit:
cvs rdiff -u -r1.355 -r1.356 src/sys/arch/x86/x86/pmap.c
Please note that diffs are not
Module Name:src
Committed By: maxv
Date: Fri Feb 21 18:31:56 UTC 2020
Modified Files:
src/sys/arch/x86/x86: pmap.c
Log Message:
Add comments.
To generate a diff of this commit:
cvs rdiff -u -r1.355 -r1.356 src/sys/arch/x86/x86/pmap.c
Please note that diffs are not
Module Name:src
Committed By: rin
Date: Fri Feb 21 15:15:48 UTC 2020
Modified Files:
src/sys/arch/powerpc/ibm4xx: trap.c
Log Message:
Do not try to recovery from data page fault in interrupt context;
catch up belatedly with powerpc/trap.c rev 1.49 and etc.:
Module Name:src
Committed By: rin
Date: Fri Feb 21 15:15:48 UTC 2020
Modified Files:
src/sys/arch/powerpc/ibm4xx: trap.c
Log Message:
Do not try to recovery from data page fault in interrupt context;
catch up belatedly with powerpc/trap.c rev 1.49 and etc.:
Module Name:src
Committed By: joerg
Date: Fri Feb 21 15:00:44 UTC 2020
Modified Files:
src/tools/llvm: Makefile
Log Message:
LLVM doesn't use term.h, so don't check for it when probing here either.
Increase robustness of checks for incremental builds by forcing a
Module Name:src
Committed By: joerg
Date: Fri Feb 21 15:00:44 UTC 2020
Modified Files:
src/tools/llvm: Makefile
Log Message:
LLVM doesn't use term.h, so don't check for it when probing here either.
Increase robustness of checks for incremental builds by forcing a
Module Name:src
Committed By: rin
Date: Fri Feb 21 14:49:58 UTC 2020
Modified Files:
src/sys/arch/powerpc/ibm4xx: trap.c
Log Message:
Tiny improvements to copyin() and copyout():
- Use lwz/stw instead of 4-byte lswi/stswi for 405 and later, which
support unaligned word
Module Name:src
Committed By: rin
Date: Fri Feb 21 14:49:58 UTC 2020
Modified Files:
src/sys/arch/powerpc/ibm4xx: trap.c
Log Message:
Tiny improvements to copyin() and copyout():
- Use lwz/stw instead of 4-byte lswi/stswi for 405 and later, which
support unaligned word
On Fri, Feb 21, 2020 at 11:13:24AM +0100, Kamil Rytarowski wrote:
> On 21.02.2020 07:20, Martin Husemann wrote:
> > On Fri, Feb 21, 2020 at 03:01:45AM +0100, Kamil Rytarowski wrote:
> >> I consider calling ncurses-dev essential as a bug.
> >
> > My knee jerk reaction was: if a unix compiler needs
Module Name:src
Committed By: rin
Date: Fri Feb 21 14:27:20 UTC 2020
Modified Files:
src/sys/arch/powerpc/ibm4xx: trap.c
Log Message:
Cosmetic changes for assembler codes. No binary changes.
To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76
Module Name:src
Committed By: rin
Date: Fri Feb 21 14:27:20 UTC 2020
Modified Files:
src/sys/arch/powerpc/ibm4xx: trap.c
Log Message:
Cosmetic changes for assembler codes. No binary changes.
To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76
On Fri, Feb 21, 2020 at 11:13:24 +0100, Kamil Rytarowski wrote:
> This patch changes cryptic failure in linking to a verbose message:
>
> http://netbsd.org/~kamil/patch-00231-llvm-terminfo-tools.txt
>
> Does it look to commit?
The "devel library" is linux-specific terminology.
There's no need
Module Name:src
Committed By: rin
Date: Fri Feb 21 13:38:05 UTC 2020
Modified Files:
src/sys/arch/powerpc/powerpc: vm_machdep.c
Log Message:
When UPAGES > 1, both __HAVE_CPU_UAREA_ROUTINES and PMAP_MAP_POOLPAGE
must be defined in order to allocate physically contiguous
Module Name:src
Committed By: rin
Date: Fri Feb 21 13:38:05 UTC 2020
Modified Files:
src/sys/arch/powerpc/powerpc: vm_machdep.c
Log Message:
When UPAGES > 1, both __HAVE_CPU_UAREA_ROUTINES and PMAP_MAP_POOLPAGE
must be defined in order to allocate physically contiguous
Module Name:src
Committed By: skrll
Date: Fri Feb 21 13:33:07 UTC 2020
Modified Files:
src/sys/arch/alpha/alpha: prom.c
Log Message:
Use designated initialisers
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/alpha/alpha/prom.c
Please note
Module Name:src
Committed By: rin
Date: Fri Feb 21 13:32:31 UTC 2020
Modified Files:
src/sys/arch/powerpc/ibm4xx: trap.c
Log Message:
Comment out badaddr() and badaddr_read() on ibm4xx for now.
They are not used nor exposed externally in any header file; these
functions
Module Name:src
Committed By: rin
Date: Fri Feb 21 13:32:31 UTC 2020
Modified Files:
src/sys/arch/powerpc/ibm4xx: trap.c
Log Message:
Comment out badaddr() and badaddr_read() on ibm4xx for now.
They are not used nor exposed externally in any header file; these
functions
Module Name:src
Committed By: skrll
Date: Fri Feb 21 13:33:07 UTC 2020
Modified Files:
src/sys/arch/alpha/alpha: prom.c
Log Message:
Use designated initialisers
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/alpha/alpha/prom.c
Please note
Module Name:src
Committed By: rin
Date: Fri Feb 21 13:16:16 UTC 2020
Modified Files:
src/sys/arch/powerpc/ibm4xx: pmap.c
Log Message:
In ppc4xx_tlb_find_victim(), mark kernel stack page TLBF_REF instead of
TLBF_USED. This should be originally intended behavior of this
Module Name:src
Committed By: rin
Date: Fri Feb 21 13:16:16 UTC 2020
Modified Files:
src/sys/arch/powerpc/ibm4xx: pmap.c
Log Message:
In ppc4xx_tlb_find_victim(), mark kernel stack page TLBF_REF instead of
TLBF_USED. This should be originally intended behavior of this
Module Name:src
Committed By: skrll
Date: Fri Feb 21 13:15:54 UTC 2020
Modified Files:
src/sys/arch/arm/fdt: cpu_fdt.c
Log Message:
Improve a comment
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/arm/fdt/cpu_fdt.c
Please note that diffs are
On 22.12.2019 20:47, Andrew Doran wrote:
> Module Name: src
> Committed By: ad
> Date: Sun Dec 22 19:47:35 UTC 2019
>
> Modified Files:
> src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_ctldir.c
> src/sys/kern: vfs_mount.c vfs_subr.c vfs_syscalls.c
>
Module Name:src
Committed By: skrll
Date: Fri Feb 21 13:15:54 UTC 2020
Modified Files:
src/sys/arch/arm/fdt: cpu_fdt.c
Log Message:
Improve a comment
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/arm/fdt/cpu_fdt.c
Please note that diffs are
Module Name:src
Committed By: rin
Date: Fri Feb 21 12:56:37 UTC 2020
Modified Files:
src/sys/arch/powerpc/include: param.h
Log Message:
Reduce UPAGES from 2 to 1 for ibm4xx, which was originally 1 and bumped
to 2 in rev 1.29:
Module Name:src
Committed By: rin
Date: Fri Feb 21 12:56:37 UTC 2020
Modified Files:
src/sys/arch/powerpc/include: param.h
Log Message:
Reduce UPAGES from 2 to 1 for ibm4xx, which was originally 1 and bumped
to 2 in rev 1.29:
Module Name:src
Committed By: skrll
Date: Fri Feb 21 12:41:29 UTC 2020
Modified Files:
src/sys/arch/mips/adm5120/dev: ahci.c
src/sys/dev/usb: ehci.c ohci.c uhci.c
src/sys/external/bsd/dwc2: dwc2.c
Log Message:
Fix a memory leak. Spotted by nat@
To
Module Name:src
Committed By: skrll
Date: Fri Feb 21 12:41:29 UTC 2020
Modified Files:
src/sys/arch/mips/adm5120/dev: ahci.c
src/sys/dev/usb: ehci.c ohci.c uhci.c
src/sys/external/bsd/dwc2: dwc2.c
Log Message:
Fix a memory leak. Spotted by nat@
To
On 20.02.2020 22:14, Jaromir Dolecek wrote:
> Module Name: src
> Committed By: jdolecek
> Date: Thu Feb 20 21:14:23 UTC 2020
>
> Modified Files:
> src/sys/kern: subr_autoconf.c
>
> Log Message:
> protect deferred lists' manipulation by config_misc_lock, same as
> config_pending
On 21.02.2020 07:20, Martin Husemann wrote:
> On Fri, Feb 21, 2020 at 03:01:45AM +0100, Kamil Rytarowski wrote:
>> I consider calling ncurses-dev essential as a bug.
>
> My knee jerk reaction was: if a unix compiler needs terminfo (especially
> when it only does that to create coloured unreadable
On 21.02.2020 09:17, Leonardo Taccari wrote:
> Kamil Rytarowski writes:
>> [...]
>> ./build.sh tools for LLVM is broken when host ships with no terminfo
>> devel libraries. I tried to disable this superfluous feature for tools
>> (for colors in a terminal), but it got reverted (breaking TNF rules)
Kamil Rytarowski writes:
> [...]
> ./build.sh tools for LLVM is broken when host ships with no terminfo
> devel libraries. I tried to disable this superfluous feature for tools
> (for colors in a terminal), but it got reverted (breaking TNF rules) here.
> [...]
Apart possible technical arguments,
75 matches
Mail list logo