Skip to content
Commits on Oct 11, 2012
  1. usb4bsd: Hook the userland part into the build.

    Sascha Wildner committed
    Define a new make.conf(5) variable, WANT_USB4BSD, which (if set) causes
    the new USB's userland to be built (similar to WANT_NETGRAPH7).
  2. usb4bsd: Adjust header paths in libusbhid, usbhidctl, and public head…

    Sascha Wildner committed
    Also remove some __FBSDID's.
    Submitted-by: Markus Pfeiffer <>
  3. usb4bsd: Bring in FreeBSD's libusbhid, usbhidctl and USB kernel code.

    Sascha Wildner committed
    In order to make it live peacefully along with our old USB code, name
    all directories with new USB code *u4b* instead of *usb*.
    This is FreeBSD SVN r231881.
    Submitted-by: Markus Pfeiffer <>
Commits on Oct 1, 2012
  1. @jrmarino

    Switch on gcc47 and switch off gcc41

    jrmarino committed
    Replace GCC 4.1 with GCC 4.7.  The primary compiler remains GCC 4.4
    and the source and makefiles for GCC 4.1 remain intact so it can be
    brought back if necessary.  All references to GCC 4.1 in documentation
    where updated to reflect version 4.7.
    A full world build is probably required after this point.
  2. @jrmarino

    gcc47 build fixes: Unused-but-set-variable + more warnings

    jrmarino committed
    The following programs fail to build with gcc47 due to the new
    unused-but-set-variable warning.  They've been fixed in various ways.
    The ones set with WARNS=3 suppress cast-qual warning
    There is a single enum-compare error too.
    This effort is not complete.
    bin/csh			pass -Wno-unused-but-set-variable
    bin/mined		source file modified
    bin/sh			set WARNS=3
    crypto/openssh		source file modified (2)
    gnu/lib/libdialog	source file modified
    gnu/usr.bin/gdb/kgdb	source file modified
    gnu/usr.bin/rcs 	source file modified
    lib/libalias		source file modified
    lib/libdevstat		source file modified
    lib/libdm		set WARNS=3
    lib/libevtr		source file modified
    lib/libldns		pass -Wno-unused-but-set-variable
    lib/libncp		source file modified
    lib/libpam		set WARNS=3
    lib/libsmdb		pass -Wno-unused-but-set-variable
    lib/libstand		source file modified (4)
    lib/libtcplay		source file modified
    lib/libthread_xu	source file modified (2)
    libexec/rshd		source file modified
    libexec/telnetd		source file modified
    libexec/ypxfr		pass -Wno-enum-compare
    sbin/atm/fore_dnld	source file modified
    sbin/atm/ilmid		source file modified
    sbin/atm/camcontrol	source file modifief (2)
    sbin/ccdconfig		source file modified
    sbin/cryptdisks		source file modified
    sbin/ffsinfo		source file modified
    sbin/fsirand		source file modified
    sbin/growfs		source file modified
    sbin/hammer		source file modified
    sbin/ldconfig		source file modified (real bug here?)
    sbin/mount		source file modified
    sbin/mount_ufs		source file modified
    sbin/mount_extfs	source file modified
    sbin/mountd		source file modified
    sbin/natd		source file modified
    sbin/newfs		source file modified
    sbin/ping6		set WARNS=3, source modified
    sbin/rcorder		source file modified
    sbin/reboot		source file modified (real bug here?)
    sbin/udevd		source file modified
    sbin/usched		source file modified
    sbin/vinum		source file modified
    sys/boot/common 	source file modified
    sys/boot/pc32/loader	source file modified
    usr.bin/brandelf	source file modified
    usr.bin/bzip2		pass -Wno-unused-but-set-variable
    usr.bin/dfregress	source file modified
    usr.bin/ee		source file modified
    usr.bin/less		pass -Wno-unused-but-set-variable
Commits on Sep 2, 2012
  1. libprop: Add two missing MLINKS.

    Sascha Wildner committed
  2. libm: Add missing MLINK.

    Sascha Wildner committed
Commits on Sep 1, 2012
  1. link.2: Use .Fn and add .Nm linkat

    Sascha Wildner committed
Commits on Aug 19, 2012
Commits on Aug 18, 2012
Commits on Aug 11, 2012
  1. libm & rtld: Ansify some remaining functions.

    Sascha Wildner committed
Commits on Aug 9, 2012
  1. posix_memalign.3: Document aligned_alloc().

    Sascha Wildner committed
  2. libc: Add a copyright to aligned_alloc.c

    Sascha Wildner committed
  3. malloc.3: Remove a ,

    Sascha Wildner committed
  4. at_quick_exit.3: Add an ERRORS section.

    Sascha Wildner committed
    Submitted-by: vsrinivas
  5. libc: Add a copyright to quick_exit.c

    Sascha Wildner committed
    Reported-by: vsrinivas
  6. Add at_quick_exit(3) and quick_exit(3) manual pages.

    Sascha Wildner committed
    Taken-from: FreeBSD
Commits on Aug 7, 2012
  1. @jrmarino

    ncurses: Fix pkgsrc check and use of ncurses

    jrmarino committed
    Without the macro SET_NEED_WCHAR_H defined, the ncurses header will not
    include wchar.h which is where the wint_t type is defined.  This breaks
    any program loading ncurses.h without defining this macro because several
    functions use the wint_t type.
    Define wint_t as int if wchar.h isn't included.  This fixes the ncurses
    check on several pkgsrc configuration checks and allows the package to
    build with the system ncurses.
Commits on Aug 6, 2012
  1. libc/rpc: Remove redundant check.

    Sascha Wildner committed
Commits on Aug 4, 2012
Commits on Aug 3, 2012
  1. open.2: Fix .Dv and combine lines.

    Sascha Wildner committed
Commits on Jul 31, 2012
  1. opendir(3): use O_CLOEXEC

    François Tigeot committed
  2. kernel: Implement O_CLOEXEC

    François Tigeot committed
    * Using fcntl(2) just after open(2) is not enough to avoid race conditions
      in programs doing fork+exec sequences. Child processes may be created
      before fcntl() is run and inherit the parent's file descriptors.
    * In some circonstances this behavior may even create security issues.
    * O_CLOEXEC can be used to atomically set the close-on-exec flag for new
      file descriptors, avoiding the whole mess in the first place.
    * Fixes issue #2356
    Inspired-from: NetBSD
Commits on Jul 30, 2012
  1. @bwalex

    opendir(3) - use O_DIRECTORY

    bwalex committed
  2. @bwalex

    linkat(2) man page

    bwalex committed
  3. @bwalex

    open.2 - document O_DIRECTORY

    bwalex committed
Commits on Jul 29, 2012
  1. Remove some more unused headers.

    Sascha Wildner committed
Commits on Jul 23, 2012
  1. pam_exec.8: Fix references to nonexistent manual pages.

    Sascha Wildner committed
    They exist in section 3, not 8, so reference those.
Commits on Jul 21, 2012
  1. Sync various files with tzcode2012c from

    Sascha Wildner committed
    Not much to see here. Mainly removal of RCS IDs and some minor
    adjustments in localtime(3).
Commits on Jul 19, 2012
  1. Remove more useless -offset in manual pages.

    Sascha Wildner committed
Commits on Jul 14, 2012
  1. Remove bogus (void *) casts.

    Sascha Wildner committed
    These are the cases where the function's prototype declares the
    argument as void *.
Commits on Jul 11, 2012
  1. pam_exec: Use program exit status as return code

    Peter Avalos committed
    pam_exec(8) now accepts a new option "return_prog_exit_status". When
    set, the program exit status is used as the pam_exec return code. It
    allows the program to tell why the step failed (eg. user unknown).
    However, if it exits with a code not allowed by the calling PAM service
    module function (see $PAM_SM_FUNC below), a warning is logged and
    PAM_SERVICE_ERR is returned.
    Obtained-from:  FreeBSD
  2. pam_ssh: Fix segfault with SSH 1 keys.

    Peter Avalos committed
    Obtained-from:  FreeBSD
  3. Update files for OpenPAM Micrampelis import.

    Peter Avalos committed
  4. Update files for xz-5.0.4 import.

    Peter Avalos committed
Something went wrong with that request. Please try again.