Second phase of changes to remove ntp_adjtime(2) from the kernel entirely if

NTP is not defined.

Also removes sysctl_ntptime, since that's unreferenced without NTP.

ntp_gettime(2) is left alone, since it doesn't raise SIGSYS, which sys_nosys()
This commit is contained in:
bjh21 2000-08-07 18:11:55 +00:00
parent 24f9914cb3
commit a62a24f2af
2 changed files with 8 additions and 4 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscall.h,v 1.108 2000/04/21 16:16:16 minoura Exp $ */
/* $NetBSD: syscall.h,v 1.109 2000/08/07 18:11:55 bjh21 Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.100 2000/04/17 14:31:22 mrg Exp
* created from NetBSD: syscalls.master,v 1.102 2000/08/07 17:59:33 bjh21 Exp
*/
/* syscall: "syscall" ret: "int" args: "int" "..." */
@ -441,6 +441,7 @@
/* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */
#define SYS_ntp_adjtime 176
/* 176 is excluded ntp_adjtime */
/* syscall: "setgid" ret: "int" args: "gid_t" */
#define SYS_setgid 181

View File

@ -1,10 +1,10 @@
/* $NetBSD: syscallargs.h,v 1.89 2000/04/21 16:16:16 minoura Exp $ */
/* $NetBSD: syscallargs.h,v 1.90 2000/08/07 18:11:55 bjh21 Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.100 2000/04/17 14:31:22 mrg Exp
* created from NetBSD: syscalls.master,v 1.102 2000/08/07 17:59:33 bjh21 Exp
*/
#ifndef _SYS__SYSCALLARGS_H_
@ -1381,7 +1381,10 @@ int compat_10_sys_shmsys __P((struct proc *, void *, register_t *));
int sys_pread __P((struct proc *, void *, register_t *));
int sys_pwrite __P((struct proc *, void *, register_t *));
int sys_ntp_gettime __P((struct proc *, void *, register_t *));
#if defined(NTP) || !defined(_KERNEL)
int sys_ntp_adjtime __P((struct proc *, void *, register_t *));
#else
#endif
int sys_setgid __P((struct proc *, void *, register_t *));
int sys_setegid __P((struct proc *, void *, register_t *));
int sys_seteuid __P((struct proc *, void *, register_t *));