perry
f15ade7552
enable nanosleep in linux emul, per pr-5906 from Soren S. Jorvang
1998-08-05 00:44:32 +00:00
kleink
c6ef57702d
UIO_MAXIOV -> IOV_MAX
1998-08-04 12:19:15 +00:00
kleink
3d9b4a4320
Fix two off-by-one bugs, both present in each recvmsg(2) and sendmsg(2):
...
* the first one would cause an unnecessary malloc() of iovec storage for
a msg_iovlen of UIO_SMALLIOV although the required amount of memory has
been allocated on the stack.
* the second one would cause a recvmsg() or sendmsg() with a msg_iovlen of
UIO_MAXIOV to fail with EMSGSIZE, which is also a violation of XNS5.
1998-08-03 15:15:58 +00:00
kleink
af261318d9
Now that we have it, add a conversion for _PC_SYNC_IO.
1998-08-03 14:23:30 +00:00
thorpej
0e28b643e9
Use a pool for proc structures.
1998-08-02 04:41:32 +00:00
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