Commit Graph

174 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
cgd
77c263426a oops, forgot to delete 1994-05-08 04:35:22 +00:00
cgd
8b8a31862e update for present reality. shlib version number bump (last for a bit) 1994-05-07 04:11:08 +00:00
jtc
e15ede0fe3 revoke(2) manpage 1994-05-07 00:35:36 +00:00
cgd
33b1618a57 rlimit stuff, and more. bump shlib major, for rlimit change, and for
safety (now that hackish off_t stuff gone completely.)
1994-05-04 02:30:39 +00:00
jtc
2c861674c4 First cut at a setsid(2) manual page. 1994-04-15 22:48:01 +00:00
cgd
5f0c20b37b fix typo; from Thomas Eberhardt 1994-04-09 22:57:32 +00:00
cgd
46a40b386f M-x shuffle-functions-and-documentation
basically, move things around so documentation is in the correct place,
and bump appropriate functions into the 'compat' section.
1994-04-06 23:29:29 +00:00
cgd
ae0bb68985 stubs, to get the padding right. so nasty it's almost unbelievable.
also, kill "special lseek" bogon.
1994-04-02 05:38:15 +00:00
mycroft
5e7902055e Add lseek.S to SRCS. 1994-03-31 18:39:41 +00:00
cgd
0ada107897 update for .S and MACHINE_ARCH 1993-12-04 02:33:35 +00:00
mycroft
6b9d227409 MLINKS+=setpgid.2 setpgrp.2
Noticed by Poul-Henning Kamp <phk@data.fls.dk>.
1993-11-21 19:32:11 +00:00
cgd
5e9b346b27 Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
1993-11-14 12:40:23 +00:00
cgd
41ec5a7f5c adding sysarch() man page 1993-10-12 02:16:33 +00:00
cgd
0b9f50897e make an arch directory in libc, and move all machine dirs into it 1993-10-07 00:17:24 +00:00
pk
0c44ab58a7 Support for making PIC versions of the system call stubs. 1993-09-29 01:27:10 +00:00
brezak
6b9e025ea9 Add sysarch() syscall. 1993-09-19 18:51:55 +00:00
brezak
979015728c Add syscall stubs for SYSV Shared Memory. 1993-08-25 02:50:51 +00:00
mycroft
ca08320ae9 We shouldn't be diddling POBJS and CLEANFILES. bsd.lib.mk already does the
Right Thing.
1993-08-16 04:16:33 +00:00
mycroft
6fdbcf4e88 For some reason, substitution on variables doesn't seem to work in a target
list.  I don't think I want to know why.
1993-08-16 03:32:58 +00:00
mycroft
990ccb9207 Separate rules for .o and .po files. The previous method just caused too
many problems.
1993-08-16 02:44:19 +00:00
mycroft
cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +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
deraadt
355265a866 added: the entire domainanme set. domainmame(1), domainname(2), and a spiffy
man page.
1993-04-02 12:24:21 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00