Permalink
Commits on Jul 19, 2011
  1. prep for 1.0-pre46 tag

    garlick committed Jul 19, 2011
  2. Support mount hostlist:aname syntax

    This allows automounter direct map support to be implemented
    with the same primitive mount resilience provided by auto.diod
    indirect mounts.
    garlick committed Jul 19, 2011
Commits on Jul 18, 2011
  1. Make transport return whole, parsed requests

    This should allow for retrofit of message-oriented transports.
    garlick committed Jul 18, 2011
Commits on Jul 12, 2011
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)

    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.
    garlick committed Jul 11, 2011
Commits on Jun 30, 2011
  1. Remove deadcode (cid-10415 thru cid-10435)

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

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

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

    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.
    garlick committed Jun 29, 2011
  4. Make mount points appear empty (issue 62)

    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.
    garlick committed Jun 29, 2011
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.

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

    /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.
    garlick committed Jun 27, 2011
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

    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.
    garlick committed Jun 16, 2011
  3. Bypass DAC check on root-authenticated connection (issue 53)

    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.
    garlick committed Jun 16, 2011
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