Commit Graph

104 Commits

Author SHA1 Message Date
kleink b8a4d7adf9 Need an internal name for fork(). 2000-06-26 06:32:54 +00:00
kleink 03f996bd0c Add internal names for brk() and sbrk(). 2000-06-23 15:40:36 +00:00
perseant 7438415348 Add man pages for LFS syscalls 2000-05-24 21:54:59 +00:00
minoura 8bffa1abc1 issetugid(2) manpage. 2000-04-21 16:39:23 +00:00
minoura 599d65f132 New syscall issetugid. 2000-04-21 16:24:22 +00:00
mrg a6f7a7855f implement lchflags(2), which does the chflags(2) dance without following
symlinks, and thus can operate on symlinks.  remove a bogus comment in
chflags(1) that claims symlinks do not have file flags.

XXX: todo -- make chflags(1) use lchflags(2) when given the right options.
2000-04-17 14:31:21 +00:00
christos 618e1b5628 Add a userland stub to do the union semun -> union semun * redirection. 2000-01-31 15:14:19 +00:00
is cff7bedd54 Actually profile system calls.
Problem and most of the fix reported by Anders Hjalmarsson in PR 4976; libposix
mentioned by Chris G. Demetriou.
1999-10-27 14:58:28 +00:00
thorpej 30dca7f7db Add __msgctl13(), __semctl13(), and __shmctl13() (symbols are __RENAME()'d
in their respective header files).  Add PSEUDO stubs for the old versions
of these system calls.

Note that __semctl13() doesn't require the extra stub that the old
semctl()/__semctl() did, as the SUSv2 version takes variable arguments,
and thus does not require the extra indirection.
1999-08-25 05:09:27 +00:00
sommerfeld 311927221b Build system call stubs using system includes from ${DESTDIR}/usr/include
if DESTDIR is set.
This allows you to build a working libc which include syscall stubs
for new syscalls not defined in /usr/include/sys/syscall.h
1999-07-04 15:46:10 +00:00
wrstuden 1d74ac18fa Give fhopen, fhstat, and fhstatfs a man page. 1999-06-30 01:32:14 +00:00
wrstuden e401af6e26 Add fhopen, fhstat, and fhstatfs syscall stubs. 1999-06-29 22:22:06 +00:00
thorpej 694cc23026 Add mlockall(2)/munlockall(2). 1999-06-15 23:31:19 +00:00
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