[Bug 230175] sched_rr_get_interval(9) fails in 32-bit emulation
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 30 01:57:03 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230175
Bug ID: 230175
Summary: sched_rr_get_interval(9) fails in 32-bit emulation
Product: Base System
Version: CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: asomers at FreeBSD.org
sched_rr_get_interval fails in 32-bit emulation. It's supposed to fetch a
timespec from kernelspace to userspace. But it fetches the seconds value into
the nanoseconds field. To reproduce, run the i386 build of
lib/librt/sched_test:sched_rr_get_interval_2 on a system with an amd64 kernel.
For example:
$ sudo chroot /root32 /bin/sh
# cd /usr/tests/lib/librt
# kyua debug sched_test:sched_rr_get_interval_2
sched_test:sched_rr_get_interval_2 -> failed:
/usr/home/somers/freebsd/base/head/contrib/netbsd-tests/lib/librt/t_sched.c:237:
tv1.tv_sec == tv2.tv_sec not met
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list