Commit Graph

267 Commits

Author SHA1 Message Date
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
christos
f0c7751046 Regen 1998-12-10 17:13:06 +00:00
christos
b0b86b5b7f Defopt COMPAT_43 1998-12-10 17:03:19 +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
eeh
fc6c67ff5d Fixup big-endian syscall args. 1998-10-03 19:33:32 +00:00
pk
99cd371c60 Fix copyout() argument switch. 1998-09-14 21:05:46 +00:00
pk
9949f7d556 regen. 1998-09-13 22:29:06 +00:00
pk
c7971c960e Signal compat: sunos sigset_t conversions;
new sunos_sigvec() & sunos_sigpending()
1998-09-13 22:28:16 +00:00
pk
459204606f Everyone uses sunos_sendsig(). 1998-09-13 21:05:35 +00:00
pk
06612cb9f8 Since the last signal restructuring the sparc also has an sunos_sendsig(). 1998-09-13 20:20:48 +00:00
rvb
26b955eec7 ufs_readdir no longer checks if vp->v_type != VDIR so
the individual emulated readdirs must check.
Since netbsd and freebsd return EINVAL for the error
and I don't know what the other platforms do, return
EINVAL for them too.
1998-09-08 20:02:51 +00:00
christos
8fb507a3b7 Assign copyright to TNF. 1998-09-05 14:50:25 +00:00
mrg
edda33e00c move <vm/vm_swap.h> to <sys/swap.h>. <vm/vm_swap.h> still works for now (goes away later) 1998-08-29 17:01:14 +00:00
mrg
0d6736494d change sunos compat structure members from long to int so they stay the same on sparc64 1998-08-22 17:41:43 +00:00
perry
e1601dc2ca bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-09 20:36:58 +00:00
mrg
fe3c14b64d use __sparc__ not sparc 1998-08-09 03:12:39 +00:00
mrg
7ba85a8779 if syscall_debug & compat_sunos, include sunos_syscalls.c 1998-08-06 02:58:44 +00:00
hannken
6f6901bd1a Include NFSSERVER option header opt_nfsserver.h. 1998-06-26 10:13:14 +00:00
thorpej
5dc3448163 Regen: defopt NFSSERVER 1998-06-25 22:19:33 +00:00
thorpej
bff28c879a defopt NFSSERVER 1998-06-25 22:19:12 +00:00
mrg
cbffcd18f0 use <dev/sun/disklabel.h> for new (old) compat ioctls: DKIOCGGEOM, DKIOCINFO and DKIOCGPART 1998-06-20 03:43:49 +00:00
fvdl
e2eb38cc6f Make this compile again. 1998-03-04 09:06:52 +00:00
fvdl
a377495cfb Only free cookiebuf when sure that the vop actually allocated it. 1998-03-03 13:44:48 +00:00
fvdl
e5bc90f40c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
thorpej
dc4fe3d32d Regen: makesyscalls.sh changed. 1998-02-19 03:34:15 +00:00
thorpej
d428ef497f regen; syscalls.master and makesyscalls.sh changed. 1998-02-19 00:44:20 +00:00
thorpej
217cf602ae Include the NFS option header. 1998-02-19 00:43:56 +00:00
thorpej
80fff795f9 Regen. 1998-01-09 06:19:02 +00:00
thorpej
585f0dec73 Regen: back out RCD ID related changes. 1998-01-08 00:17:11 +00:00
perry
36bd5a5407 regened with RCSIDs in place 1998-01-05 18:23:00 +00:00
pk
5641a30a30 Pull in fcntl GETLK/SETLK/UNLK compat functions from SVR4 sibling. 1997-12-11 09:52:57 +00:00
tv
0a558b3f1f Standardize COMPAT_SUNOS -- remove all references to
sunos_exec_aout_makecmds() in machdep.c for various architectures and put
it in exec_conf.c like the other emulations; rename exec.h to
sunos_exec.h.
1997-12-04 15:33:17 +00:00
fvdl
ef0ba97c11 Update for new msync (== __msync13), use flags 1997-10-21 00:58:41 +00:00
is
c7f9237607 - Doesn't need to privately define AUDIO_SPEAKER and AUDIO_HEADPHONE any
longer.
- XXX Don't access the nonexistant backlog structure element.
1997-10-19 20:59:32 +00:00
christos
542318240b Regen. 1997-10-19 18:48:57 +00:00
christos
2b8d4e9b82 Make mman(2) functions args consistent (caddr_t -> void *) 1997-10-19 18:48:16 +00:00
christos
1c89a817ba Simplify use of round_page() like in other emulations. 1997-10-19 18:48:00 +00:00
carrel
ea9e34c2f7 cast to void * not caddr_t 1997-10-19 12:52:19 +00:00
christos
251114507c Regen 1997-10-17 00:02:49 +00:00
christos
7e8c979fa9 ostat -> stat43 1997-10-16 23:53:07 +00:00
fvdl
d85f38cbec Fix braino in my interpretation of the eof flag to VOP_READDIR. 1997-10-10 22:16:04 +00:00
fvdl
cd215502cb Regen. 1997-10-10 12:54:39 +00:00
fvdl
914e939800 sys_getdirentries -> compat_12_sys_getdirentries from Juergen Hannken-Illjes. 1997-10-10 12:45:01 +00:00
mrg
74f573d85d remove advertising clause from all my licenses. 1997-10-10 05:39:47 +00:00
fvdl
86ecc45306 Signal error when getting a 64 bit offset cookie that can't be stored
in 32 bits. Provide an error message to the user, and return EINVAL.
Also, pay attention to the EOF flag from VOP_READDIR. Correct a
misspell in a panic message.
1997-10-10 01:47:41 +00:00
bouyer
1cd83a5971 Fix "missing entries" bug when reading large directories: When reading a
directory and running out of space in the dest buffer, off should point to the
current entry (which was not saved) and not to the next.
I discovered this bug using linux and SunOS emulation over NFS, but seems to
affect other emulations as well.
1997-08-04 09:48:07 +00:00
pk
e3680b0e26 config.new => config 1997-07-20 20:33:08 +00:00
thorpej
30597f2eed Regen: Use compat_12_sys_swapon(). 1997-06-13 19:10:11 +00:00
thorpej
068d1ad637 Use compat_12_sys_swapon(). 1997-06-13 19:09:12 +00:00
thorpej
41e29be490 Garbage-collect sunos_sys_swapon(); it is not needed. 1997-06-13 19:08:25 +00:00
mrg
b73df246f5 bring mrg-vm-swap2 onto mainline. 1997-06-12 19:18:15 +00:00
mrg
aabc4f2396 now need sunos_sys_swapon() as ours is different. 1997-06-12 19:01:02 +00:00
jeremy
3d6483ab9a Ignore use of sunos_audioio.monitor_gain because it has no equivalent in the
audio sub-system.  It used to use the ``__spare'' member of the audio_info
struct, but that has been removed.
1997-05-11 05:41:13 +00:00
mycroft
e3f99a9397 Pass the vnode type to vaccess(), and use it when checking VEXEC. Make sure
that the mode bits passed to vaccess() and returned by foo_getattr() contain
only permission bits.
1997-05-08 16:19:43 +00:00
mycroft
837a72363d VEXEC -> VLOOKUP, as appropriate. 1997-05-08 10:57:17 +00:00
thorpej
bf69384ef4 Syscalls.master chagned, regen. (NFSCLIENT -> NFS) 1997-01-31 02:19:34 +00:00
thorpej
83b3ffe116 NFSCLIENT -> NFS 1997-01-31 02:18:54 +00:00
thorpej
8f8abcd69c Regen; makesyscalls.sh emits comments now. 1997-01-13 18:49:02 +00:00
cjs
1c0c346e1d This recently stopped compiling due to a warning about const being
dropped. This fix suggested by cgd.
1996-12-28 22:37:03 +00:00
christos
4d99ae39b0 Remove STACKGAPBASE dependencies. 1996-10-13 01:16:19 +00:00
christos
e14a71a3ae catch up with Jason's changes. 1996-10-13 00:56:02 +00:00
cgd
6ab18a1959 don't include <machine/exec.h> explicitly. No other changes needed, since
<sys/exec.h> was already being included.
1996-10-07 21:43:02 +00:00
mrg
6ad189ffbb minor copyright update. 1996-10-05 23:50:49 +00:00
mycroft
826fb76b6f Regen. 1996-09-07 14:24:17 +00:00
mycroft
1449e67e30 Modify poll(2) prototype. 1996-09-07 14:20:09 +00:00
mycroft
cb488ac22a Definition of pollfd is no longer needed. 1996-09-07 13:02:43 +00:00
mycroft
264dd4757c Regen. 1996-09-07 12:56:49 +00:00
mycroft
2bc736661a Implement poll(2). 1996-09-07 12:40:22 +00:00
mycroft
a8fd25767d Define execv() and execve() consistently across emulations.
Do path name translation.
1996-09-03 03:12:17 +00:00
christos
e32eb9631f regen syscall tables 1996-08-30 23:08:21 +00:00
christos
0c1a0303ec add obsolete stime(2) 1996-08-30 23:07:49 +00:00
thorpej
07e59e34e8 Regen; syscalls.master changed. 1996-08-26 22:52:17 +00:00
thorpej
b0f977ee6b Implement sunos_sys_execve(). The previous code simply called
sys_execve() without doing an alternate patch check, which was
incorrect.  Bug pointed out by Krister Walfridsson <cato@df.lth.se>
on port-sparc@NetBSD.ORG.
1996-08-26 22:49:43 +00:00
mrg
db019893b4 update sunos_sys_reboot() to actually work again. 1996-08-11 03:16:26 +00:00
mrg
5abbf990f3 Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models.  It is currently silently ignored on all other
hardware now, however.  The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
pk
39dfdd0601 Translate EIO to ENOTTY after a SunOS `TIOCGETPGRP' (tcgetpgrp(3)) fails
on a pty (see also kern/pty_tty.c).
1996-07-02 21:21:57 +00:00
mycroft
1328302bd9 Regen. 1996-06-23 11:16:12 +00:00
mycroft
365a977533 Catch up with setre[ug]id() changes. 1996-06-23 11:13:32 +00:00
cgd
d73abf41aa avoid unnecessary checks of m_get/MGET/etc.'s return values. When
they're called with M_WAIT, they are defined to never return NULL.
1996-06-14 22:21:12 +00:00
pk
ec587073d7 I_SIGSET => I_SETSIG (pointed out by Greg Earle). 1996-05-26 23:57:10 +00:00
veego
203fc82ae2 Added a missing Makefile and run it
Moved the prototyp for sunos_sendsig in an #ifndef sparc
1996-05-05 16:07:42 +00:00
briggs
8b8a6fcf2f Put prototype for sunos_sendsig() in sunos.h as suggested by veego. 1996-05-05 12:01:45 +00:00
christos
ffd5576439 remove include of <sys/cpu.h> 1996-04-22 01:44:31 +00:00
christos
fc8b478bdd Bring prototypes into scope and fix compiler warnings. 1996-03-14 19:33:44 +00:00
pk
8c485c3690 syscalls.master changed. 1996-02-28 16:06:02 +00:00
pk
636580a34f Insert sunos_sys_fcntl(). 1996-02-28 16:03:54 +00:00
gwr
b1305e88db dir => dirent 1996-02-28 01:41:25 +00:00
pk
95d7594df0 If NFS rsize' is specified, set readdirsize' too. 1996-02-25 13:27:01 +00:00
pk
9e2cbae0ea Adapt compat NFS mount code to NFSv3. 1996-02-18 14:46:25 +00:00
pk
3a7b2129f3 Implement vhangup(); more or less as suggested in PR#1560 (matthew green).
I'm vrele'ing s_ttyvp here too, so sys_exit() won't have to go over it
again.
1996-01-05 16:53:14 +00:00
ghudson
76063d53bb Reverse pk's changes from 1.57; the faked cookies are not valid,
and are no longer necessary now that NFS provides cookies.
1995-12-14 18:44:44 +00:00
gwr
883be4be3a ufs ==> ffs 1995-11-07 22:27:21 +00:00
pk
b60d6eae12 Gets NFS-mounted /emul/sunos going again by faking readdir cookies if
not supported by VOP_READDIR().
1995-10-11 12:50:23 +00:00
mycroft
0fff06cb86 Remove struct sunos_dirent from here. 1995-10-09 16:54:48 +00:00
mycroft
652c9eff74 Use cookies for directory offset, mostly from Greg Hudson. 1995-10-09 11:23:57 +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
thorpej
cd414f7dca Make system calls conform to a standard prototype and bring those
prototypes into scope.
1995-09-19 22:42:02 +00:00