Commit Graph

334 Commits

Author SHA1 Message Date
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
christos 153d76736d syscalls.master was changed; added a couple of new header files. 1994-11-18 02:56:09 +00:00
christos 2859b1c634 Rework streams emulation so that it does not rely on non portable hacks.
We keep streams state in so->so_ptcb; this field is unused in all the kernel.
Fix poll(2) timeout computation; add hrtsys and waitsys syscalls.
1994-11-18 02:53:37 +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
christos 0d5c2ddb90 new files 1994-11-14 06:13:11 +00:00
christos 25ef6e1436 More functionality and bug fixes 1994-11-14 06:10:37 +00:00
deraadt 930c2dade2 fix CS[5678] code 1994-10-31 05:18:10 +00:00
cgd 6ac2bbfc35 be more careful with types, also pull in headers where necessary. 1994-10-30 21:43:03 +00:00
christos f46f498d53 Changed code to KNF, removed global variable per cgd's request. 1994-10-29 00:43:14 +00:00
mycroft ed0f09279e Reran makesyscalls.sh, to update SYS_* constants and fix truncated line. 1994-10-28 20:46:17 +00:00
mycroft 4e9c2720e2 Clean up deleted files. 1994-10-26 11:58:32 +00:00
christos afffe1aaf8 Fixed Charles suggestions:
1. always do the stackgap_init()/CHECKALT first in syscalls that need it.
2. svr4_emul_find() uses malloc for the buf, does not use copyoutstr, but
   copyout().

Removed makesyscalls.sh; it was really old and we don't need a separate copy.
1994-10-26 11:58:24 +00:00
cgd 69d2deb545 new RCS ID format. 1994-10-26 05:27:43 +00:00
cgd 0974859697 new RCS ID format. 1994-10-26 02:57:08 +00:00
cgd 6b7c260753 new RCS ID format. 1994-10-26 02:45:11 +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
deraadt dca2741d28 make SYS_* macros unique 1994-10-24 23:26:02 +00:00
mycroft f3c9ca2e05 Make the termios convul^H^Hersion a little less ugly, and convert CSIZE correctly. 1994-10-24 22:01:35 +00:00
deraadt b415eb1d1d new from christos 1994-10-24 17:37:34 +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
mycroft 3e334ba9a6 New iBCS2 code from Scott. 1994-09-05 01:28:57 +00:00
mycroft c639e40d5b iBCS2 emulation code, written by Scott Bartram. 1994-08-24 19:13:39 +00:00
mycroft 9db57a0aa0 Fix typo. 1994-08-17 11:03:07 +00:00
mycroft da534b691a Reran makesyscalls.sh. 1994-08-15 23:49:28 +00:00
mycroft e8b01ef8dc Add missing line. 1994-08-15 23:48:41 +00:00
mycroft 2b2c64b4e2 Need prototype of exec_svr4_elf_makecmds(). 1994-08-15 22:54:51 +00:00
mycroft a82f727857 Clean up deleted files. 1994-08-15 22:47:27 +00:00
mycroft ea999cdda2 Rename this for consistency. 1994-08-15 22:47:24 +00:00
mycroft e2122143e9 Don't reread the blasted header. 1994-08-15 22:47:00 +00:00
mycroft b0d890f90a EMUL_IBCS2 --> EMUL_IBCS2_ELF 1994-08-15 22:03:12 +00:00
glass 7ea51310a8 add ultrix_{get,set}sysinfo() from Arne H Juul <arnej@dsl.unit.no> 1994-08-01 14:16:24 +00:00
glass 32d2a27836 ultrix_{get,set}info from Arne H Juul <arnej@dsl.unit.no> 1994-08-01 14:15:06 +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 a2e313bd42 gen syscall fiels from new syscalls.master 1994-06-30 17:01:45 +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
glass e0069330b3 oops 1994-06-25 07:06:49 +00:00
deraadt 932345acae post 4.4-lite update 1994-06-24 07:30:17 +00:00
pk c3357eea57 sun_mount: fill in one more field. 1994-06-22 08:24:53 +00:00
glass 188170d2e3 update to reflect compat_ultrix syscalls.master 1994-06-22 03:38:25 +00:00
glass 8c50058535 update for getdtablesize change, and track compat_sunos 1994-06-22 03:37:15 +00:00
mycroft c22aab7bbe getdirentries() and getdtablesize() compat. 1994-06-22 03:04:01 +00:00
deraadt a53fa907c7 async_daemon only if NFSCLIENT 1994-06-15 19:38:05 +00:00
glass 57642fb485 much works but untested w/new fs. expect more tomorrow 1994-06-15 05:18:01 +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
glass 2c9de9962f first swipe at ultrix compat. expect many bug fixes. very related to compat/sunos 1994-06-02 06:25:37 +00:00
mycroft 64561e1985 Something else needs COMPAT_OHPUX. 1994-05-25 11:55:06 +00:00
deraadt 95c2509dcd maxfdescs -> maxfiles 1994-05-24 03:27:13 +00:00
deraadt 8dbae58853 maxfdescs -> maxfiles 1994-05-24 02:15:18 +00:00
mycroft 48dd63215d Merge with 4.4-Lite. 1994-05-23 08:03:32 +00:00
mycroft 56c75f2846 Update to match other code. 1994-05-23 06:19:05 +00:00
cgd 8ecf3dc2cc this file came from sun_misc.c 1994-05-22 10:46:33 +00:00
deraadt a0ca154be4 prelim svr4 stuff from <christos@deshaw.com> 1994-05-22 10:04:26 +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
cgd da707cc4eb syscall and time stuff 1994-05-17 10:37:09 +00:00
cgd 08124ce51b fix syscall for new names 1994-05-17 10:36:03 +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
mycroft 89a5de9e12 Most of the changes needed to make this continue to run. 1994-05-05 10:10:21 +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
mycroft e5a2605525 Remove silly redundant #ifdefs. 1994-05-04 04:09:34 +00:00
mycroft e3e3d72f66 Update to match proc.h. 1994-05-04 03:47:10 +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
mycroft bec176e7da Update for new time struct. 1994-04-26 22:33:28 +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
cgd 2079970043 SHM_LOCK and SHM_UNLOCK aren't just HPUXCOMPAT 1994-01-08 15:09:01 +00:00
mycroft 0bbaf2a5e8 Partial cleanup. Needs more work. 1994-01-07 00:43:39 +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
mycroft 0b3f240c49 Ditto. 1993-09-02 19:05:40 +00:00
mycroft 4862b84c92 Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
cgd 30177b538f add rcsids to everything and clean up headers 1993-05-22 07:56:12 +00:00
cgd 6dedb5151c add hp300 kernel files. generic kernel files might need some help... 1993-05-13 13:56:20 +00:00