cgd
ce48e523d6
kill some redundant (and harmful) static definitions of functions
1995-08-19 04:04:50 +00:00
mycroft
c331c7be82
Rename ss_flags bits.
1995-08-15 16:52:30 +00:00
mycroft
10c06fe363
Prototype some functions.
1995-08-14 02:22:20 +00:00
mycroft
1e69f23205
Export bsd_to_svr4_sig[], and use it.
1995-08-14 02:07:57 +00:00
mycroft
283f211782
Sort.
1995-08-14 01:34:09 +00:00
mycroft
01fa87477a
syscalls.master changed.
1995-08-14 01:29:05 +00:00
mycroft
88b8e43a80
Rearrange #includes.
1995-08-14 01:27:43 +00:00
mycroft
9440382c88
svr4_stack_t --> svr4_sigaltstack
1995-08-14 01:13:29 +00:00
mycroft
05abc039c9
syscalls.master changed.
1995-08-14 01:13:11 +00:00
mycroft
eba2f2e81a
Move signal types into signal.h.
1995-08-14 01:11:52 +00:00
mycroft
3b76c0ddef
svr4_stack_t --> svr4_sigaltstack
1995-08-14 00:57:13 +00:00
mycroft
475edc261c
Move definition of sigset_t into types.h.
1995-08-14 00:50:27 +00:00
mycroft
ca057762b9
Minor cleanup.
1995-08-14 00:41:02 +00:00
mycroft
1575859e07
Minor cleanup.
1995-08-13 23:37:56 +00:00
mycroft
a6b7c740c6
Convert SA_RESETHAND and SA_NODEFER.
...
Scrub this code a bit.
1995-08-13 22:57:10 +00:00
christos
3a1e063118
Make the macro botch fix more palatable.
1995-07-05 17:08:54 +00:00
pk
426fb108d1
Brutally work around a macro botch.
1995-07-05 13:07:12 +00:00
christos
87b62763ae
Add a few more sockio ioctls... Now sunxdoom is running!
1995-07-04 23:00:11 +00:00
christos
c07ddb7c1d
Added sockioctls... Only getifnum supported for now.
...
Added SVR4_EMT_TAGOVF, needed by new machdep translations.
1995-07-04 19:46:58 +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
fvdl
cbcf8eee8a
Check for invalid filedescriptors in getmsg() and putmsg().
1995-06-24 18:47:08 +00:00
fvdl
4a10f838e7
Changed to use generic ELF code from kern/exec_elf.c (which was taken
...
from the svr4 exec code plus the linux compat mods)
1995-06-22 21:32:57 +00:00
fvdl
a22d72bf4d
* Always kill all vm_cmds before giving up on loading an executable
...
* Don't try to use auxiliary arguments with statically linked executables.
* Remove 'cannot find interpreter' uprintf, as other exec modules may
succeed in running the binary after all, and then we don't want this message.
* Some linkers produce rw- for the data segment, not rwx.
* Remove a few debugging printfs
1995-06-11 15:06:11 +00:00
mycroft
abd4cc9991
Remove /dev/zero special case. It's done in mmap().
1995-06-10 22:45:15 +00:00
mycroft
b1868d1bdf
Set st_rdev in SVR4 struct stat.
1995-06-10 22:44:18 +00:00
jtc
95ded74f58
Moved egid credential from cr_groups[0] to new field cr_gid. POSIX.1
...
requires that sgid executables and the setuid() syscall *not* change
the supplemental group list.
1995-06-01 22:43:30 +00:00
mycroft
bfd22ffde8
Generate the new ps_strings format.
1995-05-16 14:19:03 +00:00
mycroft
7688f4456e
Remove usages of ibcs_sigflags.
1995-05-01 04:50:28 +00:00
christos
44eef7c28b
- added struct emul to all emulations.
...
- removed all setup functions.
- added copyargs() functions where needed.
1995-04-22 19:48:19 +00:00
cgd
27228062f9
config.new file lists
1995-04-17 16:12:14 +00:00
mycroft
72adfee7f7
EMUL_IBCS2_ELF -> EMUL_SVR4; EMUL_IBCS2_{COFF,XOUT} -> EMUL_IBCS2
1995-04-13 20:48:14 +00:00
christos
c8afb5deaf
Syscalls.master was changed
1995-03-31 03:08:25 +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
mycroft
f75ba16b09
Update to use timer{add,sub}().
1995-03-21 13:33:34 +00:00
christos
316fa4de0e
Syscalls.master was changed.
1995-02-01 01:41:37 +00:00
christos
dbcb84b7e1
Added sigaltstack, ioctl(I_NREAD)
...
Replaced syssun with svr4_sysarch()
1995-02-01 01:37:33 +00:00
christos
a8c747992c
syscalls.master was changed
1995-01-25 04:17:45 +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
e15e38be03
syscalls.master was changed
1995-01-08 21:32:40 +00:00
christos
ff6fb90722
Fixed waitsys().
...
Fixed time functions.
Added alarm(), contextsys(), sigaction(), kill(), statvfs(), fstatvfs()
1995-01-08 21:31:34 +00:00
mycroft
c06da32c6e
Make sure to ream out the file descriptor table slot when aborting.
1994-12-14 20:20:26 +00:00
mycroft
797dcd3e8f
Use the same method as portal fs for creating a file descriptor.
1994-12-14 20:08:30 +00:00
mycroft
6332be8c7f
Use __timeradd(), not timervaladd().
1994-12-11 17:56:21 +00:00
christos
153d76736d
syscalls.master was changed; added a couple of new header files.
1994-11-18 02:56:09 +00:00