Commit Graph

191 Commits

Author SHA1 Message Date
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
thorpej
6d91dd5b49 makesyscalls.sh changed. 1995-09-19 22:38:15 +00:00
gwr
3d4ed382f6 Catch up with renamed SA_DISABLE flag and update
sunos_sigvec to allow the new SA_RESETHAND flag.
1995-08-15 17:28:02 +00:00
pk
cde4f269ae Start using sunos_sigvec(). 1995-07-05 13:14:09 +00:00
briggs
a734709115 Oops... NOARGS for compat_43_sigvec. 1995-06-25 14:58:17 +00:00
briggs
e1731cd1bf syscalls.master changed. 1995-06-25 14:18:56 +00:00
briggs
de17480671 sigvec -> compat_43_sigvec. 1995-06-25 14:18:35 +00:00
briggs
09e0072b98 Add sunos_emul_path (/emul/sunos). I don't know if this is correct, but
this will at least aid the compilation step and is similar to the
others.
1995-06-25 14:15:08 +00:00
briggs
c9917aa539 * Don't include sys/exec.h explicitly--it's not protected against multiple
inclusions and compat_util.h now includes it.
* Declare struct emul *e=p->p_emul in a couple of places so we can use
  STACKGAPBASE macro (should this macro be modified to take a struct
  emul * or struct proc * parameter?).
* Declare extern struct emul emul_sunos for sunos_sigvec's comparison.
1995-06-25 13:11:44 +00:00
christos
5ad8a15866 Syscalls.master was changed 1995-06-24 20:26:41 +00:00
christos
57b6b2745e Use compat_util.[ch] 1995-06-24 20:22:33 +00:00
cgd
8f62c773e8 don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN 1995-06-18 14:45:14 +00:00
pk
1e070197f4 Go with the flow; use `/emul/sunos' pseudo-root (from Matthew Green).
Note: sunos_stat() and sunos_lstat() were added too.
1995-06-11 22:33:50 +00:00
pk
4c8828e743 init `mode' field in sunaudiogetinfo(). 1995-05-04 19:46:31 +00:00
christos
b9771ef7b1 Try to make the reboot system call compile under sun3 with RB_STRING
support [not tested]
Add files.sunos
Rename system call switch table file from sunos_init_sysent.c to sunos_sysent.c
like other emulations.
1995-04-27 12:05:37 +00:00
gwr
f4d7b9097d Make sunos_reboot(RB_STRING,"...") work for sun3.
Could be made to work for sparc too.
1995-04-26 23:12:02 +00:00
briggs
c937b8a519 Fix compiler error in sunos_reboot(). 1995-04-23 01:00:46 +00:00
christos
79e736e176 syscalls.master was changed 1995-04-22 23:48:37 +00:00
christos
ebdad87ea2 Added sunos_reboot(). 1995-04-22 23:45:29 +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
pk
1dd6d8a8dd Fix TCGETA compat, from Matthew Green.
SunOS `setaudioinfo' does implicit `getaudioinfo'.
Recognise streams flush/setsig ioctls.
1995-04-02 10:43:29 +00:00
mycroft
f75ba16b09 Update to use timer{add,sub}(). 1995-03-21 13:33:34 +00:00
mycroft
2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
pk
a1cfb5b325 Move SunOS audio_info compat stuff here (from sparc/dev/bsd_audio.c). 1995-03-04 09:50:00 +00:00
mycroft
4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
mycroft
f2dba9ed8a timevaladd -> __timeradd (AGAIN) 1994-12-17 19:22:16 +00:00
deraadt
8aa219da0c correct ansi glitch 1994-12-16 19:01:43 +00:00
pk
27fd6ed84f mode/flags confusion in sunos_open(). 1994-12-15 09:41:36 +00:00
mycroft
6332be8c7f Use __timeradd(), not timervaladd(). 1994-12-11 17:56:21 +00:00
deraadt
5f9f1008db update 1994-12-06 00:17:44 +00:00
deraadt
9259e6b44d repair SYSV_* system calls 1994-12-06 00:17:06 +00:00
pk
02e97ec079 Convert SunOS IP multicast socket options. 1994-11-30 09:40:23 +00:00
deraadt
69943c6c35 update 1994-11-26 00:00:11 +00:00
deraadt
e24c51929f a few other things which work 1994-11-25 23:59:31 +00:00
deraadt
66aea4d8d2 m68k does not have PT_{SET,GET}FPREGS 1994-11-23 07:05:20 +00:00
deraadt
52bf7567d8 new syscalls 1994-11-20 21:31:32 +00:00
deraadt
5677e59c0a ptrace from chs+@CS.cmu.edu, poll from christos 1994-11-20 21:31:10 +00:00
deraadt
7eb1e52253 sunos ptrace & poll emulation 1994-11-20 21:30:03 +00:00
deraadt
2e57b94fb7 improve VMIN/VTIME emulation (from chs+@CS.cmu.edu) 1994-11-20 21:29:33 +00:00
deraadt
b56463b6db syscalls.master changed 1994-11-14 07:34:26 +00:00
deraadt
de1d09dd2a fix sunos_mmap 1994-11-14 07:33:48 +00:00
deraadt
930c2dade2 fix CS[5678] code 1994-10-31 05:18:10 +00:00
cgd
0974859697 new RCS ID format. 1994-10-26 02:57:08 +00:00
deraadt
734a6bf4d5 update 1994-10-26 01:04:28 +00:00
deraadt
63d1852163 whoops 1994-10-26 01:03:43 +00:00
deraadt
c4fba0ee57 and we update these 1994-10-25 23:05:28 +00:00
deraadt
1784f27584 and these 1994-10-25 23:04:53 +00:00
mycroft
e5877200d7 Clean up deleted files. 1994-10-25 23:03:35 +00:00
deraadt
019f48332c rename, new syscall interface, etc. 1994-10-25 23:03:22 +00:00
cgd
74d7436a91 pay a small amount of lip service to the new syscall args mechanism.
In reality, none of these will compile.
1994-10-20 04:47:31 +00:00
deraadt
042d2d08a1 use STACKGAPBASE 1994-09-28 00:41:17 +00:00
gwr
ba188a61a0 Avoid some macro redefinitions that have appeared since exec.h
now includes exec_aout.h
1994-07-12 00:34:31 +00:00
cgd
19f726e77f fix a botch, and gen syscall files 1994-06-30 17:00:13 +00:00
cgd
bc9970144d fix up for new ID format, and consistency 1994-06-30 16:42:47 +00:00
cgd
cf92afd66e New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
pk
c3357eea57 sun_mount: fill in one more field. 1994-06-22 08:24:53 +00:00
deraadt
a53fa907c7 async_daemon only if NFSCLIENT 1994-06-15 19:38:05 +00:00
chopps
f63e2d134a update to match recent getdtablesize() change 1994-06-14 10:51:09 +00:00
pk
0f1018ce49 Adapt to 4.4-lite. 1994-06-10 09:26:18 +00:00
mycroft
b43f4fdfcd Minor change. 1994-06-08 11:19:04 +00:00
deraadt
4a46b42560 tricky 1994-06-06 06:57:59 +00:00
deraadt
8dbae58853 maxfdescs -> maxfiles 1994-05-24 02:15:18 +00:00
deraadt
f1cc805ce8 iszerodev 1994-05-21 08:44:26 +00:00
deraadt
82eb0b8134 bail on SIOCGARP 1994-05-21 08:22:08 +00:00
deraadt
b840288c76 fix uname after sysctl 1994-05-19 22:11:54 +00:00
deraadt
ec36c387dd follow 1994-05-07 05:07:23 +00:00
deraadt
fcc30154a9 backwards compat for a few things. 1994-05-07 05:06:35 +00:00
deraadt
d5b1d9c49e p->p_sig -> p->p_siglist 1994-05-05 09:36:23 +00:00
cgd
013681d5ce fix my forgetfulness; from gwr 1994-05-05 02:46:58 +00:00
cgd
f8dd4f370d expand the rlimit struct, kill last vestiges of off_t bogosity. 1994-05-04 01:38:25 +00:00
cgd
70ba2b2c43 sun syscalls.master update 1994-05-01 06:15:58 +00:00
cgd
40d241b53a three changes i forgot, from Gordon Ross (gwr@lamp) 1994-05-01 06:14:50 +00:00
cgd
9fb6210877 keep appropriate id's in 'created from' lines 1994-05-01 06:14:04 +00:00
cgd
f50f031448 kill syscall name aliases. no user-visible changes 1994-04-29 04:41:02 +00:00
pk
21099f340f Fix typo.
Give TIOCTCNTL a try.
1994-04-26 19:52:29 +00:00
pk
13809c7029 SunOS's RLIMIT_NOFILE is different: add sun_[gs]rlimit(). 1994-04-26 19:50:37 +00:00
deraadt
714db1ef12 make sunos mount(2) work again 1994-04-24 11:37:49 +00:00