christos
6c2fd36998
Fixed debug printf format args.
1996-03-30 22:37:52 +00:00
christos
eb13d0121e
- fixed wrong argument order in xmknod
...
- added proper support for {f,}pathconf
1996-02-10 17:12:31 +00:00
christos
b50214e2fa
use %p in printf's instead of casts to (unsigned int)
1996-02-10 00:48:08 +00:00
christos
1b17f25866
fix prototype warnings
1996-02-09 23:12:14 +00:00
mycroft
f19761346e
Do the previous change a little differently.
1996-02-02 08:09:45 +00:00
christos
9840c3ca68
Add xmknod()
1996-02-02 01:17:24 +00:00
mycroft
99686e0059
Add a vnode** argument to getvnode(), prototype it, and make it return
...
EBADF if the file descriptor has been revoked.
1996-01-30 20:05:33 +00:00
christos
a4e2f7532a
- Added msgsys, shmsys and semsys... MITSHM needs shmsys, so X applications
...
that used that would fail.
- Propagated all the fixes from the fully prototyped kernel.
1995-10-14 20:24:14 +00:00
mycroft
652c9eff74
Use cookies for directory offset, mostly from Greg Hudson.
1995-10-09 11:23:57 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
thorpej
eecd40e854
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 22:10:11 +00:00
mycroft
1e69f23205
Export bsd_to_svr4_sig[], and use it.
1995-08-14 02:07:57 +00:00
christos
ed63c665eb
- make svr4_break() identical to obreak(). We still keep the code here,
...
to do some more testing.
- add POSIX.4 sysconfig options [we don't support them, but we don't
return EINVAL too]
- More kludges in the interpeter load address. I hope I escape the kludge
police...
1995-07-02 06:16:06 +00:00
christos
294f607d50
Fix alignment of svr4_getdents, so that it works for solaris2.4/sparc
1995-07-01 23:42:54 +00:00
christos
68328ddcdd
Fixes for Solaris-2.4/sparc dynamically linked binaries.
...
We can now run them, but:
1. setcontext() causes a panic so binaries that receive signals
crash the machine [something is wrong with the register setup].
sleep 10 ==
Watchdog reset
Data Access Exception
Type help for more information
ok
2. csh says "unknown software trap a7".
3. ls gives us a bus error.
4. ldd works :-)
But I solved the problem that had been bothering me for weeks :-)
1995-06-27 22:12:47 +00:00
christos
d0169ce44a
Use compat_util.[ch]
1995-06-24 20:29:17 +00:00
mycroft
abd4cc9991
Remove /dev/zero special case. It's done in mmap().
1995-06-10 22:45:15 +00:00
christos
ee05f066e8
1. siginfo stuff torn out from wait.h to be used by the MI portion of the code.
...
2. many termio, ioctl, sigaction fixes
3. better socket type emulation; still ticotsord [the loopback interface I
guess] does not work properly on svr4 4.1.
4. new gettimeofday, fixed utssys..
5. rmdir and mkdir were swapped in syscalls.master
1995-03-31 03:06:17 +00:00
christos
dbcb84b7e1
Added sigaltstack, ioctl(I_NREAD)
...
Replaced syssun with svr4_sysarch()
1995-02-01 01:37:33 +00:00
christos
5a54340166
Make siginfo structure a union for clarity. Fix incorrect settings of
...
the siginfo_t in the waitid() system call.
1995-01-25 04:17:06 +00:00
christos
279d6f3237
wait(2): Put the status in retval[1] as solaris expects it there
...
avoid infinite loop when looking for / [since it used to return /emul/svr4],
by returning the real root.
1995-01-22 23:44:48 +00:00
christos
22572ffee9
More debugging for waitsys()
...
Fixed uname which was broken since 1.0.
Added timod/getinfo stream ioctl.
Fixed TIOC{G,S}PGRP
Fixed typo in the flags translation
1995-01-10 00:04:03 +00:00
christos
9033addb0c
Job control fixes... Still not working, but better
1995-01-09 01:04:18 +00:00
christos
ff6fb90722
Fixed waitsys().
...
Fixed time functions.
Added alarm(), contextsys(), sigaction(), kill(), statvfs(), fstatvfs()
1995-01-08 21:31:34 +00:00
christos
2859b1c634
Rework streams emulation so that it does not rely on non portable hacks.
...
We keep streams state in so->so_ptcb; this field is unused in all the kernel.
Fix poll(2) timeout computation; add hrtsys and waitsys syscalls.
1994-11-18 02:53:37 +00:00
christos
25ef6e1436
More functionality and bug fixes
1994-11-14 06:10:37 +00:00
christos
f46f498d53
Changed code to KNF, removed global variable per cgd's request.
1994-10-29 00:43:14 +00:00
christos
afffe1aaf8
Fixed Charles suggestions:
...
1. always do the stackgap_init()/CHECKALT first in syscalls that need it.
2. svr4_emul_find() uses malloc for the buf, does not use copyoutstr, but
copyout().
Removed makesyscalls.sh; it was really old and we don't need a separate copy.
1994-10-26 11:58:24 +00:00
cgd
69d2deb545
new RCS ID format.
1994-10-26 05:27:43 +00:00
deraadt
b415eb1d1d
new from christos
1994-10-24 17:37:34 +00:00
cgd
74d7436a91
pay a small amount of lip service to the new syscall args mechanism.
...
In reality, none of these will compile.
1994-10-20 04:47:31 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
deraadt
932345acae
post 4.4-lite update
1994-06-24 07:30:17 +00:00
deraadt
95c2509dcd
maxfdescs -> maxfiles
1994-05-24 03:27:13 +00:00
cgd
8ecf3dc2cc
this file came from sun_misc.c
1994-05-22 10:46:33 +00:00
deraadt
a0ca154be4
prelim svr4 stuff from <christos@deshaw.com>
1994-05-22 10:04:26 +00:00