cgd
3e0efb4d89
changes to make this work on systems where pointers & longs are 64 bits.
...
This is mostly just changes to make the stuff that goes over the wire
use fixed-size types.
1995-12-19 23:07:11 +00:00
ghudson
d61f235615
Add cookie support. Stash cookies in the word prior to the end of
...
each entry, and read them out in nfs_readdir().
Caveat: our current caching method for directory blocks uses the
server offset of the first directory entry as an identifier, so a
Linux emulation getdirentries() will wind up retrieving one block from
the NFS server for each directory entry, unnecessarily thrashing the
cache. The situation isn't as bad for other emulations.
Instead of getblk(), we need to write a routine to scan each cache
block associated with vp to find a cookie that matches at some
directory entry. Some later time.
1995-10-14 00:56:07 +00:00
mycroft
b12f4a4409
For now, return EINVAL if the client needs cookies.
1995-10-09 11:25:30 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
thorpej
60024eb978
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 21:40:36 +00:00
ws
4d035ffc4d
No point in computing cn_hash here,
...
as it gets immediately recomputed in lookup
1995-09-08 13:52:23 +00:00
mycroft
5482957905
splnet --> splsoftnet
1995-08-12 23:59:09 +00:00
gwr
19969f2fe2
Use RPCAUTH_UNIX in requests to please picky NFS servers.
1995-08-08 20:43:43 +00:00
cgd
e9d17d38b5
avoid unnecessary aging of buffers. This used to make sense, when buffer
...
caches were much smaller, but makes little sense now, and will become more
useless as RAM (and buffer cache) sizes grow. Suggested by Bob Baron.
1995-07-24 21:19:27 +00:00
cgd
8f62c773e8
don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN
1995-06-18 14:45:14 +00:00
mycroft
6897f39ae9
Various cleanup, including:
...
* Convert several data structures to use queue.h.
* Split in_pcbnotify() into two parts; one for notifying a specific PCB, and
one for notifying all PCBs for a particular foreign address.
1995-06-12 00:46:47 +00:00
mycroft
41a1b362f8
Fix more off by one errors.
1995-06-02 19:50:11 +00:00
mycroft
f1365566f1
Fix another off by one error.
1995-06-02 18:49:31 +00:00
mycroft
b1b27effa0
Imported group list now starts at offset 0, not 1.
1995-06-02 18:38:57 +00:00
mycroft
f5f32d8328
Exported group list now starts at offset 0, not 1.
1995-06-02 18:35:50 +00:00
jtc
95ded74f58
Moved egid credential from cr_groups[0] to new field cr_gid. POSIX.1
...
requires that sgid executables and the setuid() syscall *not* change
the supplemental group list.
1995-06-01 22:43:30 +00:00
mycroft
1448ab7a19
Remove gratuitous extra indirections.
1995-05-23 06:22:45 +00:00
cgd
f66bf5fd18
don't blindly set IFF_UP; or it with old flags
1995-05-23 00:14:06 +00:00
mycroft
f6ff0fba6d
Use fxdr_*() and txdr_*() macros to do byte order conversions.
1995-05-20 01:52:49 +00:00
cgd
14b1452a90
kill unnecessary blank line at end of file
1995-04-30 07:03:13 +00:00
gwr
d73db495da
Fixed RPC code to deal with RPC messages larger than one mbuf.
1995-04-24 21:54:56 +00:00
gwr
1012443810
Cosmetic changes suggested by Adam.
1995-03-28 21:29:32 +00:00
jtc
f76f1f89ad
KERNEL -> _KERNEL
1995-03-26 20:35:13 +00:00
gwr
ca3ff7bdd8
Initialize fields in the RPC data where we were sending garbage.
1995-03-18 05:56:32 +00:00
gwr
8f7b63df4e
Print the "root/swap on ..." messages here.
...
Add NFS_BOOT_OPTIONS for things like NFSMNT_NOCONN.
1995-03-18 05:54:10 +00:00
gwr
efc4706419
Do the printf "root/swap on" elsewhere to avoid confusion.
1995-03-18 05:51:22 +00:00
gwr
4b284ae4ba
Make call to nfs_writerpc() consistent with others.
1995-03-18 05:49:51 +00:00
mycroft
2f805fa51b
copy*str() should use size_t.
1995-03-09 12:05:21 +00:00
pk
d6faa0bf9c
Working "config generic" support; from Theo.
1995-02-16 21:42:50 +00:00
mycroft
7b85c59a4e
Turn mountlist into a CIRCLEQ, and handle setting and checking of MNT_ROOTFS
...
differently.
1995-01-18 06:15:17 +00:00
mycroft
396d1c1d0c
Convert unspecified usec value to 0, per discussion with Rick.
1995-01-13 16:15:02 +00:00
mycroft
775d061b43
Add two missing brelse() calls. From Rick Macklem.
1995-01-12 12:08:23 +00:00
mycroft
69eef46dd1
Make sure readdir requests are only truncated on block boundaries.
1995-01-10 06:50:03 +00:00
mycroft
e16d63a4c0
Minor consistency nits.
1994-12-29 22:21:37 +00:00
mycroft
d23d4ad181
Remove a bit of redundant code.
1994-12-29 22:16:19 +00:00
mycroft
609063ce2b
Format police.
1994-12-27 19:05:12 +00:00
mycroft
34c8e07091
Fix typos in last change.
1994-12-27 19:00:20 +00:00
ws
2f0fb8ee09
Implement and use a common access checking routine
1994-12-24 16:44:12 +00:00
mycroft
527b796ff5
Turn lease_check() into a vnode op, per CSRG.
1994-12-13 20:14:30 +00:00
mycroft
629ef9cd78
Sync with CSRG.
1994-12-13 17:17:01 +00:00
mycroft
6bd48aee2d
Remove an old `#ifdef notyet'.
1994-12-13 16:18:48 +00:00
cgd
58604c58ca
fix a couple of obvious, painful endianness bugs introduced in last commit.
1994-10-29 06:38:11 +00:00
cgd
6b7c260753
new RCS ID format.
1994-10-26 02:45:11 +00:00
cgd
6f353db960
update for new syscall args description mechanism
1994-10-20 04:28:10 +00:00
gwr
62f18b1dda
Do the first BOOTPARAM RPC call to the broadcast address instead of
...
using the address of the RARP server because a BOOTPARAM server
might not be running on the machine that sent the RARP reply.
1994-09-26 16:42:29 +00:00
pk
cdf3d1ed89
mknod() must release its new vnode.
1994-08-30 19:42:22 +00:00
pk
e052143aab
When updating an NFS mountpoint, we cannot just increase `rsize' or `wsize'
...
without also adjusting the corresponding socket buffers. We could probably
call sbrelease/sbreserve/soreserve ourselves without much harm, but we'd
have to duplicate much of the logic in nfs_connect(). In stead, blow the
socket away entirely and let nfs_connect() do its job again.
1994-08-23 09:31:00 +00:00
cgd
56364fe8b1
cleanliness; don't wrap lines.
1994-08-21 21:07:13 +00:00
mycroft
27377e3e10
Don't attempt to use IO_APPEND for NQNFS, as suggested by Rick Macklem.
1994-08-21 15:10:44 +00:00
mycroft
f7c13d44bd
More LIST/CIRCLEQ migration.
1994-08-18 22:47:43 +00:00