Commit Graph

862 Commits

Author SHA1 Message Date
thorpej
37b70b3064 Change the "aresid" argument of vn_rdwr() from an int * to a size_t *,
to match the new uio_resid type.
1998-07-28 21:39:54 +00:00
lukem
786b86d71b use AF_LOCAL instead of AF_UNIX 1998-07-18 05:04:35 +00:00
thorpej
35bb79bc83 Oops, fix typo, pointed out by Urban Boquist <boquist@cs.chalmers.se>. 1998-07-07 00:40:27 +00:00
jonathan
d275e56dee * defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
mhitch
3950d164c0 Add missing include of "opt_nfsserver.h". 1998-07-03 20:03:04 +00:00
thorpej
33f066d24c Implement the shrinking and no-change bits of the Linux mremap(2) system
call, provided by Urban Boquist <boquist@cs.chalmers.se> in PR #5693.

Add a comment about how one might implement the growing bit of mremap(2).
1998-07-02 23:26:58 +00:00
thorpej
469eb58301 Fix pread64/pwrite64 wrt. argument translation. 1998-07-02 02:20:21 +00:00
thorpej
dd0758a46a Oops, fix a couple of brain-o's. 1998-07-01 01:23:25 +00:00
thorpej
b413670e49 Regen. 1998-07-01 00:41:55 +00:00
thorpej
f76a7b5d83 Add a bunch more system calls from Digital UNIX 4.0D. 1998-07-01 00:41:36 +00:00
thorpej
576184d528 Put pread64() and pwrite64() back in here, but just call the native
NetBSD system call with no argument translation.
1998-06-30 23:34:05 +00:00
thorpej
c21db87c09 Regen. 1998-06-30 23:32:07 +00:00
thorpej
641ea73301 Revert the last change; it had a side-effect that I didn't think about. 1998-06-30 23:31:28 +00:00
thorpej
f8fe385b78 Rewrite svr4_sys_pread() and svr4_sys_pwrite() in terms of the native
NetBSD pread(2) and pwrite(2).  These still require indirection because
the arguments need to be converted to the correct types.

Delete svr4_sys_pread64() and svr4_sys_pwrite64(), since the arguments
for these calls do not need conversion, and the syscall switch calls
the native NetBSD system calls directly.
1998-06-30 19:42:56 +00:00
thorpej
e05b7cc70b Regen: syscalls.master changed to reflect native pread/pwrite. 1998-06-30 19:40:55 +00:00
thorpej
cf54391ad7 Now that NetBSD has pread(2) and pwrite(2), we no longer need to indirect
through SVR4 emulation layers to handle SVR4's pread64(2) and pwrite64(2),
since NetBSD's arguments are the same as the SVR4 64-bit system call
arguments.
1998-06-30 19:40:13 +00:00
scottb
fe00c5db7f fix typo that broke directory read emulation. 1998-06-28 01:20:06 +00:00
hannken
6f6901bd1a Include NFSSERVER option header opt_nfsserver.h. 1998-06-26 10:13:14 +00:00
thorpej
8aee7782f5 defopt COMPAT_SUNOS 1998-06-25 23:40:33 +00:00
thorpej
21592147a1 defopt COMPAT_ULTRIX 1998-06-25 23:27:56 +00:00
thorpej
bb13cd15fb Regen: defopt NFSSERVER 1998-06-25 22:20:04 +00:00
thorpej
5b34683734 defopt NFSSERVER 1998-06-25 22:19:50 +00:00
thorpej
5dc3448163 Regen: defopt NFSSERVER 1998-06-25 22:19:33 +00:00
thorpej
bff28c879a defopt NFSSERVER 1998-06-25 22:19:12 +00:00
thorpej
227197f1ef Regen: defopt NFSSERVER 1998-06-25 22:18:53 +00:00
thorpej
6b781d156f defopt NFSSERVER 1998-06-25 22:17:36 +00:00
thorpej
971b8956ef defopt KTRACE 1998-06-25 21:18:11 +00:00
thorpej
b13482a5ce Regen: defopt KTRACE 1998-06-25 21:17:56 +00:00
thorpej
808867c7cf defopt KTRACE 1998-06-25 21:17:15 +00:00
sommerfe
becaafeea0 defopt for options FIFO 1998-06-22 22:00:59 +00:00
mrg
cbffcd18f0 use <dev/sun/disklabel.h> for new (old) compat ioctls: DKIOCGGEOM, DKIOCINFO and DKIOCGPART 1998-06-20 03:43:49 +00:00
drochner
81fd096b37 Since wscons can support VT_xxx ioctl()s, enable them if NWSDISPLAY > 0.
Implement KDGKBTYPE and KDGKBENT, this will make X servers happy.
1998-06-11 22:26:13 +00:00
augustss
9af4656838 Fix off by 1 error 1998-05-25 17:13:43 +00:00
chs
75a77b5286 regen 1998-05-20 16:35:19 +00:00
chs
20a0fa6146 make this compile again. 1998-05-20 16:34:29 +00:00
kleink
687ea7404c Fix some arithmetics lossage on typeless pointers. 1998-05-08 16:55:15 +00:00
christos
3f0a958f6d regen. 1998-05-02 18:14:56 +00:00
christos
f6cd9bf78b PR/5350: Minoura Makoto: add issetugid() syscall. (with fixes from me) 1998-05-02 18:14:06 +00:00
kleink
d40e7c810b Make adding new source files easier and enhance readability by ordering SRCS
items by (Net)BSD version first, then alphabetically.
1998-04-28 16:27:51 +00:00
mycroft
487d1fa05e Fix typo in utime(). 1998-03-24 09:47:30 +00:00
mycroft
aa1112aed5 SETFRAGMENT ignores the high bit. 1998-03-19 06:53:28 +00:00
thorpej
8118bb3984 Make this compile again in light of Lite2. 1998-03-05 22:51:35 +00:00
thorpej
c5ecc8ab11 Arrgh, I said "abort", dammit... 1998-03-05 22:49:20 +00:00
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