Subject: kern/1765: changes to syscalls.master to better support kernel configs
To: None <gnats-bugs@gnats.netbsd.org, bwalker@musings.com>
From: None <bwalker@musings.com>
List: netbsd-bugs
Date: 11/15/1995 21:03:21
>Number:         1765
>Category:       kern
>Synopsis:       changes to syscalls.master to better support kernel configs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 16 00:35:04 1995
>Last-Modified:
>Originator:     Brad Walker
>Organization:
	Digital Musings, Inc.
>Release:        gnats-3.95
>Environment:

NetBSD netbsd 1.0A NetBSD 1.0A (SUN4C) #0: Wed Oct 18 02:10:10 PDT 1995

>Description:
	When a user configures out an option then the kernel shouldn't
	include the system call entry points. Nor should it include
	the system option. That's the point of configuring it out of
	the system.

>How-To-Repeat:
	
>Fix:
*** syscalls.master	Tue Nov 14 20:13:15 1995
--- syscalls.master.orig	Tue Nov 14 20:13:38 1995
***************
*** 223,233 ****
  			    otruncate
  130	COMPAT_43	{ int sys_ftruncate(int fd, long length); } oftruncate
  131	STD		{ int sys_flock(int fd, int how); }
- #if defined(FIFO)
  132	STD		{ int sys_mkfifo(char *path, int mode); }
- #else
- 132	UNIMPL
- #endif
  133	STD		{ int sys_sendto(int s, caddr_t buf, size_t len, \
  			    int flags, caddr_t to, int tolen); }
  134	STD		{ int sys_shutdown(int s, int how); }
--- 223,229 ----
***************
*** 249,262 ****
  			    struct ogetrlimit *rlp); } osetrlimit
  146	COMPAT_43	{ int sys_killpg(int pgid, int signum); } okillpg
  147	STD		{ int sys_setsid(void); }
- #if defined(QUOTA)
  148	STD		{ int sys_quotactl(char *path, int cmd, int uid, \
  			    caddr_t arg); }
  149	COMPAT_43	{ int sys_quota(void); } oquota
- #else
- 148	UNIMPL
- 149	UNIMPL
- #endif
  150	COMPAT_43	{ int sys_getsockname(int fdec, caddr_t asa, \
  			    int *alen); } ogetsockname
  
--- 245,253 ----

>Audit-Trail:
>Unformatted: