Subject: kern/5906: enable nanosleep(2) in Linux emulation
To: None <gnats-bugs@gnats.netbsd.org>
From: None <soren@t.dk>
List: netbsd-bugs
Date: 08/04/1998 18:57:15
>Number: 5906
>Category: kern
>Synopsis: enable nanosleep(2) in Linux emulation
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 4 10:05:01 1998
>Last-Modified:
>Originator: Soren S. Jorvang
>Organization:
Soren
>Release: -current
>Environment:
System: NetBSD 1.3F i386
>Description:
NetBSD now has nanosleep(2), so the Linux emulation should
have it enabled.
>How-To-Repeat:
Run Linux binary that calls nanosleep(2).
>Fix:
--- src/sys/compat/linux/syscalls.master.orig Tue Aug 4 18:54:53 1998
+++ src/sys/compat/linux/syscalls.master Tue Aug 4 02:53:55 1998
@@ -253,6 +253,8 @@
159 UNIMPL sched_get_priority_max
160 UNIMPL sched_get_priority_min
161 UNIMPL sched_rr_get_interval
-162 UNIMPL nanosleep
+162 NOARGS { int sys_nanosleep(const struct timespec *rqtp, \
+ struct timespec *rmtp); }
163 STD { void *linux_sys_mremap(void *old_address, \
size_t old_size, size_t new_size, u_long flags); }
>Audit-Trail:
>Unformatted: