Commit Graph

39 Commits

Author SHA1 Message Date
jtc d22cdecb45 Add clock_gettime, clock_settime, and clock_getres 1996-11-15 22:44:25 +00:00
thorpej 9d9479eb2f Make ntp_gettime() and ntp_adjtime() like other system calls:
- The functions that implement them and the argument names are
  prepended with "sys_".
- Optional systems calls are "UNIMPL" if the support is not being
  compiled into the kernel.
1996-11-14 04:51:09 +00:00
jtc 16fe807b60 renamed sys_getlogin to sys___getlogin. required by libc namespace conventions 1996-09-19 04:52:12 +00:00
mycroft cdd2b02b50 Modify poll(2) prototype. 1996-09-07 14:16:42 +00:00
mycroft 2bc736661a Implement poll(2). 1996-09-07 12:40:22 +00:00
mrg 5abbf990f3 Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models.  It is currently silently ignored on all other
hardware now, however.  The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
mycroft 351bdbd445 Implement setre[ug]id() compatibly with 4.3BSD, SunOS, and Linux. 1996-06-23 11:04:11 +00:00
mycroft af747826c6 Add futimes(), at position 206. 1996-04-23 10:24:21 +00:00
jonathan e7ef034c05 Add NTP kernel precision timekeeping from Dave Mill's xntp distribution
and the "kernel.tar.Z" distribution on louie.udel.edu, which is older than
xntp 3.4y or 3.5a, but contains newer kernel source fragments.

This commit adds support for a new kernel configuration option, NTP.
If NTP is selected, then the system clock should be run at "HZ", which
must be defined at compile time to be one value from:
  60, 64, 100, 128, 256, 512, 1024.

Powers of 2 are ideal; 60 and 100 are supported but are marginally less
accurate.

If NTP is not configured, there should be no change in behavior relative
to pre-NTP kernels.

These changes have been tested extensively with xntpd 3.4y on a decstation;
almost identical kernel mods work on an i386.  No pulse-per-second (PPS)
line discipline support is included, due to unavailability of hardware
to test it.

With this in-kernel PLL support for NetBSD, both xntp 3.4y and xntp
3.5a user-level code need minor changes. xntp's prototype for
syscall() is  correct for FreeBSD, but not for NetBSD.
1996-02-27 04:20:30 +00:00
cgd a2ce90f34c change definition of profil() to make it 64-bit friendly. This has
no practical consequence on 32-bit systems.  old prototype was
int profil(char *, int, int, int), and new one is int profile(char *,
size_t, u_long, u_int).  the size_t is the size of the buffer,
and the u_long is the 'starting offset'.  (I changed the last int
to u_int, because it's treated as a u_int everywhere, and isn't
logically a signed value.)
1995-11-22 23:07:19 +00:00
mycroft 44a38d8470 Add aliases for all compat functions. 1995-10-10 01:32:53 +00:00
mycroft 245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
mycroft 57e6889435 Make memory map syscalls consistently use size_t. 1995-03-09 17:28:28 +00:00
cgd dfa90d1c7f obsolete resuba, per ragge. 1995-01-06 00:08:17 +00:00
mycroft fcef736c87 Add undelete syscall, per CSRG. 1994-12-14 16:29:54 +00:00
mycroft 452508f874 Fix typos. 1994-10-21 00:14:36 +00:00
cgd 6b86130410 update for new syscall args description mechanism 1994-10-20 04:22:35 +00:00
cgd cf92afd66e New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
cgd eea64debf1 make getdtablesize COMPAT_43; should be COMPAT_44 or _09, but that has probs 1994-06-14 05:18:03 +00:00
mycroft 699bbb84b6 Update to 4.4-Lite fs code. 1994-06-08 11:28:29 +00:00
cgd e37f8e4023 add support for 'NCOMPAT' to deal with NetBSD compat defines 1994-05-17 00:00:46 +00:00
cgd 2046e01e40 do the syscall shuffle. this is most of the rest 1994-05-07 00:39:06 +00:00
cgd 4d3fb006eb kill damned off_t weirdness, also upgrade get- and setrlimit. 1994-05-01 05:02:24 +00:00
cgd 6029e550f1 kill 'aliases' 1994-04-29 04:29:14 +00:00
cgd 551e92c16a start to phase out temp. off_t syscalls 1994-04-16 23:19:06 +00:00
cgd 2396958784 kill two LIBCOMPATs 1994-04-07 00:15:29 +00:00
cgd 8abbe136e3 some temporary syscall shuffling 1994-04-02 08:03:17 +00:00
cgd 4a28c23c2f do the syscall shuffle 1994-03-27 08:34:59 +00:00
cgd ba8c3b1ce4 move LKM syscalls to 210 -> 219, and fix comment 1994-03-08 23:57:00 +00:00
deraadt 9dd14b7930 make syscall#0 "syscall", like in 4.4 (causes SYS_syscall to be defined) 1993-12-12 19:28:21 +00:00
cgd 02d6aea5bf Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 13:08:09 +00:00
mycroft c05111e593 Put back the $'s in the RCS id that the last commit removed. 1993-10-02 09:51:40 +00:00
brezak 1905040ad2 Add sysarch() syscall. 1993-09-19 18:55:38 +00:00
cgd 57d3a6d525 add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!
1993-06-07 19:51:59 +00:00
cgd 230dcf0d05 add $Id$ strings, and clean up file headers where necessary 1993-05-20 02:54:09 +00:00
cgd f9350c73f0 getpgrp actually takes void. ask the IEEE... 1993-05-16 01:51:51 +00:00
cgd c5d886aff7 diffs for uname (posix!) system call, provided by John Brezak <brezak@osf.org> 1993-05-06 10:46:12 +00:00
glass 550b9e0bef forgot to update syscalls.master. the makesyscalls.sh generated stuff
is now updated
1993-04-10 20:27:10 +00:00
glass 8d58080ba3 used by makesyscalls.sh to produce init_sysent.c, syscalls.c ../sys/syscall.h
edit this to add/delete/ifdef system calls
1993-04-06 10:39:51 +00:00