Commit Graph

91 Commits

Author SHA1 Message Date
sommerfe 60a179e6aa Build fchroot and __getcwd syscall stubs 1999-03-22 17:56:42 +00:00
drochner a34eb7c1b7 use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriate
libc builds on pmax again
1999-02-24 15:05:20 +00:00
carrel 9933831d6d use clock_settime.2 not clock_settime.c in MAN 1999-02-11 20:42:49 +00:00
kleink 8c809f7e03 Document clock_settime(2) and friends. 1999-02-11 15:20:47 +00:00
christos d5eb9fa908 Adapt to the new signal changes. 1998-09-26 23:58:14 +00:00
thorpej 637dff3592 Wrappers around the indirected positional i/o system calls; the off_t
arguments must be padded.
1998-07-02 01:25:37 +00:00
thorpej bdad86fd0c Add pread(2), pwrite(2), preadv(2), pwritev(2) system calls. 1998-06-30 19:46:00 +00:00
christos 1fbae2369b Add stub for fktrace(2) 1998-06-27 21:22:56 +00:00
kleink 5896aedb44 Build fdatasync(2) stubs and manpage. 1998-06-08 14:17:29 +00:00
kleink b8ae64f983 Oops, silly typo in last commit. Sigh. 1998-02-14 20:19:35 +00:00
kleink a2e65602ea Generate syscall stubs for getsid() (from thorpej), __posix_chown(),
__posix_fchown() and __posix_lchown().
1998-02-14 20:18:12 +00:00
thorpej e6eb50fc11 Add getsid.2 1998-02-14 01:38:36 +00:00
perry a5c24028fa merge lite-2 1998-02-02 05:20:24 +00:00
thorpej 27a61de952 Add __vfork14.S and Lint___vfork14.c 1998-01-05 02:29:04 +00:00
kleink 5d7a8f4a16 Modify the recent sigaltstack() interface change to use the __RENAME() scheme;
add __sigaltstack14().
1997-11-29 18:38:20 +00:00
cgd 6a1e9744f2 sh makelintstub, rather than trying to execute it directly 1997-11-06 22:34:01 +00:00
cgd 435c105d59 lint stubs for assembly routines. 1997-11-05 23:37:06 +00:00
thorpej 66abcf57d6 Instead of creating a .ln for each syscall stub, create one (big) .ln
per class of syscall stubs.  This is much more efficient (though it's still
pretty inefficient).

This also fixes a problem with syscall.h and DESTDIR which was pretty
well buried in the old implementation.

From Chris Demetriou <cgd@pa.dec.com>.
1997-11-05 05:46:18 +00:00
lukem d0e23d974a - use CPPFLAGS instead of CFLAGS
- use ${COMPILE.C} ... instead of ${CC} ${CFLAGS} -c ...
1997-10-22 23:14:04 +00:00
thorpej 139064efd8 Fix an oversight in the previous. 1997-10-21 18:56:44 +00:00
thorpej 14cd99880c Fix the shared library versioning snafu caused by the recent changes
to the stat(2) family and msync(2).  This uses a primitive function
versioning scheme.

This reverts the libc shared library major version from 13 to 12, and
adds a few new interfaces to bring us to libc version 12.20.

From Frank van der Linden <fvdl@NetBSD.ORG>.
1997-10-20 22:05:06 +00:00
christos 473c5739fd Bring back swapon and getdirentries from libcompat. 1997-10-20 16:04:24 +00:00
enami 8f9f7c1f69 Fix typo; MLINKS are always constructed from pair of link src and dst.
- delete the line `MLINKS += swapctl.2'.
1997-10-18 12:27:08 +00:00
christos 84abd9f33b swapon migrated to libcompat 1997-10-16 23:12:30 +00:00
fvdl d9bc7315c5 Create getdirentries man page seperately now. 1997-10-12 23:06:53 +00:00
fvdl e03a6d4d3e Add new getdents() syscall, provide compat code for old getdirentries. 1997-10-10 02:15:44 +00:00
enami 67aed4b601 Add C library interface for new system call lchmod, lchown and lutimes. 1997-10-06 01:12:02 +00:00
chuck 1a99278044 import minherit from OpenBSD 1997-09-08 18:42:43 +00:00
mikel 45b9cc41fd feed makelintstub to sh, don't rely on x-bits 1997-08-25 05:07:43 +00:00
mikel 3694683be8 add link from swapon(2) to swapctl(2); from
<entropy@tardis.bernstein.com> in PR lib/4015
while I'm here, also move swapon.c to a more appropriate spot
1997-08-20 04:58:41 +00:00
mrg 7bc62c9a2d move swapon() stub here 1997-06-12 22:39:15 +00:00
mrg 552af779d2 bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:46:19 +00:00
cjs ce91a5dfce Back out BUILDDIR change. 1997-05-31 22:38:59 +00:00
kleink 1dd65e81d9 DESTDIR -> BUILDDIR 1997-05-30 21:36:26 +00:00
jonathan 7a5244ba6c Delete hanging .if left by patch. 1997-05-24 03:02:12 +00:00
jonathan 346af6eeff More table-driven changes: split CPICFLAGS into separate flags, to
support the two different incompatible rules for build .so files from
.S source on both NetBSD and binutils toolchains:

	 ${CPP} | ${AS} for syscalls
	 ${CC}   	for non-syscalls
for which the different toolchains's ${AS}  requires diffferent flags.
1997-05-24 01:42:36 +00:00
kleink 05aaaac188 Precede the dependency on /usr/include/sys/syscall.h with ${DESTDIR};
fixes PR/3595 from dave@comp.vuw.ac.nz (Dave Sainty).
1997-05-14 13:33:23 +00:00
kleink 3cfcf494cd Use PSEUDO_NOERROR() for _exit(): it never returns. 1997-05-02 18:16:50 +00:00
jtc ef676dcc1a Add stubs which set errno to ENOSYS and return -1 for the POSIX.1b
timer_* API.  This was done to avoid bumping the libc minor number
each time a new portion is implemented.

This should be extended to the entire .1b API, although that will
require minor header file modifications to add the required structure
and type definitions.
1997-04-17 19:07:15 +00:00
jtc 3bfc110d1d Add nanosleep 1997-04-17 18:13:41 +00:00
mikel cf6ca2ec52 oops, realphabetize manpages 1997-04-01 07:50:19 +00:00
christos 98931492ff PR/3410: NAKAJIMA Yoshihiro: Add futimes.2 link 1997-03-29 21:35:45 +00:00
thorpej 71f8c85449 PowerPC uses new binutils, as well. 1997-03-29 21:07:19 +00:00
mikel f07e47bdb6 add ktrace(2), don't segregate SYSV IPC manpages, and add link for shmdt(2) 1997-03-27 02:39:15 +00:00
cgd 132d3e56e8 add LASM, LNOERR, and LPSEUDO variables, analogous to e.g. PASM, PNOERR, and
PPSEUDO but for .ln files rather than .po files.  Add the new variables
to LOBJS, as well.  The rules to build those objects them call a helper
script (sys/makelintstub) and pipe the result to lint.  Unfortunately,
dependency handling for these built .ln files is a bit sub-optimal right
now, but that can be fixed later.
1996-12-22 11:37:37 +00:00
jtc 75eaaaa282 Add clock_* and ntp_* syscalls 1996-11-19 02:48:26 +00:00
mycroft c9ec05f4b2 Treat reboot() like a normal system call. From PR 2458. 1996-11-11 13:41:08 +00:00
perry a0028dc022 Remove spurious clock_* syscalls that got committed last night. They
broke shared libc's very badly. (Okayed by thorpej).
1996-10-19 18:42:12 +00:00
jtc 4f35ae26fc Generate syscall functions which can never fail (getgid, getegid, geteuid,
getpid, getppid, ...) with new RSYSCALL_NOERROR macro which has been added
to the SYS.h header of each port.
1996-10-19 00:54:22 +00:00
cgd 4cd050e74f temporary hack until better support for multiple toolchains is in the tree:
build SASM and SPSEUDO on the alpha without the '-k' flag to the assembler,
since -k is a flag specific to NetBSD's hacked assembler.
1996-10-13 20:28:55 +00:00