Displaying 1 50 of 32,230 commits (0.081s)

DragonFlyBSD — sys/dev/drm drm_crtc_helper.c drm_vm.c, sys/dev/drm/i915 intel_dp.c intel_lvds.c

drm: Implement and use the Linux version of kfree()

DragonFlyBSD — crypto/openssh ssh.c sshconnect.c

openssh: Fix version stuff.

The previous code was trying to get too fancy by trying to use
configuration options in places where those options weren't sent yet.

Fix a case in sshconnect.c where version_addendum wasn't being used.

Update README.DRAGONFLY to reflect the latest upgrade instructions.

DragonFlyBSD — crypto/openssh digest-libc.c sandbox-capsicum.c, crypto/openssh/openbsd-compat getopt_long.c arc4random.c

Merge branch 'openssh'
∈ Robin Hahling - 54e479e4 - 2015-01-25 19:49:14
libssh: remove some unused files

DragonFlyBSD — crypto/openssh cipher-ctr-mt.c, secure/lib/libssh Makefile

libssh: Fix a remaining warning and raise WARNS to 2.

DragonFlyBSD — crypto/openssh umac128.c

libssh: Silence some redefinition warnings.

Taken-from:   FreeBSD
Submitted-by: Robin Hahling <robin.hahling at gw-computing.net>
Delta File
+7 -0 crypto/openssh/umac128.c
+7 -0 1 file

DragonFlyBSD — contrib/file/src file.h

file(1): Unbreak buildworld.

The issue is the missing definition of wchar_t in <inttypes.h> (required
by POSIX too) which file(1) winds up needing because of new code in this

The commit 3e581a72263dd3b726387b5dc2399a066511099f fixes it correctly
but mkmagic.nx is a build-tool and so uses host includes (which don't
have that <inttypes.h> fix yet at this point).

I see no other way to fix this easily right now than just including
<wchar.h>. This has a wchar_t definition, too.

Reported-by: Robin Hahling <robin.hahling at gw-computing.net>
Delta File
+1 -0 contrib/file/src/file.h
+1 -0 1 file

DragonFlyBSD — secure/usr.bin/ssh Makefile

ssh: Raise WARNS back to 2.
Delta File
+1 -1 secure/usr.bin/ssh/Makefile
+1 -1 1 file

DragonFlyBSD — crypto/openssh sshconnect.c

ssh: Add a missing include for bindresvport_sa().
Delta File
+1 -0 crypto/openssh/sshconnect.c
+1 -0 1 file

DragonFlyBSD — etc/rc.d sshd

rc.d/sshd: Simplify key generation.

ssh-keygen(1) already provides the functionality we were previously
trying to do here with its -A flag, except now it will reduce the
maintenance burden of having to update this file when there are new key
Delta File
+2 -48 etc/rc.d/sshd
+2 -48 1 file

DragonFlyBSD — lib/libmagic config.h Makefile

Update files for file-5.22 import.
Delta File
+32 -3 lib/libmagic/config.h
+3 -0 lib/libmagic/Makefile
+35 -3 2 files

DragonFlyBSD — include inttypes.h

inttypes.h: Add typedef for wchar_t.
Delta File
+11 -5 include/inttypes.h
+11 -5 1 file

DragonFlyBSD — contrib/file ChangeLog README, contrib/file/doc libmagic.man magic.man

Import file-5.22.

DragonFlyBSD — contrib/file ChangeLog README, contrib/file/doc libmagic.man magic.man

Import file-5.22.

DragonFlyBSD — gnu/lib/liblvm Makefile

Merge new origin commits.
∈ Sascha Wildner - 85e1e736 - 2015-01-24 13:09:48
liblvm: Request _XOPEN_SOURCE=700 for alphasort() prototype.
Delta File
+1 -1 gnu/lib/liblvm/Makefile
+1 -1 1 file

DragonFlyBSD — include dirent.h

<dirent.h>: Don't check _POSIX_SOURCE.

Use the __POSIX_VISIBLE, __XSI_VISIBLE and __BSD_VISIBLE macros, per
Delta File
+16 -10 include/dirent.h
+16 -10 1 file

DragonFlyBSD — include dirent.h, lib/libc/gen gen_private.h dirfd.c

libc: Change dirfd() into a function (needed per POSIX).

At the same time, make struct _dirdesc private to libc. If access
to dd_fd is needed, dirfd() has to be used. Inside libc, the former
dirfd() macro is preserved as _dirfd().

Also, in struct _dirdesc, change the lock from "void *" to
"struct pthread_mutex *". This allows us to eliminate some casts
in readdir() and friends.

Our documentation already describes dirfd() as a function.

Based-on: FreeBSD's similar work
Delta File
+58 -0 lib/libc/gen/gen_private.h
+42 -0 lib/libc/gen/dirfd.c
+3 -15 include/dirent.h
+5 -5 lib/libc/gen/readdir.c
+4 -4 lib/libc/gen/closedir.c
+3 -3 lib/libc/gen/telldir.c
+10 -4 6 files not shown
+125 -31 12 files

DragonFlyBSD — include dirent.h

<dirent.h>: Adjust whitespace better (no functional change).
Delta File
+27 -24 include/dirent.h
+27 -24 1 file

DragonFlyBSD — gnu/lib/liblvm Makefile

liblvm: Request _XOPEN_SOURCE=700 for alphasort() prototype.
Delta File
+1 -1 gnu/lib/liblvm/Makefile
+1 -1 1 file

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

drm: Improve linux/jiffies.h

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

drm: Improve linux/pci.h

* Add struct pci_device_id

* Add PCI_DEVFN, obtained from FreeBSD's OFED subsystem
Delta File
+13 -1 sys/dev/drm/include/linux/pci.h
+13 -1 1 file

DragonFlyBSD — sys/dev/drm/include/drm drm_crtc.h, sys/dev/drm/include/linux backlight.h fb.h

drm: Add linux/backlight.h

DragonFlyBSD — . Makefile_upgrade.inc, crypto/openssh ssh-vulnkey.c ssh-vulnkey.1

Remove blacklisted keys support from OpenSSH.

As time progresses, this code becomes less useful. I left the code that
still scans the configuration option, and in the future it can be
removed as well.

The original author made a decent case for removing this in 2013:

DragonFlyBSD — crypto/openssh ssh_namespace.h cipher-ctr-mt.c, crypto/openssh/openbsd-compat blowfish.c

Update files for OpenSSH-6.7p1 import.

This also updates the HPN patch to the most recent, which brings in the
multi-threaded cipher for improved performance.

DragonFlyBSD — etc/rc.d initdiskless, lib/libstand nfs.c

pxeboot - Add option to improve NFS performance

* Allow nfs.read_size=N to be specified in /boot/loader.conf
  (1024-4096 allowed).  This allows the pxe server to tell
  the pxeboot code to use larger NFS data packets, significantly
  reducing kernel binary and module load times.

DragonFlyBSD — sys/boot/pc32/libi386 pxe.c

pxeboot - Workaround BIOS breakage

* Some BIOSes (the one in my Gigabyte H97N-WIFI) continue to use the original
  negotiated by the TFTP preloader even after we have negotiated a new IP
  and used it in the udpopen.  This will cause our dest_ip filter in
  udpread() to implode.  Detect and handle this case.

* Why does dhcpd hand out different IPs?  I tracked one down to the PXE
  BIOS sending a Client-ID option.  However, our PXEBOOT DHCP and our
  dhclient don't seem to send that option and also get different IPs.

* This won't fix post-boot breakage if dhclient rips the IP out from under
  the NFS root mount in a pxebooted situation.
Delta File
+36 -6 sys/boot/pc32/libi386/pxe.c
+36 -6 1 file

DragonFlyBSD — lib/libstand rpc.c bootparam.c

libstand - Don't allow the port# to underflow.

* Recycle port numbers if our decrement would underflow a reasonable
  low port.

DragonFlyBSD — crypto/openssh sshkey.c key.c, crypto/openssh/openbsd-compat blowfish.c getopt_long.c

Merge branch 'vendor/OPENSSH'
∈ Peter Avalos - 36e94dc5 - 2014-11-26 20:54:34
Import OpenSSH-6.7p1.
Delta File
+3,856 -0 crypto/openssh/sshkey.c
+332 -2,126 crypto/openssh/key.c
+1,240 -0 crypto/openssh/krl.c
+328 -719 crypto/openssh/authfile.c
+784 -247 crypto/openssh/readconf.c
+649 -215 crypto/openssh/channels.c
+19,780 -8,908 234 files not shown
+26,969 -12,215 240 files

DragonFlyBSD — sys/bus/u4b usb.h

kernel/usb4bsd: Remove unused malloc type declaration.
Delta File
+0 -1 sys/bus/u4b/usb.h
+0 -1 1 file

DragonFlyBSD — lib/libkinfo kinfo.3

kinfo.3: Fix prototype.
Delta File
+2 -2 lib/libkinfo/kinfo.3
+2 -2 1 file

DragonFlyBSD — share/man/man4 alc.4

alc.4: Update the manual page for today's upgrade.
Delta File
+33 -15 share/man/man4/alc.4
+33 -15 1 file

DragonFlyBSD — sys/netinet6 nd6_rtr.c

inet6: Remove detecting of aggregatable unicast address (RFC2374).

It has been deprecated for a long time.

Submitted-by: gpr
Dragonfly-bug: 2774
Delta File
+0 -11 sys/netinet6/nd6_rtr.c
+0 -11 1 file

DragonFlyBSD — sys/dev/netif/alc if_alc.c if_alcvar.h

alc: Fix up MSI configuration

Tested-by: dillon@

DragonFlyBSD — sys/dev/netif/alc if_alc.c if_alcreg.h, sys/dev/netif/mii_layer atphy.c miidevs

kernel - Update if_alc

* Bring in everything FreeBSD has for if_alc.  This adds a few more
  generations including the one used (for the hardport) by my new
  Gigabyte H97N-WIFI mobo.

* Update mii as well.

* Disable MSI for now, doesn't seem to work with my test box.

Taken-From: FreeBSD

DragonFlyBSD — sys/dev/agp agp_i810.c

drm - Add another Haswell graphics chipid

* Add the gpu identified by the i3-4130 (haswell)
Delta File
+1 -0 sys/dev/agp/agp_i810.c
+1 -0 1 file

DragonFlyBSD — sys/bus/u4b/audio Makefile

kernel - audio Makefile needs opt_snd.h

* Audio Makefile depends on opt_snd.h.
Delta File
+1 -1 sys/bus/u4b/audio/Makefile
+1 -1 1 file

DragonFlyBSD — sys/bus/pci pcireg.h

kernel - Add more definitions to pcireg.h

* Add more definitions to pcireg.h

Taken-From: FreeBSD
Delta File
+9 -0 sys/bus/pci/pcireg.h
+9 -0 1 file

DragonFlyBSD — sys/dev/acpica acpi_resource.c

acpi: Don't set non-exist EXT IRQ

Certain mobo, e.g. gigabyte H97N-WIFI, reports EXT IRQ 37 and 38,
which do not exist at all (max legacy IRQ is 23).  Don't set bus
resource for this kind of IRQ resources.

Tested-by: dillon@
Delta File
+5 -0 sys/dev/acpica/acpi_resource.c
+5 -0 1 file

DragonFlyBSD — lib/libkinfo kinfo.3 Makefile, lib/libkvm kvm.3

Add a manual page for libkinfo (one for libkcore is still missing).
Delta File
+202 -0 lib/libkinfo/kinfo.3
+14 -1 lib/libkinfo/Makefile
+1 -1 lib/libkvm/kvm.3
+217 -2 3 files

DragonFlyBSD — share/examples/rconfig hammer.sh

rconfig - A couple additions to hammer.sh

Submitted-by: Rumko
Closes: #1173
Delta File
+6 -1 share/examples/rconfig/hammer.sh
+6 -1 1 file

DragonFlyBSD — lib/libkvm kvm_sparc.c

libkvm - Remove unused file
Delta File
+0 -221 lib/libkvm/kvm_sparc.c
+0 -221 1 file

DragonFlyBSD — sys/dev/misc/ecc ecc_e31200.c ecc_amd8000.c

ecc: No need to go through parent device explicitly

DragonFlyBSD — sys/bus/pci hostb_pci.c, sys/conf files

ecc: Use identify to add ecc device for E3-1200 memory controllers

- Disable ecc for X3400 temporarily; it seems to use E5 style ecc
  registers accessing method, which needs further investigation.
- Ecc should not be forcefully added to hostb

Tested-by: dillon@ on E3-1200 and E3-1200v3

DragonFlyBSD — lib/libc/gen sysctl.3

sysctl.3: Use .Vt instead of .Va for types.
Delta File
+10 -10 lib/libc/gen/sysctl.3
+10 -10 1 file

DragonFlyBSD — lib/libc/gen sysctl.3

sysctl.3: Fix documentation of KERN_FILE.
Delta File
+3 -5 lib/libc/gen/sysctl.3
+3 -5 1 file

DragonFlyBSD — contrib/ee ee.1

    Fix the man page: make sure all list items are bolded and a grammar tweak.
    Based on OpenBSD and FreeBSD changes that are exactly the same.
Delta File
+2 -2 contrib/ee/ee.1
+2 -2 1 file

DragonFlyBSD — lib/libc/gen sysctl.3

sysctl.3: Remove KERN_UPDATEINTERVAL identifier. Fix a copy-paste error.
Delta File
+3 -4 lib/libc/gen/sysctl.3
+3 -4 1 file

DragonFlyBSD — sys/dev/disk/nata ata-chipset.c

kernel - limit DMA for older ALI chips to 256KB

* For ancient machines using old ALI chipsets which do
  not support 48-bit DMA, also limit the maximum DMA
  size to 256KB.
Delta File
+4 -1 sys/dev/disk/nata/ata-chipset.c
+4 -1 1 file

DragonFlyBSD — sbin/ipfw ipfw2.c

ipfw2 - Fix buffer overflow with large tables

* Fix according to PR 1753.

Taken-from: FreeBSD
Delta File
+2 -2 sbin/ipfw/ipfw2.c
+2 -2 1 file

DragonFlyBSD — sys/dev/misc/ecc ecc_x3400.c ecc_e31200.c

ecc: Implement detach and shutdown methods

While I'm here, clean up indentation.

DragonFlyBSD — sys/vfs/hammer hammer_inode.c

hammer - Attempt to fix improper call to vsetisdirty() in hammer flush

* The hammer flush occurs in the background.  Because of this it is possible
  for a vnode to be reclaimed just prior to the flush code getting to it.

* Attempt to fix an improper call to vsetisdirty() which can panic the machine
  on vp->v_mount becoming NULL.  The vnode reclamation should theoretically be
  interlocked against the inode lock so it should suffice to simply check
  to see if it has been reclaimed yet or not.

* Also don't bother marking the vnode dirty if it is already marked dirty.
Delta File
+7 -1 sys/vfs/hammer/hammer_inode.c
+7 -1 1 file