Commit Graph

1138 Commits

Author SHA1 Message Date
itohy da0a919754 Regen. 1999-02-10 10:38:15 +00:00
itohy 5af2655c9d const mania 1999-02-10 10:36:26 +00:00
christos 03ff6653d6 Regen 1999-02-09 20:48:20 +00:00
christos 8087b4fda3 const poisoning and CHECK_ALT_CREAT fixes. 1999-02-09 20:46:41 +00:00
christos ec4586b831 Regen 1999-02-09 20:46:40 +00:00
christos dcee031682 const poisoning and CHECK_ALT_CREAT fixes. 1999-02-09 20:46:40 +00:00
christos c3ae7cb2a9 Regen 1999-02-09 20:38:38 +00:00
christos c8216580df const poisoning. 1999-02-09 20:37:19 +00:00
christos 8024779058 const poisoning 1999-02-09 20:37:00 +00:00
christos bcca34b4fa Regen. 1999-02-09 20:36:17 +00:00
christos 090a9bebbc const poisoning. 1999-02-09 20:34:16 +00:00
christos 908adf3eef Regen 1999-02-09 20:31:43 +00:00
christos a30a9f3d94 const poisoning and CHECK_ALT_CREAT fixes. 1999-02-09 20:30:38 +00:00
christos 49692434d8 Const poisoning and CHECK_ALT_CREAT fixes 1999-02-09 20:29:24 +00:00
christos f3be801e5c Regen 1999-02-09 20:26:55 +00:00
christos 415ae8f732 const poisoning 1999-02-09 20:21:18 +00:00
christos 743761347e PR/6962: Paul Shupak: FreeBSD-3.0 additions
- const poisoning
1999-02-09 20:19:13 +00:00
christos 90fd1df29a PR/6962: Paul Shupak: ELF Freebsd support 1999-02-09 20:17:50 +00:00
christos fd74051670 char * and char ** -> const char * and const char ** 1999-02-09 20:16:08 +00:00
kleink 764fdafc63 Only declare the uc_pad member if SVR4_UC_MACHINE_PAD is defined. 1999-01-26 18:41:03 +00:00
christos b02601323e Fix idiotic errors in I_SETSIG:
1. the mask is passed by value, not by reference
2. compare the rest of the mask bits not the valid ones
3. return 0, not the current fd's flags.

Now appletviewer works on an inet display. It will not work
with :0 because /tmp/.X11-pipe/X0 is a named pipe, not a
socket like our /tmp/.X11-unix/X0. Maybe I'll kludge svr4_sys_open
to return an fd to a unix socket when someone attempts to call
open on a unix socket.
1999-01-23 23:44:08 +00:00
christos 7983ffaeef Don't play silly games with O_NON_BLOCK vs O_NDELAY.
Add O_RSYNC and O_DSYNC
1999-01-23 23:38:02 +00:00
christos 1bdb52515d - Make the pad field machine dependent (argh!)
- Add protototypes for the mi and md get/setcontext functions.
1999-01-21 23:22:35 +00:00
christos b52c37957d Handle the mi portion of the *context system call here. Changes from previous
version:
1. The stack_t returned before was SS_DISABLED; now we enable the stack
   and return a 16K stack which is 16K under the current stack pointer.
   This seems to be what solaris does.
2. Preserve uc_link.
1999-01-21 23:20:43 +00:00
christos 1ac6ce917e Add prototype for svr4_sendsig. 1999-01-21 23:17:19 +00:00
christos e6f6898376 Include the right headers to find svr4_sendsig. 1999-01-21 23:16:43 +00:00
kleink 5eb233ddd5 Return the machine's ISA for SI_ARCHITECTURE. 1999-01-20 22:09:17 +00:00
jtk 77b1ebc172 fix gcc complaint about assignment in truth value 1999-01-14 15:00:38 +00:00
sommerfe 465d57ee26 Commit fix from PR1623 1999-01-13 23:41:29 +00:00
kleink 4ff7b1f346 Add symbolic names for the sys_context() subcodes. 1999-01-12 02:09:18 +00:00
kleink bb6c814341 If a null pointer argument is passed to setcontext(), exit the process; it
would appear that overloading the argument this way is used by SVR4 to `fall
off' the main context (uc_link being NULL) after a function set up using
makecontext() returns.
1999-01-12 00:16:40 +00:00
tron f7f56f986f Revert last changes:
Because "linux_ipccall.h" cannot be included before "sys/shm.h" and
"sys/shm.h" needs to be included after "opt_sysv.h" include "opt_sysv.h"
in "linux_ipccall.c" again.
1999-01-10 15:05:36 +00:00
augustss 0d32a9a78b Fix more `void *' arithmetic. 1999-01-08 19:22:34 +00:00
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