CSS/Harvard 2.9BSD bug report #5

Keith Bostic keith at seismo.CSS.GOV
Wed Sep 18 15:33:03 AEST 1985


Subject: sys.s is missing.
Index:	include/sys.s 2.9BSD

Description:
	The file usr/include/sys.s is missing.
Repeat-By:
	Look for it, or try to recompile certain parts of the source.
Fix:
	Take the one below, or the one from the original 2.9 distribution
	tape.  Either one is okay.  Incidentally, try to use this rather
	than explicit values.  These numbers *are* subject to change,
	for reasons of compatibility or expansion.

... cut here for include/sys.s ...
indir		=  0.
exit		=  1.
fork		=  2.
read		=  3.
write		=  4.
open		=  5.
close		=  6.
wait		=  7.
creat		=  8.
link		=  9.
unlink		= 10.
exec		= 11.
chdir		= 12.
time		= 13.
mknod		= 14.
chmod		= 15.
chown		= 16.
break		= 17.
stat		= 18.
lseek		= 19.
getpid		= 20.
mount		= 21.
umount		= 22.
setuid		= 23.
getuid		= 24.
stime		= 25.
ptrace		= 26.
alarm		= 27.
fstat		= 28.
pause		= 29.
utime		= 30.
smdate		= 30.
stty		= 31.
gtty		= 32.
access		= 33.
nice		= 34.
sleep		= 35.
ftime		= 35.
sync		= 36.
kill		= 37.
csw		= 38.
setpgrp		= 39.
dup		= 41.
pipe		= 42.
times		= 43.
profil		= 44.
getgrp		= 45.
setgid		= 46.
getgid		= 47.
signal		= 48.
rtp		= 49.
setgrp		= 50.
acct		= 51.
phys		= 52.
lock		= 53.
ioctl		= 54.
reboot		= 55.
mpx		= 56.
vfork		= 57.
setinf		= 59.
exece		= 59.
local		= 58.		/ local system call indirect
umask		= 60.
getinf		= 60.
chroot		= 61.

/ local system calls

login		=  1.		/ mark login process
lstat		=  2.		/ like stat, but don't follow symbolic links
submit		=  3.		/ submit
nostk		=  4.		/ release stack segment
killbkg		=  5.		/ kill background processes
killpg		=  6.		/ kill process group
renice		=  7.		/ change a process's nice
fetchi		=  8.		/ fetch from user I space
ucall		=  9.		/ call a kernel subroutine
quota		= 10.		/ set quota
qfstat		= 11.		/ long fstat (for quotas)
qstat		= 12.		/ long stat (for quotas)

gldav		= 14.		/ get load average
fperr		= 15.		/ read floating point error registers
vhangup		= 16.		/ virtually hang up a control terminal

select		= 18.		/ select active fd
gethost		= 19.		/ get host name
sethost		= 20.		/ set host name
socket		= 21.		/ get socket fd
connect		= 22.		/ connect socket
accept		= 23.		/ accept socket connection
send		= 24.		/ send datagram
receive		= 25.		/ receive datagram
socketa		= 26.		/ get socket address
setreuid	= 27.		/ set real user id
setregid	= 28.		/ set real group id
symlink		= 29.		/ create symbolic link
readlink	= 30.		/ read symbolic link
gethstid	= 31.		/ get host id
sethstid	= 32.		/ set host id
getgroups	= 33.		/ get list of user's groups
setgroups	= 34.		/ set list of user's groups
getdtablesize	= 35.		/ get descriptor table size



More information about the Comp.bugs.2bsd mailing list