Permalink
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
  1. Prep for 1.0-pre40 tag

    garlick committed Jun 10, 2011
Commits on Jun 9, 2011
  1. Fix dtop handling of connection recovery.

    garlick committed Jun 9, 2011
    Libnpclient must (re-)initialize per-thread error state.
    Dtop must trap SIGPIPE.
Commits on Jun 8, 2011
  1. Add ctl:zero, ctl:null, ctl:zero100, ctl:null100

    garlick committed Jun 8, 2011
    These are synthetic files analagous to /dev/null and /dev/zero,
    with and without a built-in 100ms delay, to be used for testing.