kleink
5f79ea56a1
Rearrange the emulation-specific setregs() entry to set up the FPU control
...
word *after* calling the native setregs(), which would clobber it again.
1999-01-08 11:59:38 +00:00
erh
5c1e9076ad
Make consistent: si_ -> lsi_
1999-01-03 05:34:39 +00:00
erh
b19295f334
Speed up compilation by #include-ing C files from common into one file.
1999-01-03 05:29:31 +00:00
erh
d9a22c586a
Undo previous: Put back opt_sysv.h
1999-01-03 05:18:01 +00:00
erh
f1a0e1b396
Avoid name clash with standard si_{uid,pid} fields.
1999-01-03 04:53:59 +00:00
erh
5422cb89d9
Moved sysv opt include to header file.
1999-01-03 04:30:56 +00:00
erh
4289065a1b
Moved opt include to header file.
1999-01-03 03:54:45 +00:00
erh
41590f69e2
Grab the sysv options.
1999-01-03 03:52:22 +00:00
drochner
63d673f477
g/c SA_USERTRAMP (ok'd by pk)
1998-12-21 10:34:59 +00:00
drochner
8b9671f0f5
get "opt_compat_xxx.h" includes out of <sys/signal.h>
1998-12-19 16:27:09 +00:00
drochner
ba4af3c3de
regen
1998-12-18 18:59:06 +00:00
drochner
b71f154130
remove compat_xxx dependencies where they don't belong
1998-12-18 18:49:59 +00:00
drochner
52c16cf83a
get "opt_compat_svr4.h" out of <sys/conf.h>
1998-12-18 16:55:39 +00:00
drochner
9d0b08a2b5
OMPAT_xxx option review: add missing opt_compat_sunos.h
1998-12-18 15:08:21 +00:00
drochner
c22ef79250
solve the COMPAT_OLDSOCK/MSG_COMPAT problem differently:
...
The source files which need MSG_COMPAT define COMPAT_OLDSOCK.
1998-12-18 13:18:42 +00:00
mrg
776ca9e185
back out previous; it breaks when MSG_COMPAT is not defined (no compatibility modules)
1998-12-18 13:00:33 +00:00
christos
1dd3565a09
Fix a long standing bug in wait(2) where the signal was left untranslated,
...
and defensively code the signal translation.
1998-12-16 10:36:50 +00:00
christos
f9ac5ff367
more defensive signal conversion, and fix a malloc sizeof(int) to sizeof(int *).
1998-12-16 10:21:50 +00:00
itohy
0c080222db
Added linux compat support on m68k ports.
1998-12-15 19:31:30 +00:00
itohy
e0f218ab08
Generated from syscalls.master.
1998-12-15 19:28:31 +00:00
itohy
0176ca73ed
Initial support of Linux/m68k compatibility.
1998-12-15 19:25:40 +00:00
augustss
57186cce33
Slight code rearrangement and more defensive tests for the sequencer device.
1998-12-15 10:32:16 +00:00
mycroft
4a40350c5d
Nuke some #ifdefs that no longer work with COMPAT_43 defopted.
1998-12-14 13:03:19 +00:00
christos
49be13158d
Make gerlimit(RLIM_NOFILE, rlp), return rlp->rlim_max == maxfiles, not
...
RLIM_INFINITY like we do. Java uses rlim_max to allocate a data structure
per file descriptor.
what we do is bogus anyway, because:
setrlimit(RLIM_NOFILE, {RLIM_INFINITY, RLIM_INFINITY}}
sets the limit to { maxfiles, maxfiles }
I undestand that this is so that if we change maxfiles via sysctl, processes
can still use the new maximum, but it is probably more appropriate to return
the current value of maxfiles (and maxproc) at every getrlimit call, even
if the current value for either is RLIM_INFINITY.
Anyway, java now works on the the sparc, on the i386 loses on setcontext().
1998-12-13 18:00:52 +00:00
christos
f0c7751046
Regen
1998-12-10 17:13:06 +00:00
christos
35af069802
defopt COMPAT_43
1998-12-10 17:07:04 +00:00
christos
879032f748
fix systeminfo. We return ipc86 for the i386, SUNW,SPARCstation-10 for
...
sparc, and unknown for the rest. Also make sure that the string is terminated
properly and the length is returned as the specification calls. Maybe sometime
we can read the prom on the sparc and return the actual model.
1998-12-10 17:06:13 +00:00
christos
b0b86b5b7f
Defopt COMPAT_43
1998-12-10 17:03:19 +00:00
erh
efe6591d21
Whoops, _NSIG->LINUX__NSIG.
1998-12-10 00:31:50 +00:00
erh
f7373c1eba
Add mmap header.
1998-12-08 21:02:18 +00:00
erh
cdc6431c25
At least make this compile. Add linux compat version of auxillary data eventually to be used to make the emulation work correctly.
1998-12-08 21:00:11 +00:00
christos
02e50c5ac1
Clarify some signed/unsigned confusion with resource limit setting.
...
Still don't understand you some old binaries try to use 5 for vmem
instead of 6.
1998-11-30 15:46:33 +00:00
christos
dd597a541c
regen
1998-11-28 21:53:33 +00:00
christos
298d9e0d50
Deal with {get,set}rlimit{,64} properly, respecting the RLIM_INFINITY,
...
RLIM_SAVED_MAX, and RLIM_SAVED_CUR values. We should fix our own implementation
to do this and use unsigned numbers for rlim_t as solaris does.
1998-11-28 21:53:02 +00:00
christos
d7846c84e1
Conflict resolution.
1998-11-27 18:33:21 +00:00
christos
f8c52e6cf3
use a symbolic constant instead of just 0
1998-11-27 18:32:09 +00:00
christos
786b3a2c22
regen
1998-11-27 15:22:44 +00:00
christos
87308428af
take a stab at implementing resolvepath(2)
1998-11-27 15:08:50 +00:00
christos
48a6904248
fix renamed constant
1998-11-26 18:58:50 +00:00
christos
6167bac14c
No functional changes. Added Mark Newton's suggested fixes, but since I have
...
not tested them they are #ifdef'ed notyet.
1998-11-25 15:48:35 +00:00
christos
fc1519f1c9
Add a few more constants.
1998-11-25 15:47:51 +00:00
mrg
993fb9ff04
add some missing comment ends.
1998-11-24 13:18:42 +00:00
drochner
c48ea35c91
include missing SYSV option header - PR kern/6479 by Urban Boquist
1998-11-22 15:00:47 +00:00
frueauf
b6576d4d72
fix typo: nativ_to_hpux_errno -> native_to_hpux_errno.
1998-11-09 15:35:16 +00:00
erh
bda913305b
Make sure the interpreter string is long enough to check against.
1998-11-05 22:19:25 +00:00
frueauf
03c64513e6
hpux_error.c got removed, add hpux_errno.c instead.
1998-11-05 12:42:46 +00:00
sommerfe
6f6b09a92a
s/SunOS/Ultrix/ in comment
1998-10-26 18:31:01 +00:00
mrg
70961a3e4c
mark native_to_svr4_errno as extern (avoids compiler warning).
1998-10-24 19:35:36 +00:00
christos
e5d2a186e0
Finish Eric's changes.
1998-10-24 19:04:19 +00:00
christos
7d7a80a8fd
Allow kdump to compile again.
1998-10-24 19:03:53 +00:00
mjacob
3de1dbaf24
add missing include that defined native_to_ibcs2_errno
1998-10-23 19:45:59 +00:00
mjacob
150020cdf2
add missing include that defined native_to_svr4_errno
1998-10-23 19:36:03 +00:00
veego
4c127bdcd4
Include linux_errno.h to fix the recent error->errno losage.
1998-10-23 10:54:58 +00:00
erh
813dd6128b
Rename svr4_error to native_to_svr4_errno.
1998-10-23 04:06:00 +00:00
erh
177a7fac85
Moved to svr4_errno.c,v
1998-10-23 04:02:18 +00:00
erh
436999b6cd
Moved from svr4_error.c,v
1998-10-23 04:02:17 +00:00
erh
907ec5233d
linux_error.c moved to linux_errno.c
1998-10-23 03:56:22 +00:00
erh
8b351f0104
Change linux_error to native_to_linux_errno. Add some (unrelated) debugging printfs.
1998-10-23 03:53:18 +00:00
erh
76aa1f4bcf
Moved to linux_errno.c,v
1998-10-23 03:46:25 +00:00
erh
a766015254
Moved from linux_error.c,v
1998-10-23 03:45:37 +00:00
erh
36d1163663
Move ibcs2_error.c back to ibcs2_errno.c. Old name was more descriptive. Make it more so and use "native_to_ibcs2_errno".
1998-10-23 03:22:59 +00:00
erh
dd1e5f373e
Define LINUX_GCC_SIGNATURE.
1998-10-22 18:13:02 +00:00
matt
3ad026ac87
vax -> __vax__ (and mips to __mips__ in ultrix_misc.c)
1998-10-20 01:46:27 +00:00
tron
eb17acb9b3
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:43:58 +00:00
tron
f8bd8df018
Regen.
1998-10-19 22:43:25 +00:00
tron
597d72777a
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:43:00 +00:00
tron
79239684ae
Regen.
1998-10-19 22:41:06 +00:00
tron
8eca167a73
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:40:29 +00:00
tron
7453aacea0
Regen.
1998-10-19 22:39:49 +00:00
tron
120e9f4e91
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:37:53 +00:00
tron
c716a334aa
Regen.
1998-10-19 22:36:29 +00:00
tron
6d456ade27
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:34:49 +00:00
tron
3c8085dd6e
Regen.
1998-10-19 22:32:51 +00:00
tron
e8603a0b66
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:31:50 +00:00
tron
3461a6eb39
Regen.
1998-10-19 22:28:16 +00:00
tron
ccb04baa10
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:26:39 +00:00
tron
76a0f5408b
Regen.
1998-10-19 22:25:55 +00:00
tron
c71ccab136
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:21:19 +00:00
christos
c2339a1799
Make error array look like ibcs2, svr4, and linux
1998-10-18 17:00:32 +00:00
christos
e26890e06b
Rename ibcs2_errno.c -> ibcs2_error.c to match with linux and svr4
1998-10-18 16:59:14 +00:00
erh
edeeb71bd8
Add the sigaction call.
1998-10-07 23:48:04 +00:00
erh
00a3eb89be
This is used on the alpha. It is called osf_sigaction under linux because of the format of the sigaction structure but it acts the same.
1998-10-07 23:47:44 +00:00
erh
7d45dcb522
Kill the linux_old*.h includes (which are only used in the corresponding linux_old*.c). Add linux_siginfo.h.
1998-10-07 23:11:13 +00:00
erh
ecdbc1172b
Regen.
1998-10-07 23:08:26 +00:00
erh
358899800e
Change sys_mmap to NOARGS. (args defined in linux_sys_mmap.h). Typo: siginfo_t->linux_siginfo_t.
1998-10-07 23:07:30 +00:00
erh
1a89cf484f
Move linux_sys_mmap declarations to linux_mmap.h Make sure oldmmap.c includes oldmmap.h.
1998-10-07 23:06:17 +00:00
erh
8ce2ceae35
Fix typos.
1998-10-07 23:05:09 +00:00
erh
a956aca8aa
This needs its defines.
1998-10-07 22:58:19 +00:00
erh
47a9e7f352
Fix typos.
1998-10-07 22:50:42 +00:00
erh
baf6c8420d
Fix types. Kill old declarations.
1998-10-07 22:45:51 +00:00
erh
c7176f00e4
The siginfo include line is not needed here anymore.
1998-10-07 22:17:57 +00:00
erh
3bd73b1ef1
Add prototype for linux_sigprocmask1().
1998-10-07 22:13:39 +00:00
erh
ddbb7b3349
sigprocmask (non-rt) version doesn't exist on alpha. rename it to sigprocmask1 for use in linux_sys_sigprocmask and linux_sys_rt_sigprocmask.
1998-10-07 22:12:48 +00:00
erh
30f959e6c6
sigprocmask (non-rt version) doesn't exist on alpha. Add it here.
1998-10-07 22:11:16 +00:00
erh
15eaa765b7
Files moved. Change the paths here.
1998-10-07 20:50:44 +00:00
thorpej
53b61ccd14
Avoid a compiler warning.
1998-10-06 08:51:14 +00:00
christos
9ec65653f5
unobfuscate: !strncmp() != 0 -> strncmp() == 0
1998-10-04 16:51:18 +00:00
christos
18632b9779
Regen.
1998-10-04 16:22:47 +00:00
christos
9fabaa0ca6
Add a few more unimplemented syscall name placeholders.
1998-10-04 16:21:58 +00:00
christos
227ea85cf0
Don't return EINVAL when nset is NULL in sigprocmask and the command is
...
invalid.
1998-10-04 16:21:13 +00:00