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
deraadt
92dd747175
nice unique SUN_SYS_ names..
1994-04-04 10:06:53 +00:00
deraadt
9b3514464e
SYS_* -> SUN_SYS_* to avoid name space clash
1994-04-04 10:04:00 +00:00
cgd
5a0aea55f0
sickness to get SunOS mmap right
1994-04-02 08:32:56 +00:00
cgd
304e374292
expand uid_t/gid_t/off_t
1994-03-27 09:08:02 +00:00
cgd
d2ee60cc73
fix botch
1994-03-27 08:51:52 +00:00
cgd
4a28c23c2f
do the syscall shuffle
1994-03-27 08:34:59 +00:00
deraadt
fd0320c5dc
update to syscall.master (for sysconf)
1994-03-03 14:15:53 +00:00
deraadt
d6976aca70
DoH!
1994-03-03 14:15:25 +00:00
deraadt
ae535bfeb6
first cut at a SUNOS_COMPAT sysconf() system call.
1994-03-03 14:08:25 +00:00
chopps
bd48fb1aa9
place conditional around sun_nfssvc.
1994-02-20 23:24:03 +00:00
jtc
5235180083
Fix spelling error in Copyright notice
1994-01-28 23:43:26 +00:00
deraadt
ac51029167
for new exec, from mw
1994-01-28 03:41:44 +00:00
deraadt
b2834eb029
sync with magnum
1994-01-15 01:18:14 +00:00
deraadt
858521c1a8
update to latest syscalls.master
1993-12-12 20:46:24 +00:00
deraadt
9d48733fb1
m68k/sparc sunos binary compatibility code, pulled down from magnum branch
...
for consumption by the m68k masses
1993-12-12 20:43:18 +00:00
mycroft
b26d4770d0
Clean up deleted files.
1993-11-28 18:07:58 +00:00
deraadt
6ce3f214d1
compat exec() stuff is done more sensibly now
...
(hpux and ultrix compat stuff will be done the same way)
1993-11-28 18:03:18 +00:00
deraadt
61789d11e5
moved from arch/sparc/sunos to compat/sunos
1993-11-22 22:54:48 +00:00
deraadt
95b75b0b4e
update to new syscalls.master
1993-11-20 03:09:03 +00:00
deraadt
57a09f4e1c
new compat functions: sun_open, sun_auditsys, sun_setpgid, sun_uname
...
some from Markus.
1993-11-20 03:08:16 +00:00
deraadt
370e6c6aed
cannonicalize #include's
1993-11-20 03:05:41 +00:00
deraadt
e2a5941739
new compat functions: sun_open, sun_auditsys, sun_setpgid, sun_uname
...
some from Markus.
1993-11-20 03:01:58 +00:00
deraadt
ac4a976328
fake support for TIOCSSOFTCAR and TIOCGSOFTCAR
...
(one of which used to point to NetBSD's TIOCSTAT :-)
1993-11-20 02:57:43 +00:00
deraadt
61f6f87a4c
update to latest syscalls.master
1993-11-14 14:56:35 +00:00
deraadt
ee8ffb2911
update to kern/syscalls.master, for SYSVSEM & SYSVMSG
1993-11-14 14:56:05 +00:00
deraadt
db97aa737f
disassembly shows the %f2 register being accessed, and of course the
...
kernel panics.
why wasit using %f2? some expressions were too complicated and gcc2 (with
the optimizer off, mind you) ran out of integer registers and thus used
started using a float register for a temporary.
1993-11-14 14:46:54 +00:00
deraadt
25800bfb5b
specdev.h moves
1993-11-12 03:23:51 +00:00
deraadt
ea61d92021
replacement set of sun ioctl functions. markus wild added a
...
whole slew of new ioctl's that are much more close to reality.
the comat-sunos tree is now almost good enough to be used in
both m68k and sparc kernels.
1993-11-10 15:03:33 +00:00
deraadt
a256e8b38a
silly typo
1993-11-10 11:46:38 +00:00
deraadt
3593ac2407
sunos compat execve() helper routines.
...
these routines are not useful/used on the sparc, but are needed
by the sun3.
1993-11-10 10:31:35 +00:00
deraadt
294c3d8704
support both sun3 & sparc concepts of minor/major #'s for /dev/zero
1993-11-10 10:14:19 +00:00
deraadt
b9f8cbdca7
update from new syscalls.master
1993-11-10 01:01:59 +00:00
deraadt
ffb469a020
chmod 444 on the output files is a bad idea
1993-11-10 01:01:25 +00:00
deraadt
2e0bfb759c
update to 4.4 way of doing syscall#0
1993-11-10 00:59:10 +00:00
deraadt
6ecda95b8a
rebuilt from syscall.master: {get,set}domainname change
1993-10-15 11:29:13 +00:00
deraadt
ef0d3bd5cb
fix sun_getdents()
...
fix sun_mmap()
Note: delete the "struct dirent" in here when sys/dirent.h is created.
1993-10-15 11:28:29 +00:00
deraadt
fc55b2487e
use the standard {get,set}domainname stuff
1993-10-15 10:58:42 +00:00
deraadt
4a2a17c2f1
rebuild files from syscalls.master
1993-10-13 02:32:36 +00:00
deraadt
bb5626a7c8
Add a stub auditsys() system call that does nothing.
...
SunOS /sbin/fsck calls it..
1993-10-13 02:31:47 +00:00
deraadt
b3147a8677
various changes, suffice to say that 4.4 syscalls do not look like ours
1993-10-11 02:44:06 +00:00
deraadt
4588caefaa
Chris Torek's sparc port. Missing lots of things.
1993-10-02 10:22:00 +00:00