Commits on Jul 11, 2011
  1. prep for 1.0-pre45 tag

    garlick committed Jul 11, 2011
  2. Code cleanup in np_setfsid

    garlick committed Jul 11, 2011
  3. Call setgroups in np_setfsid (issue 64)

    garlick committed Jul 11, 2011
    NFS AUTH_SYS requires that user credential (on diod server == nfs
    client) include supplementary groups which are passed in NFS RPC's
    to the NFS server.
    Restore supplementary group regression tests.  Still need to get to
    the bottom of why they were failing on Ubuntu 11.
Commits on Jun 30, 2011
  1. Remove deadcode (cid-10415 thru cid-10435)

    garlick committed Jun 30, 2011
    Also fix incorrect return op in diod_mknod()
Commits on Jun 29, 2011
  1. Move postmark to its own directory

    garlick committed Jun 29, 2011
    This way the Ubuntu fortify hack only has to apply to that one source
  2. Eliminate extra seekdir/telldir in readdir handler

    garlick committed Jun 29, 2011
    Also add a test of reading a long directory that will be
    broken into multiple readdir requests.
  3. Don't get fsid from statvfs (issue 54)

    garlick committed Jun 29, 2011
    The unsigned long fsid from statvfs truncates the fsid value
    to 32 bits on 32 bit systems, causing failure of test kern/t14
    on 32 bit systems.  Use the value from statfs instead.
  4. Make mount points appear empty (issue 62)

    garlick committed Jun 29, 2011
    Walk returns qid containing inode of underlying directory and refuses
    to walk to directory entries of the mount point.
    Getattr returns st_ino and st_dev of underlying directory.
    Readdir returns . and .. but no other entries.
Commits on Jun 28, 2011
  1. Fix tests for Ubuntu 11

    garlick committed Jun 28, 2011
Commits on Jun 27, 2011
  1. prep for 1.0-pre44 tag

    garlick committed Jun 27, 2011
  2. Add -p,--port option to dtop.

    garlick committed Jun 27, 2011
    Also, change -p,--poll-period to -P,--poll-period.
  3. Handle multiple DIOD_SERVERS entries (issue 48,57,58)

    garlick committed Jun 27, 2011
    /etc/auto.diod will try each host in a space delimited list
    of hosts listed in DIOD_SERVERS until once succedes (issue 58).
    Ignore trailing white space in the DIOD_SERVERS list (issue 57).
    Add a -t SECS timeout option to diodcat (issue 48).
    Drop confusing hostlist support in diodmount -h option.
Commits on Jun 18, 2011
Commits on Jun 16, 2011
  1. prep for 1.0-pre43 tag

    garlick committed Jun 16, 2011
  2. Complete DAC bypass feature

    garlick committed Jun 16, 2011
    Fix a bug in the last commit that prevented DAC_BYPASS from taking
    effect.  Also set CAP_MKDIR.  Revert changes to fstest as all the
    supplementary group tests can pass now (issue 37).
    Drop supplementary group regression tests.
  3. Bypass DAC check on root-authenticated connection (issue 53)

    garlick committed Jun 16, 2011
    Calling setgroups () before every op turns out to be inadvisable since
    the call can apply to all threads in some environments.  Instead, bypass
    server-side discretionary access controls by setting CAP_DAC_OVERRIDE
    capability on non-root fsid's when we know that v9fs is on the other
    end and is already checking DACs.  This punts the supplemental group
    check to the client.
    We assume we have a "trusted" client if the connection was originally
    authenticated as root.
    None of this applies when the server is not running as root.
Commits on Jun 14, 2011
  1. Prep for 1.0-pre42 tag

    garlick committed Jun 14, 2011
  2. Prep for 1.0-pre41 tag

    garlick committed Jun 14, 2011
Commits on Jun 13, 2011
Commits on Jun 12, 2011
  1. Reconfig after test changes

    garlick committed Jun 12, 2011
  2. Combine tests misc/t[10-11] into one

    garlick committed Jun 12, 2011
    Create a more valgrind of a server/client instance.
  3. Careful which thread destroys conn (issue 52)

    garlick committed Jun 12, 2011
    When last reference is dropped, conn is destroyed which triggers
    tpool cleanup.  If this reference is dropped by retirement of a request
    instead of completion of the conn reader thread, the tpool cleanup
    function will attempt to join with the worker thread that retired
    the request, resulting in a pthread_join "deadlock avoided" error.
    This race was causing misc/t10 to sporadically fail.
    Have the conn reader thread explicitly handle the conn desruction
    on termination.  Add a condition var so it can wait for retirement of
    all outstanding reqs on the conn.
Commits on Jun 10, 2011