Displaying 1 50 of 31,338 commits (0.005s)

DragonFlyBSD — etc Makefile.usr

build - Update Makefile.usr to use new pkg-static

* Update to _02.  The old pkg-static doesn't understand more recent repos.

* Remove the ABIVERS prefix when ABIVERS is not manually specified,
  uname -P doesn't generate the correct results for 3.9 -> 3.10 (it
  says 4.0).

* We still allow ABIVERS to be specified in the make.
Delta File
+9 -2 etc/Makefile.usr
+9 -2 1 file

DragonFlyBSD — etc Makefile.usr

build - Update Makefile.usr to use new pkg-static

* Update to _02.  The old pkg-static doesn't understand more recent repos.

* Remove the ABIVERS prefix when ABIVERS is not manually specified,
  uname -P doesn't generate the correct results for 3.9 -> 3.10 (it
  says 4.0).

* We still allow ABIVERS to be specified in the make.
Delta File
+9 -2 etc/Makefile.usr
+9 -2 1 file

DragonFlyBSD — sys/dev/drm/i915 i915_dma.c i915_gem.c

drm/i915: Reduce differences with Linux 3.8.13

No functional changes.

DragonFlyBSD — sys/dev/drm drm_drv.c Makefile, sys/dev/drm/include/drm drmP.h

drm: struct drm_driver.max_ioctl doesn't exist

Use num_ioctls like in Linux.

DragonFlyBSD — etc/rc.d moused

rc.d/moused: Remove wrong stop_cmd.

This was keeping moused(8) from exiting properly when the USB mouse
was unplugged.
Delta File
+0 -1 etc/rc.d/moused
+0 -1 1 file

DragonFlyBSD — sys/dev/drm/i915 i915_gem.c i915_dma.c

drm/i915: Add the I915_GEM_WAIT ioctl

It can be used to implement the GL_ARB_sync OpenGL extension.

DragonFlyBSD — sys/dev/drm/include/linux time.h

linux/time.h: Add a few Linux timespec functions

Obtained-from: OpenBSD
Delta File
+37 -0 sys/dev/drm/include/linux/time.h
+37 -0 1 file

DragonFlyBSD — sys/contrib/dev/acpica changes.txt, sys/contrib/dev/acpica/generate/unix Makefile.config

Sync ACPICA with Intel's version 20140828.

* Add support for runtime validation of the _DSD package.

* Add the GICC affinity subtable to the SRAT table.

* Add error detection for illegally named references within control
    methods that would cause runtime failures.

* Add error checking for dependencies related to the _PSx power
    methods.

* Various improvements, bug fixes and cleanups.

For a more detailed list, please see sys/contrib/dev/acpica/changes.txt.

DragonFlyBSD — sys/vfs/devfs devfs_core.c

kernel/devfs: Allow devices to devctl_notify() also during cold boot.

This fixes the issue that no moused(8) was started if a USB mouse was
plugged in already during booting.

While here, also rename the notify function.

In-collaboration-with: mneumann
Delta File
+3 -5 sys/vfs/devfs/devfs_core.c
+3 -5 1 file

DragonFlyBSD — etc/defaults rc.conf, share/man/man5 rc.conf.5

rc.conf: Provide a default for rc_startmsgs and document it.

DragonFlyBSD — nrelease/root/etc make.conf, nrelease/root/etc.hdd make.conf

nrelease: Do not provide default make.conf files.

The git package delivered on the installation media is special in the
sense that it is built with certain options not set to prevent it from
pulling in python and perl as dependencies (to keep the ISOs small,
mainly).

Once the system is installed, storage size is no longer really an issue,
so there is no need to have those options in the make.conf we install.

After this commit, a manually built git package should match the binary
package which we provide.

DragonFlyBSD — nrelease/root/etc make.conf, nrelease/root/etc.hdd make.conf

nrelease: Do not provide default make.conf files.

The git package delivered on the installation media is special in the
sense that it is built with certain options not set to prevent it from
pulling in python and perl as dependencies (to keep the ISOs small,
mainly).

Once the system is installed, storage size is no longer really an issue,
so there is no need to have those options in the make.conf we install.

After this commit, a manually built git package should match the binary
package which we provide.

DragonFlyBSD — sys/kern kern_udev.c

udev - use objcache for struct udev_event_kernel
Delta File
+10 -8 sys/kern/kern_udev.c
+10 -8 1 file

DragonFlyBSD — sys/dev/drm/i915 i915_gem.c i915_dma.c

drm/i915: Implement GEM GET and SET_CACHING ioctls

They can be used by userspace drivers to accelerate uploads and downloads
from the GPU and also mix CPU and GPU rendering/activity efficiently.

Obtained-from: Linux 3.8.13

DragonFlyBSD — share/man/man5 rc.conf.5

rc.conf.5: Document moused_nondefault_enable (taken from FreeBSD).
Delta File
+16 -1 share/man/man5/rc.conf.5
+16 -1 1 file

DragonFlyBSD — etc devd.conf rc.subr, etc/defaults rc.conf

moused - Ease usb mouse attach/detach

WARNING: Upgrading will overwrite your /etc/devd.conf.

Extend /etc/rc.d/moused. To attach e.g. ums0, you can now call:

    /etc/rc.d/moused start ums0

To detach:

    /etc/rc.d/moused stop ums0

If moused is called with an explicit device name, it is enabled by default
(moused_nondefault_enable="YES").

You can explicitly override any settings in rc.conf with directives like:

    moused_ums0_enable="YES"
    moused_ums0_type="..."

If you have one or more ums[0-9]+ mouses, you can now make use of them by
simply setting devd_enable="YES" in rc.conf.

DragonFlyBSD — . Makefile.inc1 Makefile

build - separate out the rescue initrd

* Multiple issues with users crashing at the end of an installworld because
  initrd kldloads an out-of-date vn device.

* Not a good idea to update the rescue image during an installworld anyway.

* Make it a manual target called 'rescue' and remind the user at the end
  of the installworld that the target is available, but suggest
  rebooting first.
Delta File
+13 -1 Makefile.inc1
+2 -1 Makefile
+15 -2 2 files

DragonFlyBSD — . Makefile.inc1 Makefile

build - separate out the rescue initrd

* Multiple issues with users crashing at the end of an installworld because
  initrd kldloads an out-of-date vn device.

* Not a good idea to update the rescue image during an installworld anyway.

* Make it a manual target called 'rescue' and remind the user at the end
  of the installworld that the target is available, but suggest
  rebooting first.
Delta File
+13 -1 Makefile.inc1
+2 -1 Makefile
+15 -2 2 files

DragonFlyBSD — sys/config LINT64 LINT

kernel config - Build 'vn' into the kernel

* Build vn into the kernel, we are using it in the build system and
  its not a good idea to kldload it during a buildworld or installworld.

DragonFlyBSD — sys/config LINT64 LINT

kernel config - Build 'vn' into the kernel

* Build vn into the kernel, we are using it in the build system and
  its not a good idea to kldload it during a buildworld or installworld.

DragonFlyBSD — test/udp/bindconnfail udp_bindconnfail.c Makefile, test/udp/bindconnsend udp_bindconnsend.c Makefile

test: Add bunch of tests for udp protocol

They test various combination of bind(2), connect(2) and sendto(2)
for both unicast and multicast.  Unicast tests work w/ udpecho in
tools/netrate.  Multicast tests work w/ mcastsend.

DragonFlyBSD — share/man/man9 spinlock.9, sys/bus/cam cam_xpt.c cam_sim.c

kernel/spinlock: Add a description to struct spinlock.

And add it to spin_init() and SPINLOCK_INITIALIZER().

Submitted-by: dclink (see <http://bugs.dragonflybsd.org/issues/2714>)
OK'd-by:      dillon

DragonFlyBSD — usr.bin/unifdef unifdef.1

unifdef.1: Use Mt.
Delta File
+2 -2 usr.bin/unifdef/unifdef.1
+2 -2 1 file

DragonFlyBSD — sys/dev/netif/iwn if_iwn.c if_iwnreg.h

iwn - Sync with FreeBSD up to ffb6d5c3967d1342fa5e2d6f51c8ea8aff1419e2

DragonFlyBSD — sys/bus/u4b/serial usb_serial.c

ucom - Hack unref to fix infinite 1-second wait loop.

* ucom depended on the .tsw_* switch to decomission ports, which we do
  not use currently.  This was preventing the ucom from being properly
  dereferenced and resulted in an infinite 1-second wait loop on close.

* Move the unref elsewhere to hopefully solve the problem.
Delta File
+2 -1 sys/bus/u4b/serial/usb_serial.c
+2 -1 1 file

DragonFlyBSD — sys/bus/u4b/serial usb_serial.c

ucom - Hack unref to fix infinite 1-second wait loop.

* ucom depended on the .tsw_* switch to decomission ports, which we do
  not use currently.  This was preventing the ucom from being properly
  dereferenced and resulted in an infinite 1-second wait loop on close.

* Move the unref elsewhere to hopefully solve the problem.
Delta File
+2 -1 sys/bus/u4b/serial/usb_serial.c
+2 -1 1 file

DragonFlyBSD — sys/kern uipc_syscalls.c

kernel - Fix sendfile() bugs / nginx

* Fix a sendfile() bug tickled by nginx.  When sending partial file bodies the
  nbytes test was improperly included the header bytes in its file body limit
  test.  This caused sendfile() to return 0 (complete success) but not
  actually output the entirety of the requested file segment.

* sendfile() now holds VM pages instead of wiring them.  Wiring the pages
  prevents truncation operations from succeeded and can further cause a
  kernel panic if the underlying file is deleted and the descriptor is
  closed while mbufs related to the sendfile() are still pending on the
  socket.

Massive-debugging-by: joris
Delta File
+27 -16 sys/kern/uipc_syscalls.c
+27 -16 1 file

DragonFlyBSD — sys/kern uipc_syscalls.c

kernel - Fix sendfile() bugs / nginx

* Fix a sendfile() bug tickled by nginx.  When sending partial file bodies the
  nbytes test was improperly included the header bytes in its file body limit
  test.  This caused sendfile() to return 0 (complete success) but not
  actually output the entirety of the requested file segment.

* sendfile() now holds VM pages instead of wiring them.  Wiring the pages
  prevents truncation operations from succeeded and can further cause a
  kernel panic if the underlying file is deleted and the descriptor is
  closed while mbufs related to the sendfile() are still pending on the
  socket.

Massive-debugging-by: joris
Delta File
+27 -16 sys/kern/uipc_syscalls.c
+27 -16 1 file

DragonFlyBSD — sys/dev/netif/iwn if_iwn_chip_cfg.h

[iwn] Fix required calibration flags for the Centrino 1000 NIC.

Tested with Intel Centrino Wireless-N 1000.

Obtained-From: FreeBSD (commit dd4e54a1ddf657f080a88c674e12459f404dea61)
Fixes: http://bugs.dragonflybsd.org/issues/2720

DragonFlyBSD — sys/dev/netif/iwn if_iwn_chip_cfg.h

[iwn] Fix required calibration flags for the Centrino 1000 NIC.

Tested with Intel Centrino Wireless-N 1000.

Obtained-From: FreeBSD (commit dd4e54a1ddf657f080a88c674e12459f404dea61)
Fixes: http://bugs.dragonflybsd.org/issues/2720

DragonFlyBSD — sys/bus/pci/i386 pci_cfgreg.c

kernel/pci: Use spin_*() functions directly.
Delta File
+6 -16 sys/bus/pci/i386/pci_cfgreg.c
+6 -16 1 file

DragonFlyBSD — sys/bus/u4b/serial usb_serial.c, sys/bus/u4b/storage umass.c

u4b - Fix panic on certain cell phone connections

* Remove incorrect unlock in ucom_close().

* Add missing usb_callout_stop() to umass_cam_detach_sim(), fixes issue with umass
  if the mass-storage device quickly connects and disconnects from the bus.

Reported-by: Rolinh

DragonFlyBSD — sys/bus/u4b/serial usb_serial.c, sys/bus/u4b/storage umass.c

u4b - Fix panic on certain cell phone connections

* Remove incorrect unlock in ucom_close().

* Add missing usb_callout_stop() to umass_cam_detach_sim(), fixes issue with umass
  if the mass-storage device quickly connects and disconnects from the bus.

Reported-by: Rolinh

DragonFlyBSD — usr.sbin/sendmail main.c.patch

sendmail - pre-fork in daemon mode to avoid stall (2)

* disconnect() and set CurrentPid on pre-fork.  This fixes an issue where
  the boot console is revoked and enters getty before the backgrounded
  sendmail disconnects from the foreground process and tty, causing sendmail
  to complain in /var/log/maillog.

  This issue can occur due to myhostname() stalls when the internet is not
  available (e.g. /etc/resolv.conf is present but wifi-only system has not
  yet associated), or has other connectivity issues during boot.

Reported-by: Rolinh
Delta File
+9 -7 usr.sbin/sendmail/main.c.patch
+9 -7 1 file

DragonFlyBSD — sys/kern kern_descrip.c

kernel/kern_dup(): Fix comment.
Delta File
+2 -2 sys/kern/kern_descrip.c
+2 -2 1 file

DragonFlyBSD — sys/kern kern_descrip.c, sys/sys kern_syscall.h

kernel: Fix error for dup2 if the new file descriptor is out of bounds.

According to POSIX, when using fcntl()'s F_DUPFD or F_DUPFD_CLOEXEC
commands and the new file descriptor is out of bounds, EINVAL must be
returned. But if it is out of bounds when using dup2(), EBADF must be
returned.

So add detection of whether kern_dup() was called from kern_fcntl() or
from sys_dup2() and act accordingly.
Delta File
+18 -10 sys/kern/kern_descrip.c
+1 -2 sys/sys/kern_syscall.h
+19 -12 2 files

DragonFlyBSD — nrelease Makefile

Move from dns/bind98 on install img/iso to dns/bind-tools.

BIND 9.8 is reaching EOL in a month.  We don't need a full version of
BIND on the default install, since bind-tools provides dig/nslookup/host
and so on.
Delta File
+1 -1 nrelease/Makefile
+1 -1 1 file

DragonFlyBSD — sys/dev/netif/ath/ath if_ath_rx_edma.c

kernel/ath: Add missing #ifdef ATH_DEBUG (fixes kernel build).

Reported-by: Robin Hahling <robin.hahling at gw-computing.net>

DragonFlyBSD — bin/csh config.h

csh(1): Use iconv().

Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2704>
Reported-by:   s4
Delta File
+2 -2 bin/csh/config.h
+2 -2 1 file

DragonFlyBSD — bin/csh config.h

csh(1): Use iconv().

Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2704>
Reported-by:   s4
Delta File
+2 -2 bin/csh/config.h
+2 -2 1 file

DragonFlyBSD — sys/dev/netif/ath/ath if_ath_rx_edma.c

ath - move kprintf() under debug variable

* Move an unconditional debugging kprintf() under a debug variable.

DragonFlyBSD — sbin/dhclient dispatch.c dhclient.c

dhclient - Do not force-up wlan interfaces

* Do not force a wlan interface up, this may interfere with wpa_supplicant
  operation.

* Increase the default timeout for waiting for the interface to become
  active from 10 seconds to 30 seconds.  wlan interfaces can take
  considerably longer than 10 seconds to associate and dhclient operation
  now detaches without waiting so the longer timeout will not interfere
  with the boot sequence.

DragonFlyBSD — etc/rc.d wpa_supplicant

boot - don't wait for wpa_supplicant to associate

* Do not wait for wpa_supplicant to associate as doing so will prevent
  the machine from finishing the boot sequence if there are no base stations
  in range.

  We can do this now because the new dhclient will not blow up.
Delta File
+4 -3 etc/rc.d/wpa_supplicant
+4 -3 1 file

DragonFlyBSD — sbin/dhclient dhclient.8

dhclient - Adjust documentation

* Document how the pidfile works.

* Document that executing a dhclient on an interface which already has a
  running dhclient will kill the old dhclient and replace it with a new
  instance.
Delta File
+14 -2 sbin/dhclient/dhclient.8
+14 -2 1 file

DragonFlyBSD — usr.sbin/sendmail main.c.patch

sendmail - pre-fork in daemon mode to avoid stall

* Fork sendmail prior to doing the hostname lookup when run in -bd or -q<time>
  mode.

* Prevents stalls during system boot when the internet is not available and
  a resolv.conf is present.
Delta File
+68 -10 usr.sbin/sendmail/main.c.patch
+68 -10 1 file

DragonFlyBSD — share/misc bsd-family-tree

bsd-family-tree: Sync with FreeBSD (for various minor DragonFly releases).

Patch-by: Zach Crownover
Delta File
+13 -1 share/misc/bsd-family-tree
+13 -1 1 file

DragonFlyBSD — etc/defaults rc.conf, etc/rc.d dhclient

dhclient - Add -x and -w and adjust rc scripts

* Add the -w option which prevents dhclient from exiting on interface
  down.  dhclient will sleep 10 seconds and retry, forever.

* Add the -x option which kills any running dhclient on the specified
  interface.

* Adjust rc.d/dhclient to use the -x option to kill the dhclient instead
  of taking down the interface (which no longer kills it), and also adjust
  the default flags to pass -w.

DragonFlyBSD — sys/kern subr_rman.c

sys/subr_rman: fix some issues

Some bounds checks were off which lead to bad interactions with the
ram reservation code in nexus.
Delta File
+6 -4 sys/kern/subr_rman.c
+6 -4 1 file

DragonFlyBSD — lib/pam_module/pam_unix pam_unix.c

pam/pam_unix: Sync function declaration and definition.

No functional change.

Taken-from: FreeBSD

DragonFlyBSD — lib/libstand tftp.c

libstand: Add a missing free() in an error path.
Delta File
+3 -1 lib/libstand/tftp.c
+3 -1 1 file