mycroft
686dddaff9
Reran makesyscalls.sh.
1995-10-15 06:13:56 +00:00
christos
81ae32e332
syscalls.master was changed.
1995-10-14 20:26:39 +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
thorpej
d0c7d0fdd6
Add missing F_SETLKW case to svr4_sys_fcntl(), from Niklas Hallqvist
...
<niklas@appli.se>.
1995-10-09 23:56:17 +00:00
mycroft
652c9eff74
Use cookies for directory offset, mostly from Greg Hudson.
1995-10-09 11:23:57 +00:00
mycroft
6263c69339
Reran makesyscalls.sh.
1995-10-07 06:51:37 +00:00
mycroft
55c46e9514
Reran makesyscalls.sh.
1995-10-07 06:41:34 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
pk
23b15422dc
svr4_fcntl: make uap point to argument.
1995-10-02 08:20:47 +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
thorpej
c8aae0e18a
makesyscalls.sh changed.
1995-09-19 22:05:58 +00:00
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