Commit Graph

748 Commits

Author SHA1 Message Date
thorpej cf591e644b Generate dependencies on the VM86 option. 1998-01-15 22:25:52 +00:00
christos 05d3f8a2e9 PR/4794: Urban Boquist: Linux cdrom ioctls are missing 1998-01-15 14:52:11 +00:00
thorpej 80fff795f9 Regen. 1998-01-09 06:19:02 +00:00
thorpej 9a4eec1ed1 Regen. 1998-01-09 06:14:57 +00:00
thorpej d92ba4e07c Regen. 1998-01-09 06:10:55 +00:00
thorpej 0068dec705 Regen: back out RCD ID related changes. 1998-01-08 00:27:16 +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
perry 3c47900572 RCSID Police. 1998-01-05 17:51:27 +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
mjacob 0e9ef018df more putz cleanup: I dunno if this works (fixing syntax, not checking semantics) 1997-12-01 06:04:23 +00:00
veego de86e7d596 Regen. 1997-11-30 18:08:01 +00:00
veego 02444cbd23 Change syscall table to use the 1.3 compatibility sigaltstack() function
(fix from kleink).
1997-11-30 18:06:39 +00:00
kleink 5d7a8f4a16 Modify the recent sigaltstack() interface change to use the __RENAME() scheme;
add __sigaltstack14().
1997-11-29 18:38:20 +00:00
kleink a255f23ee3 In XPG4.2, the ss_size member of type stack_t (struct sigaltstack) is specified
to be of type size_t; since this imposes an interface change on the Alpha
(sizeof(int) != sizeof(size_t)), allocate a new system call number and make
the previous version a compatibility system call.
1997-11-25 19:32:15 +00:00
christos 669a5c22a2 Regen 1997-11-16 22:51:15 +00:00
christos 6a9178e444 From Todd Vierling:
- Fix memcntl()
- Fixed stat and mknod syscalls to properly disassemble and reassemble
  dev_t values to/from emulation dev_t's
- Added pty (ptmx) subsystem at svr4net minor number 10 -- /dev/ptmx
- Implemented fork1() as fork() (should change if and when threads get
  added to the system)
- fixed spellings in disclaimer in svr4_net.c; it looks like someone went
  and did a s/nd/st/g on the whole file... yuck
- changed ptmx device to also halt on ENXIO (for pty files that exist with
  no kernel pty to back them)
- fixed SVR4 setpgrp() to be a near equivalent to BSD setsid() (old
  emulation didn't create a new session)
1997-11-16 22:50:55 +00:00
gwr 5e82d82867 Pass down the values of: AR NM RANLIB
(Fixes PR#4426 from SAITOH Masanobu)
Also pass down LORDER TSORT.
1997-11-04 21:18:24 +00:00
pk 1abecf9a70 Deal with svr4_ulimit() return values in the same way as in
compat_43_sys_setrlimit(). (takes care of PR#4418)

Also in svr4_ulimit(): return EINVAL for unknown commands, instead of ENOSYS.
1997-11-03 22:03:31 +00:00
pk 78ccc57a52 Fix test for NULL arg in svr4_utime() (PR#4418). 1997-11-03 21:33:07 +00:00
christos 8158edb63d Regen 1997-10-28 19:02:52 +00:00
christos b08c2743e7 Put a noop stub for sys_auditsys 1997-10-28 18:58:17 +00:00
christos 09d37c93a5 Implement F_REVOKE, F_FREESP and all the 64 bit calls. 1997-10-28 18:55:56 +00:00
kleink 043c84ea94 Addendum to last commit: don't clobber the read/write byte count when
seeking back to the original offset.
1997-10-28 12:06:56 +00:00
kleink 4174920943 Per X/Open CAE Specification, Issue 5, change the semantics of pread(),
pread64(), pwrite(), pwrite64():
* The `offset' argument specifies an absolute offset within the file.
* After performing the read resp. write operation, restore the original
  offset within the file.
Also, change the argument structure used by svr4_sys_prwite64() to
svr4_sys_pwrite64_args, instead of the 32-bit offset version.
1997-10-27 11:45:57 +00:00
fvdl b2d2f560e8 Fix another eofflag interpretation mistake that I missed when fixing
them.
1997-10-26 11:13:46 +00:00
fvdl ef0ba97c11 Update for new msync (== __msync13), use flags 1997-10-21 00:58:41 +00:00
fvdl af221f1c41 msync -> __msync13 1997-10-21 00:57:38 +00:00
thorpej 14cd99880c Fix the shared library versioning snafu caused by the recent changes
to the stat(2) family and msync(2).  This uses a primitive function
versioning scheme.

This reverts the libc shared library major version from 13 to 12, and
adds a few new interfaces to bring us to libc version 12.20.

From Frank van der Linden <fvdl@NetBSD.ORG>.
1997-10-20 22:05:06 +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
carrel c2418895f6 Add some more sysconf() types. (Mostly stolen from other compat_* s) 1997-10-19 19:25:07 +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
christos eb2b299151 Regen. 1997-10-19 18:45:46 +00:00
christos 423b2ff7b4 Make mman(2) functions args consistent (caddr_t -> void *) 1997-10-19 18:45:04 +00:00
mycroft 429b08a2b4 Use S_IS*(), not S_IF*. 1997-10-19 18:40:11 +00:00
mycroft 762d77e123 Fix bogosity in mknod(2) translation. 1997-10-19 18:35:09 +00:00
carrel ea9e34c2f7 cast to void * not caddr_t 1997-10-19 12:52:19 +00:00
augustss e7029fc0da Make the audio API (almost) SunOS compatible.
The changes is to allow some limited mixer manipulation through
the audio device (instead of the mixer device).
This rendered 4 methods in audio_hw_if unused so garbage collect these.
1997-10-19 07:41:33 +00:00
mycroft 62f4958011 Copy the whole timespec, not just half of it. Other minor changes. 1997-10-19 01:52:51 +00:00
fvdl 33074aa25a Eliminate compile warning because of mmap caddr_t -> void * change. 1997-10-19 00:16:08 +00:00
jonathan 2e47a5547e Use void* not caddr_t for 'addr' argument to native mmap(). 1997-10-19 00:15:31 +00:00
carrel 052d2ca080 variable is sb not st 1997-10-18 16:39:46 +00:00
christos e196a361ce Regen. 1997-10-18 16:31:59 +00:00
christos 885404d216 Use stat12; from Enami Tsugutomo 1997-10-18 16:30:25 +00:00
scottr 961e600c5c Don't compile hpux_sys_ptrace(), as it uses a deprecated interface
(and didn't really work, anyway).  Suggested by Dave Carrel.
1997-10-17 18:43:48 +00:00
scottr 0ea4e1111a Regen. 1997-10-17 18:40:53 +00:00
scottr 519862a03a ptrace() emulation is no longer supported, and probably hasn't worked
for some time anyway.
1997-10-17 18:39:14 +00:00