Commit Graph

74 Commits

Author SHA1 Message Date
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
jtc 6c68d47b78 Renamed _getlogin syscall to __getlogin, as _getlogin is the namespace
clean name for getlogin.

Moved _getlogin.o (now __getlogin.o) from PSEUDO to ASM, as this
syscall really does have a return value (although it will "always"
succeed since it should only be called from libc's getlogin())
1996-09-19 04:50:02 +00:00
mycroft 52528cc4f8 Add a poll(2) man page. 1996-09-07 19:05:32 +00:00
mycroft 65e2460e9e Build a stub for poll(2). 1996-09-07 14:25:51 +00:00
mrg 9c0b5cc2eb reboot(2)/getpgid(2) changes. 1996-08-09 14:10:45 +00:00
mycroft 601306abca Resurrect the setre[ug]id() stubs. 1996-06-23 11:52:49 +00:00
mycroft e376b17fef Build a stub for futimes(). 1996-04-23 10:42:30 +00:00
jtc 15ad6704b0 SysV IPC manpages from Frank van der Linden 1995-10-16 23:49:07 +00:00
christos d0749900af Don't write a.out files; breaks parallel makes. 1995-09-25 00:57:28 +00:00
cgd 2493ac526d fix typo, and the fact that i was using a large xterm 1995-02-27 13:22:55 +00:00
cgd c67e54a2e2 clean up merge, fix Id's 1995-02-27 11:22:54 +00:00
mycroft e0354b7995 Build undelete(2) stub. 1994-12-28 01:42:56 +00:00
cgd ae9172d6cd specify man pages the new way. 1994-12-22 09:57:51 +00:00
deraadt 283e16a22b ptrace(2) by der mouse; not checked for accuracy 1994-11-14 06:26:44 +00:00
cgd 04a4b7684b make the sysv functions real syscalls. 1994-10-20 04:17:05 +00:00
jtc 8c740dbc32 Convert getdtablesize() from syscall to function 1994-06-14 03:54:48 +00:00
cgd 809de843f3 oops; forgot man page 1994-06-13 00:13:48 +00:00
cgd 3943fb37c8 kill async_daemon; it's dead now 1994-06-12 22:58:03 +00:00