Commit Graph

37 Commits

Author SHA1 Message Date
christos c8a27b7a24 The required initialization order for net rump net services is:
rumpnet rumpnet_net [rumpnet_netinet6] rumpnet_netinet.
We need rumpnent_net first because of if_init1() and to initialize loopback.
2016-08-13 11:20:00 +00:00
christos 63d557bad4 Use the original nfsd. 2015-12-23 18:42:23 +00:00
christos b9bb57fc06 ggr, make debug static. I hate that the copy of this and the original
source has diverged so much!
2015-12-23 18:10:39 +00:00
christos f0a61ce65f add get_net.c 2015-12-23 18:10:10 +00:00
christos d0b55fb388 Use the regular mountd, and include the rpcbind stuff here. 2015-11-08 21:05:39 +00:00
christos 8ca6a9a5c9 Use the regular rpcbind source now. 2015-11-08 16:38:56 +00:00
christos 72e6585119 Don't use POLL again. 2015-11-08 16:38:25 +00:00
christos 4172446a74 Remove dup copy of rpcbind sources that had grown stale. 2015-11-08 16:37:57 +00:00
christos eda86e9458 make this work with the new fdset stuff. 2015-11-08 02:45:16 +00:00
christos fddcbf3df7 don't abuse %m in printf
fix error messages
2015-08-21 14:19:10 +00:00
pooka c5d51f5087 one more MKZFS fix (how many subdirs does this place have?) 2015-01-08 04:00:31 +00:00
christos 03a5ccb524 CID 975238: Unchecked returns 2014-05-12 15:31:07 +00:00
christos d56fcfc956 fix unused variable warnings 2013-10-19 17:45:00 +00:00
christos 12e4d0500d Mystery solved: The build worked for me because the my src tree is in /usr/src.
Refer to the correct source tree instead of the conventionally correct one.
2013-03-06 13:36:50 +00:00
christos 5ae2c875b6 don't refer to things that are irrelevant or never existed. 2013-03-06 13:35:22 +00:00
christos 1897181a72 From tnozaki@: make fpos_t a complex object that keeps track of the parse
state of the stream. Change argument of the seek function to funopen() from
fpos_t to off_t. Make f{g,s}etpos() use the new fpos_t struct, while providing
backwards compatible entry points. Approved by releng@
2012-01-22 18:36:14 +00:00
plunky 2b8aaed8cd NULL does not need a cast, here 2011-09-16 16:13:16 +00:00
plunky 87d4f6076b Apply casts to cases where xdrproc_t is expected but is not
strictly passed, for example because the second argument is
a different kind of pointer.
2011-08-30 17:06:20 +00:00
dholland 0d0aaf26a0 Remove nonexistent include directory from CPPFLAGS.
PR 45068 from Henning Petersen.
2011-07-19 03:30:46 +00:00
christos 2a18cea9f4 Turn warns on for all tests and fix all the bugs. 2011-06-11 18:03:17 +00:00
pooka c87fb89aa0 make netcfg produce sensible results in a non-atf env 2011-02-28 21:21:14 +00:00
pooka 9dec851430 Configure two network addresses for the nfs server. One exports
/myexport r/w to the client in the same subnet and the other one
exports /myexport r/o to the client in the same subnet.
2010-12-31 18:11:27 +00:00
pooka 6198422889 Don't broadcast unmntall with SIGTERM -- it just makes the atf default
cleanup kill hang for a while.
2010-12-31 17:59:24 +00:00
joerg 16062ee68b Don't force debug build. 2010-12-18 04:31:41 +00:00
pooka a3acbf5ec9 Actually use the imagename parameter. Also, fail with err instead
of atf_tc_fail since we are not directly under the control of atf.
2010-09-02 15:13:55 +00:00
pooka 2bb4b66566 remove leftover debug printf 2010-08-05 16:47:59 +00:00
drochner 55e1e4c9f3 .PARSEDIR doesn't work. at least not for me. Use .CURDIR instead
which makes a build with objdir succeed.
2010-08-03 17:24:45 +00:00
pooka 9749b7715b Revert macroization, as the default mountpath doesn't match the
default export path.
2010-07-30 21:10:44 +00:00
pooka 272fb16e97 Fold the puffs private and vfs tests mount/unmount routines together.
To achieve this, add a file system private parameter to the newfs
method (which will obviously not be used by vfs tests).

njoly ok
2010-07-30 16:15:05 +00:00
pooka ce798b3d87 Defer definitely-nonreentrant signal handler to thread context.
This protects from rump kernel reentry and makes things not
crash && burn.
2010-07-28 15:15:22 +00:00
pooka 0d8d8d2b19 Make sure we are not executed in non-debug mode (which forks). 2010-07-28 15:12:17 +00:00
pooka 1411ba67f8 Don't ignore SIGHUP here since mountd uses it. The mountd signal
handler is installed later, so technically this is unnecessary,
but try to be complete.
2010-07-28 15:11:30 +00:00
macallan 7a5d0aeabe initialize a few variables to shut up compiler warnings 2010-07-27 14:04:47 +00:00
pooka 3dd552295f comment out lp64-offensive line (the syslog() calls are not used currently) 2010-07-26 19:24:35 +00:00
pooka f64ec08558 Install the exports file too so that the server can find it. 2010-07-26 19:17:37 +00:00
pooka fd87d4c523 fix TESTSDIR 2010-07-26 16:17:21 +00:00
pooka 25f5a6a3a9 Add NFS service suitable for use in testing. 2010-07-26 15:53:00 +00:00