Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 11, 2011
  1. @garlick

    prep for 1.0-pre45 tag

    garlick authored
  2. @garlick

    Code cleanup in np_setfsid

    garlick authored
  3. @garlick

    Call setgroups in np_setfsid (issue 64)

    garlick authored
    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. @garlick
  2. @garlick

    Remove deadcode (cid-10415 thru cid-10435)

    garlick authored
    Also fix incorrect return op in diod_mknod()
Commits on Jun 29, 2011
  1. @garlick

    Move postmark to its own directory

    garlick authored
    This way the Ubuntu fortify hack only has to apply to that one source
    file.
  2. @garlick
  3. @garlick

    Eliminate extra seekdir/telldir in readdir handler

    garlick authored
    Also add a test of reading a long directory that will be
    broken into multiple readdir requests.
  4. @garlick

    Don't get fsid from statvfs (issue 54)

    garlick authored
    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.
  5. @garlick

    Make mount points appear empty (issue 62)

    garlick authored
    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. @garlick
  2. @garlick

    Fix tests for Ubuntu 11

    garlick authored
Commits on Jun 27, 2011
  1. @garlick

    prep for 1.0-pre44 tag

    garlick authored
  2. @garlick
  3. @garlick
  4. @garlick

    Add -p,--port option to dtop.

    garlick authored
    Also, change -p,--poll-period to -P,--poll-period.
  5. @garlick
  6. @garlick
  7. @garlick
  8. @garlick

    Handle multiple DIOD_SERVERS entries (issue 48,57,58)

    garlick authored
    /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
  1. @garlick
Commits on Jun 16, 2011
  1. @garlick

    prep for 1.0-pre43 tag

    garlick authored
  2. @garlick

    Complete DAC bypass feature

    garlick authored
    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. @garlick
  4. @garlick

    Bypass DAC check on root-authenticated connection (issue 53)

    garlick authored
    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. @garlick

    Prep for 1.0-pre42 tag

    garlick authored
  2. @garlick
  3. @garlick

    Prep for 1.0-pre41 tag

    garlick authored
Commits on Jun 13, 2011
  1. @garlick
  2. @garlick
Commits on Jun 12, 2011
  1. @garlick
  2. @garlick

    Reconfig after test changes

    garlick authored
  3. @garlick

    Combine tests misc/t[10-11] into one

    garlick authored
    Create a more valgrind of a server/client instance.
  4. @garlick

    Careful which thread destroys conn (issue 52)

    garlick authored
    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
  1. @garlick
Something went wrong with that request. Please try again.