Commit Graph

183 Commits

Author SHA1 Message Date
thorpej
e3669c3393 Add "use counting" to file entries. When closing a file, and it's reference
count is 0, wait for use count to drain before finishing the close.

This is necessary in order for multiple processes to safely share file
descriptor tables.
1999-05-05 20:01:01 +00:00
cgd
af8a9059d3 compute the value to be used for e_arglen via howmany(value, sizeof (char *)),
rather than just "value / sizeof (char *)".  While in these cases the latter
works as well, the former's a better example for other uses to copy (since
it handles the non-integral multiple case correctly).
1999-04-30 23:07:01 +00:00
sommerfe
280a842850 commit fix to PR7072: emulate linux non-blocking connect behavior more correctly 1999-03-25 04:26:45 +00:00
christos
c8216580df const poisoning. 1999-02-09 20:37:19 +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
erh
d9a22c586a Undo previous: Put back opt_sysv.h 1999-01-03 05:18:01 +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
8b9671f0f5 get "opt_compat_xxx.h" includes out of <sys/signal.h> 1998-12-19 16:27:09 +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
augustss
57186cce33 Slight code rearrangement and more defensive tests for the sequencer device. 1998-12-15 10:32:16 +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
drochner
c48ea35c91 include missing SYSV option header - PR kern/6479 by Urban Boquist 1998-11-22 15:00:47 +00:00
erh
bda913305b Make sure the interpreter string is long enough to check against. 1998-11-05 22:19:25 +00:00
christos
7d7a80a8fd Allow kdump to compile again. 1998-10-24 19:03:53 +00:00
veego
4c127bdcd4 Include linux_errno.h to fix the recent error->errno losage. 1998-10-23 10:54:58 +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
tron
120e9f4e91 Defopt SYSVMSG, SYSVSEM and SYSVSHM. 1998-10-19 22:37:53 +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
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
christos
9ec65653f5 unobfuscate: !strncmp() != 0 -> strncmp() == 0 1998-10-04 16:51:18 +00:00
fvdl
26c9084f20 Fix pointer fuckup that made getdents() stop working. 1998-10-04 10:17:54 +00:00
fvdl
19f71dc8ff Fix wrong strncmp test. 1998-10-04 09:40:09 +00:00
fvdl
8096c25afc Assign my copyright to TNF. Merge with others were appropriate.
Regen syscall files after script change.
1998-10-04 00:02:23 +00:00
christos
96dc2f3c56 Remove stray debugging printfs 1998-10-03 20:28:03 +00:00
christos
5f13e45116 Forgot those two. 1998-10-03 20:20:04 +00:00
christos
908291d2fe Attempt to fix the mess. 1998-10-03 20:17:36 +00:00
perry
036f631693 shut up egcs complaints by adding braces 1998-10-01 18:58:28 +00:00
perry
4a2f07c9cd shut up egcs complaints about braces 1998-10-01 18:57:05 +00:00
perry
5535f2a14b Add braces to shut up egcs 1998-10-01 18:53:37 +00:00
erh
d70c9cdbc9 Wheeee!: 8-way split of compat/linux/linux_misc.c into common code and multi-architechture functions. 1998-10-01 04:05:54 +00:00
erh
c0a539a588 Define structures needed for these functions. 1998-10-01 04:00:20 +00:00
erh
46f5ff0021 Move compat/linux/linux_util.h to common. 1998-10-01 03:54:36 +00:00
erh
29217a6082 Move compat/linux/linux_sockio.h to common. 1998-10-01 03:53:00 +00:00
erh
fe99a5c47e Add a couple function prototypes from linux_misc.c. 1998-10-01 03:49:59 +00:00
erh
b64f5d3b1a Move IPC headers to common. The msg, sem and shm files, in addition to other common structures and to avoid creating several more machine dependent header files, include the syscall arguments for several system calls which don't exist on all architechtures. 1998-10-01 03:48:31 +00:00
erh
e6ad366c04 Moved from compat/linux/linux_dirent.h to common. 1998-10-01 03:37:51 +00:00