tv
128278661c
Don't even put Lint*.c in DPSRCS if MKLINT=no.
2002-01-29 19:01:18 +00:00
thorpej
ac8c1c29e9
* Add WSYSCALL() to SYS.h, which creates a system call with an
...
internal name and a weak alias for the name.
* Add a WEAKASM syscall list, and process it.
* Make sysarch() have an internal name (_sysarch()).
2002-01-14 00:55:55 +00:00
tv
7df9c95b77
Only put LintSys*.c in DPSRCS; the others are static files.
2001-11-13 19:16:41 +00:00
tv
c750bb2e19
Clean up a little more (DPSRCS already goes in CLEANFILES; reduce
...
redundancy of DPSRCS).
2001-11-13 18:57:47 +00:00
tv
75b1d2a008
No need for the .for in this case (holdover from earlier noncommitted
...
version of the simplification).
2001-11-13 18:46:17 +00:00
tv
f4381c7fc4
Make previous a bit cleaner, too: just refer to all these files by the
...
.S extension; no need to do all the :.o=.S transforms.
2001-11-13 16:03:53 +00:00
tv
c22bb3e6fb
Fix backslash typo in previous.
2001-11-13 15:20:34 +00:00
tv
2eb12ec596
Make the generation of syscall stubs a lot more reliable by generating real
...
`.S' files and letting <bsd.sys.mk> and <bsd.lib.mk> compile them like every
other .S file. The compilation options passed to ${CC} are still correct.
Also make sure LintSysPseudoNoerr.c gets removed on "make clean".
2001-11-13 15:12:01 +00:00
manu
54c0ce6119
Added support to use the clockctl driver if present for adjtime(),
...
clock_settime(), ntp_adjtime() and settimeofday(). The super-user still
always use the plain system call.
Approved by Christos
2001-09-16 07:41:56 +00:00
christos
3282ceb944
Add __clone.S
...
XXX: This breaks the x86_64 port. Frank are you there?
2001-09-08 00:55:00 +00:00
wiz
728ad2926a
Add ntp_adjtime(2) and ntp_gettime(2) man page.
2001-09-06 00:18:18 +00:00
thorpej
4177d25e14
Build __clone.S, the Lint stubs, and the manual pages.
...
Yes, I know now all ports have a __clone() stub yet, but this
will force the issue -- they don't get to build their libc until
they implement it.
Implementers are encouraged to use the regression test for it
in src/regress/lib/libc/clone.
2001-07-18 23:03:10 +00:00
kleink
950c0fd37b
Document fchroot(2).
2001-04-18 08:28:10 +00:00
jdolecek
f43afc04fe
add utrace(2)
2001-01-05 21:49:47 +00:00
matt
44e25a6200
Add __syscall.S back to sys/Makefile.inc. Remove from arch/i386/gen/
...
Makefile.inc. If your architecture doesn't have __syscall.S, *add it*.
2000-12-13 07:42:47 +00:00
simonb
0e35eedd7e
Move __syscall.S to the arch specific Makefile.inc's where it is
...
implemented.
2000-12-12 22:38:42 +00:00
mycroft
731305d114
Handle __syscall() in user-level code for i386.
2000-12-10 21:27:37 +00:00
kleink
82fd76bb06
Need an internal name for pipe(2).
2000-09-28 08:38:53 +00:00
enami
bf53880ad5
Create link to lchflags.[02].
2000-07-08 00:53:39 +00:00
itohy
af83a97717
Add special treatment of shmat(2).
...
On m68k ELF calling standard (__SVR4_ABI__), if a function
returns a pointer, the return value should go to a0 as well as d0.
2000-07-07 08:20:50 +00:00
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