Subject: lib/2458: libc/reboot() definition
To: None <gnats-bugs@NetBSD.ORG>
From: None <r_friedl@informatik.uni-kl.de>
List: netbsd-bugs
Date: 05/22/1996 16:34:56
>Number:         2458
>Category:       lib
>Synopsis:       libc/reboot()  definition
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 22 11:05:00 1996
>Last-Modified:
>Originator:     Ralf Friedl
>Organization:
>Release:        NetBSD-current 960414
>Environment:
System: NetBSD 1.1B i386


>Description:
The reboot system call in libc/arch/i386/sys/reboot.S is:

SYSCALL(reboot)
        iret

Other architectures also do strange things.  Reboot should be treated
like most other syscalls.

>How-To-Repeat:
>Fix:
In lib/libc/sys/Makefile.inc
	remove reboot.S from SRCS
	add reboot.o to ASM
Remove lib/libc/arch/*/sys/reboot.S
>Audit-Trail:
>Unformatted: