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: b...@freebsd.org
          Reporter: asom...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to