thorpej
dfdde49707
*** empty log message ***
1998-03-05 22:48:34 +00:00
scottb
297f065eec
Duplicated null cookiebuf check from ibcs2_sys_getdents to ibcs2_sys_read.
1998-03-05 04:49:50 +00:00
scottb
8adcd13408
Fixed incorrect assumption that svr4_semctl is passed a 'union semun' pointer
1998-03-05 04:42:49 +00:00
scottb
9273595150
Added support for ibcs2_sigcode.
...
Added new emulation structure, emul_ibcs2_xout, for XENIX.
Modified some syscalls to differentiate between XENIX and UNIX.
Fixed major bug in semaphore structure emulation size and conversion.
Check and cleanup copyin/copyout usage.
Add xenix_sys_locking patches from Andreas Wrede <andreas@planix.com>.
1998-03-05 04:36:07 +00:00
scottb
498bb9530b
Modified compat_10_sys_semsys to correctly read in a union arg (a5)
...
and pass a union pointer arg to sys___semctl
1998-03-05 04:26:35 +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
mycroft
0e4a7ffbe0
Regen.
1998-02-20 18:09:29 +00:00
mycroft
26c238db7d
Linux's getsid(2) does in fact return a pid, not a pointer.
1998-02-20 18:09:04 +00:00
thorpej
dc4fe3d32d
Regen: makesyscalls.sh changed.
1998-02-19 03:34:15 +00:00
thorpej
7db8266c3d
Regen; syscalls.master and makesyscalls.sh changed.
1998-02-19 00:46:39 +00:00
thorpej
e533010083
Include the NFS option header.
1998-02-19 00:46:02 +00:00
thorpej
2ea9f5648e
regen; makesyscalls.sh changed
1998-02-19 00:45:36 +00:00
thorpej
054d3ec0b2
Change a comment to reflect new makesyscalls.sh behavior.
1998-02-19 00:45:12 +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
ffa2f66af1
regen; makesyscalls.sh changed
1998-02-19 00:42:35 +00:00
thorpej
db2bdf86a9
Change a comment to reflect new makesyscalls.sh behavior.
1998-02-19 00:42:15 +00:00
thorpej
e94f57bd08
regen; makesyscalls.sh changed
1998-02-19 00:41:47 +00:00
thorpej
c0ef23f235
Change a comment to reflect new makesyscalls.sh behavior.
1998-02-19 00:41:12 +00:00
thorpej
85363653a7
regen; makesyscalls.sh changed.
1998-02-19 00:40:44 +00:00
thorpej
9f6ec3eb67
Change a comment to reflect new makesyscalls.sh behavior.
1998-02-19 00:40:25 +00:00
thorpej
98193ef4fd
makesyscalls.sh changed; regen.
1998-02-19 00:39:25 +00:00
thorpej
a4db5a6784
Update a comment to reflect new makesyscalls.sh behavior.
1998-02-19 00:37:43 +00:00
thorpej
6f0c98c0d4
Regen: syscalls.master and makesyscalls.sh changed.
1998-02-19 00:36:33 +00:00
thorpej
fcb761ac95
Include the NFS option header.
1998-02-19 00:36:03 +00:00
thorpej
00fa9be52f
Include the UNION option header.
1998-02-19 00:35:26 +00:00
kleink
9d4229ed21
Regen: use POSIX semantics for chown()/fchown().
1998-02-14 22:06:38 +00:00
kleink
d3e69807a6
Use sys___posix_{chown,fchown}() instead of sys_{chown,fchown}().
1998-02-14 22:04:56 +00:00
kleink
96f0dccbdd
* Use sys___posix_{chown,fchown}() instead of sys_{chown,fchown}().
...
* Change reference from sys_posix_rename() to sys___posix_rename().
1998-02-14 21:57:02 +00:00
kleink
f1d879bb87
Regen: use POSIX semantics for chown()/fchown()/rename() syscalls, add lchown().
1998-02-14 21:43:35 +00:00
kleink
b9233971cd
* Use sys___posix_{chown,fchown}() insteade of sys_{chown,fchown}().
...
* Change reference from sys_posix_rename() to sys___posix_rename().
* Emulate lchown().
1998-02-14 21:40:54 +00:00
kleink
6dccfbdf6f
Regen: use POSIX semantics for chown()/fchown()/rename() syscalls, add lchown().
1998-02-14 21:31:26 +00:00
kleink
c19ebc067c
* Use sys___posix_{chown,fchown}() instead of sys_{chown,fchown}().
...
* Change reference from sys_posix_rename() to sys___posix_rename().
* Emulate lchown().
1998-02-14 21:29:14 +00:00
kleink
8defdfc372
Regen: sys_fchown() -> sys___posix_fchown().
1998-02-14 21:19:37 +00:00
kleink
ab93fc5e02
Use sys___posix_fchown() instead of sys_fchown().
1998-02-14 21:16:35 +00:00
kleink
9cda9b2393
* chown(): use sys___posix_chown().
...
* rename(): change reference to sys___posix_rename().
1998-02-14 21:13:52 +00:00
kleink
81f5f29918
Regen: sys_fchown() -> sys___posix_fchown().
1998-02-14 21:03:48 +00:00
kleink
5d1d29ff65
Use sys___posix_fchown() instead of sys_fchown().
1998-02-14 20:58:21 +00:00
kleink
5c1fbd0e44
* chown(): use sys___posix_chown().
...
* rename(): change reference to sys___posix_rename().
1998-02-14 20:52:47 +00:00
thorpej
5f8168f660
Use the sesssion's stored SID in getsid().
1998-02-14 01:33:18 +00:00
thorpej
8efb4289b4
syscalls.master changed; regen.
1998-02-14 01:30:20 +00:00
thorpej
44102031da
We now have a native getsid(2), so there's no need to implement it here;
...
just use sys_getsid().
1998-02-14 01:29:43 +00:00
thorpej
821a4fec46
Add a comment clearly describing that Linux's getsid(2) differs from
...
the XPG4.2 definition in that it returns the kernel virtual address
of the session structure, rather than the process group ID of the
session leader.
1998-02-14 01:28:15 +00:00
kleink
ed9f037214
Fix EDQUOT and EIDRM, add ENOMSG.
1998-02-10 17:45:06 +00:00
kleink
552ec236a0
Map ENOMSG.
1998-02-10 14:37:38 +00:00
mrg
d90485202c
- add defopt's for UVM, UVMHIST and PMAP_NEW.
...
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
scottb
2ee5fa7f17
iBCS2 code cleanup
...
added support for ELF binaries
added support for ELF shared libs via mmap code borrowed from svr4_misc.c
incorporated a few XENIX patches from Andreas Wrede <andreas@planix.com>
1998-02-09 02:30:42 +00:00
mikel
4de16acd9c
update errno maps, we now have EIDRM
1998-02-06 08:26:02 +00:00
mrg
1a8c7604f4
initial import of the new virtual memory system, UVM, into -current.
...
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.
this is the rest of the MI portion changes.
this will be KNF'd shortly. :-)
1998-02-05 07:59:28 +00:00
christos
3c7ab5dc3a
Regen.
1998-02-01 13:25:00 +00:00
christos
eff7649981
Enable nanosleep
1998-02-01 13:12:42 +00:00
mycroft
a963fe5864
Store the initial NPX control word appropriate for the emulation in the saved
...
FPU state, and use it when initializing the FPU on demand.
1998-01-24 13:19:46 +00:00
mycroft
a9a7cc88d1
Need foo_exec.h.
1998-01-24 12:45:16 +00:00
mycroft
8bd9717302
Add local versions of setregs(), so I can tweak some registers later.
1998-01-24 12:42:22 +00:00
mycroft
9dd67a9098
Prototype new functions.
1998-01-24 12:39:37 +00:00
mycroft
112a8edc95
Use svr4_setregs().
1998-01-24 12:34:16 +00:00
mycroft
69b60a733c
Use freebsd_setregs().
1998-01-24 12:33:15 +00:00
mycroft
72623d8443
Use linux_setregs().
1998-01-24 12:32:15 +00:00
mycroft
c9c365814e
Regen.
1998-01-22 17:36:16 +00:00
mycroft
88ff8086d8
Nor COMPAT_09.
1998-01-22 17:36:01 +00:00
mycroft
91668a26c1
Regen.
1998-01-22 17:34:15 +00:00
mycroft
95745ffc95
This doesn't actually use COMPAT_10.
1998-01-22 17:33:49 +00:00
mycroft
0a4f0e60de
Regen.
1998-01-22 17:33:03 +00:00
mycroft
e8283b7944
This doesn't actually use COMPAT_10.
1998-01-22 17:32:25 +00:00
mycroft
b77637a440
Fix an old typo that caused shmdt() to fail.
1998-01-22 17:22:52 +00:00
mycroft
769c9d4707
Clean this up a bit.
1998-01-22 16:33:57 +00:00
mycroft
c79bc94b0e
Regen.
1998-01-22 16:32:40 +00:00
mycroft
1e948ee1c3
Put a local copy of the SysV IPC compatibility from compat/common in here, so
...
it's not dependent on COMPAT_10. Also, fix translation of shmctl(), since
FreeBSD's is a little different.
1998-01-22 16:31:33 +00:00
thorpej
54a35a6019
Generate dependencies on the USER_LDT option.
1998-01-22 00:39:16 +00:00
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