Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: user/imp/newca…

Nov 09, 2008

  1. Merge.

    authored November 09, 2008
  2. Be paranoid and use snprintf

    PR:		bin/122137
    Submitted by:	Steven Kreuzer <skreuzer@exit2shell.com>
    MFC after:	3 days
    authored November 09, 2008
  3. kmacy

    make kern.ipc.nmbclusters actually have a useful effect on nmbcluster…

    …s et al.
    
    initialize pkthdr in field order
    authored November 09, 2008
  4. Add workaround for a back reference when no corresponding

    parenthesized subexpression is defined.  For example, the
    following command line caused unexpected behavior like
    segmentation fault:
    
     % echo test | sed -e 's/test/\1/'
    
    PR:		bin/126682
    MFC after:	1 week
    authored November 09, 2008

Nov 08, 2008

  1. EdSchouten

    Reduce the default baud rate of PTY's to 9600.

    On RELENG_6 (and probably RELENG_7) we see our syscons windows and
    pseudo-terminals have the following buffer sizes:
    
    | LINE RAW CAN OUT IHIWT ILOWT OHWT LWT     COL STATE  SESS      PGID DISC
    | ttyv0  0   0   0  7680  6720 2052 256       7 OCcl       1146  1146 term
    | ttyp0  0   0   0  7680  6720 1296 256       0 OCc       82033 82033 term
    
    These buffer sizes make no sense, because we often have much more output
    than input, but I guess having higher input buffer sizes improves
    guarantees of the system.
    
    On MPSAFE TTY I just sent both the input and output buffer sizes to 7
    KB, which is pretty big on a standard FreeBSD install with 8 syscons
    windows and some PTY's. Reduce the baud rate to 9600 baud, which means
    we now have the following buffer sizes:
    
    |  LINE   INQ  CAN  LIN  LOW  OUTQ  USE  LOW   COL  SESS  PGID STATE
    | ttyv0  1920    0    0  192  1984    0  199     7  2401  2401 Oil
    | pts/0  1920    0    0  192  1984    0  199  5631  1305  2526 Oi
    
    This is a lot smaller, but for pseudo-devices this should be good
    enough. You need to do a lot of punching to fill up a 7.5 KB input
    buffer. If it turns out things don't work out this way, we'll just
    switch to 19200 baud.
    authored November 08, 2008
  2. Edward Tomasz Napierała

    Require write access on a directory being moved from one parent

    directory to another in ZFS.
    
    Approved by:	rwatson (mentor), pjd
    authored November 08, 2008
  3. Giorgos Keramidas

    Spell 'different' correctly.

    authored November 08, 2008
  4. Alexander Motin

    Don't use curthread to resolve file descriptor. Request may be queued…

    …, so
    
    thread will be different. Instead require sender to send process ID
    together with file descriptor.
    authored November 08, 2008
  5. Tim Kientzle

    New command-line parser for bsdtar.

    This replaces the getopt()/getopt_long() wrapper, the old-style
    argument rewriter and the associated configuration glue with a more
    straightforward custom command parser.  In particular, this ensures
    that bsdtar will have consistent option parsing on every platform,
    regardless of whether the platform supports getopt_long().
    
    MFC after:	30 days
    authored November 08, 2008
  6. Alexander Motin

    Assign new cookie to the node to reflect API change.

    All applications will have to be adapted and rebuilt.
    authored November 08, 2008

Nov 07, 2008

  1. Update ports number and size of Ports Collection.

    authored November 07, 2008
  2. Alexander Motin

    Don't assign completely meaningless name to the node on creation.

    As soon as node is created from the netgraph side now, it can be found
    without using this. Allow application to assign whatever name it want later.
    authored November 07, 2008
  3. Alexander Motin

    Two minor fixes.

    authored November 07, 2008
  4. Edward Tomasz Napierała

    Add one more EACCES clause to rename.2.

    Approved by:	rwatson (mentor)
    authored November 07, 2008
  5. Edward Tomasz Napierała

    Make test for write access to the directory being moved a little more

    specific.
    
    Approved by:	rwatson (mentor)
    authored November 07, 2008
  6. Edward Tomasz Napierała

    Improve output when a test fails.

    Approved by:	rwatson (mentor)
    authored November 07, 2008
  7. Range-check NFSv2 procedure numbers before converting to NFSv3.

    Submitted by:	csjp
    authored November 07, 2008
  8. Remove informational messages left. These messages were intended to

    show up in verbose boot mode.
    
    Reported by:	pluknet ( pluknet<> gmail DOT com )
    authored November 07, 2008

Nov 06, 2008

  1. Restore (intmax_t) casts I lost during the last change & unbreak the …

    …build.
    authored November 06, 2008
  2. Edward Tomasz Napierała

    Backoff the last patch. It was overly restrictive - we want to check

    for write permission on target only when moving the target between two
    directories.
    
    Approved by:	rwatson (mentor)
    authored November 06, 2008
  3. Alexander Motin

    A lot of spelling fixes.

    Submitted by:	keramida
    authored November 06, 2008
  4. Edward Tomasz Napierała

    Change ZFS behaviour to match UFS: when moving (rename(2)) a subdirec…

    …tory
    
    from one parent directory to another, in addition to the usual access checks
    one also needs write access to the subdirectory being moved.
    
    Approved by:    rwatson (mentor), pjd
    authored November 06, 2008
  5. Bring in http://perforce.freebsd.org/chv.cgi?CH=152584 from hps.

    Submitted by:	hps
    authored November 06, 2008
  6. Fix copyright notice.

    authored November 06, 2008
  7. Fix a panic caused by a corrupted table when the header is

    still valid. We were checking the state of the header and
    not the table.
    
    PR:		119868
    Based on a patch from:	Jaakko Heinonen <jh@saunalahti.fi>
    MFC after: 1 week
    authored November 06, 2008
  8. Add two new options to du(1):

         -A      Display the apparent size instead of the disk usage.  This can be
                 helpful when operating on compressed volumes or sparse files.
    
         -B blocksize
                 Calculate block counts in blocksize byte blocks.  This is differ-
                 ent from the -k, -m options or setting BLOCKSIZE and gives an
                 estimate of how much space the examined file hierachy would
                 require on a filesystem with the given blocksize.  Unless in -A
                 mode, blocksize is rounded up to the next multiple of 512.
    
    The former is similar to GNU's du(1) --apparent-size.  The latter is
    different from what GNU's du(1) -B does, which is equivalent to setting
    BLOCKSIZE in our implementation and is rather pointless as it doesn't add
    any real value (i.e. you can achieve the same with a simple awk-script).
    
    No change in the normal output or processing.
    
    Reviewed by:			keramida@, Peter French
    Otherwise silience from:	freebsd-hackers@
    authored November 06, 2008
  9. Rafal Jaworowski

    Eliminate dead declarations in libstand.

  10. Fix typo and while here another one.

    Reviewed by:	keramida
    Reported by:	keramida
    MFC after:	2 months (with r184720)
    authored November 06, 2008
  11. Rafal Jaworowski

    ARM pmap style(9) and cosmetics.

  12. Rafal Jaworowski

    Auto-size kernel page tables allocation on Marvell systems.

    This allows mini dumps to fully work for these platforms.
    
    Obtained from:	Juniper Networks, Semihalf
  13. Rafal Jaworowski

    Support kernel crash mini dumps on ARM architecture.

    Obtained from:	Juniper Networks, Semihalf
  14. Include if_arp.h for IFP2AC so that the netgraph parts in if.c

    are happy even if compiled without INET or INET6.
    
    MFC after:	2 months
    authored November 06, 2008
  15. Fix a bug introduced with r182851 splitting tcp_mss() into

    tcp_mss() and tcp_mss_update() so that tcp_mtudisc() could
    re-use the same code.
    
    Move the TSO logic back to tcp_mss() and out of tcp_mss_update().
    We tried to avoid that initially but if were are called from
    tcp_output() with EMSGSIZE, we cleared the TSO flag on the tcpcb
    there, called into tcp_mtudisc() and tcp_mss_update() which
    then would reenable TSO on the tcpcb based on TSO capabilities
    of the interface as learnt in tcp_maxmtu/6().
    So if TSO was enabled on the (possibly new) outgoing interface
    it was turned back on, which lead to an endless loop between
    tcp_output() and tcp_mtudisc() until we overflew the stack.
    
    Reported by:	kmacy
    MFC after:	2 months (along with r182851)
    authored November 06, 2008
  16. Adopt the comment for tcp_maxmtu(); we are returning a number

    not a pointer. While here update the rest of the comment to
    better match what we have these days.
    
    MFC after:	2 months
    authored November 06, 2008
  17. Fix a bug introduced with r182851 splitting tcp_mss() into

    tcp_mss() and tcp_mss_update() so that tcp_mtudisc() could
    re-use the same code.
    
    In case we return early and got a metricptr to pass the hostcache
    info back to the caller we need to initialize the data to a defined
    state (zero it) as tcp_hc_get() would do if there was no hit.
    Without that the caller would check on random stack garbage which
    could lead to undefined results.
    
    This only affected tcp_mss() if there was no routing entry for the peer,
    tcp_mtudisc() was not affected.
    
    MFC after:	2 months (along with r182851)
    authored November 06, 2008
Something went wrong with that request. Please try again.