Displaying 1 50 of 269,388 commits (0.059s)

FreeBSD — head/usr.bin/xinstall xinstall.c

install: re-check failed mkdir for EEXIST

Since the code stats and mkdirs in 2 separate steps, it is possible that
the directory will be created in the meantime by something else (e.g.
concurrent install).[1]

While here alter the code to properly report stat failure, previously it
would always claim it was mkdir which failed.

Noted by: royger [1]
MFC after:        1 week
Delta File
+10 -5 head/usr.bin/xinstall/xinstall.c
+10 -5 1 file

FreeBSD — head/sys/fs/autofs autofs_vnops.c

Fix thinko that, with two map entries like shown below, in that order,
made autofs mix them up: the second one wasn't visible in ls(1) output,
and trying to access it would trigger mount for the first one.

foobar                host:/foobar
foo                host:/foo

MFC after:        3 days
Sponsored by:        The FreeBSD Foundation
Delta File
+2 -0 head/sys/fs/autofs/autofs_vnops.c
+2 -0 1 file

FreeBSD — user/jceel/soc2014_evdev/head/sys/amd64/conf EVDEV, user/jceel/soc2014_evdev/head/sys/dev/evdev uinput.c cdev.c

Changes as follows:

* Added vt(4) to EVDEV kernel config
* Fixed /dev/input/event%d device numbering
* Fixed uinput evdev_alloc()/evdev_free() to prevent memory leaks

FreeBSD — head/sys/dev/ixl i40e_common.c

Given we are restricting ixl(4) to 64bit platforms now backout the change
r270820 to common (shared) Intel code no longer needed.

MFC after:        3 days
Delta File
+4 -4 head/sys/dev/ixl/i40e_common.c
+4 -4 1 file

FreeBSD — head/sys/amd64/conf NOTES GENERIC, head/sys/conf files files.amd64

As per [1] Intel only supports this driver on 64bit platforms.
For now restrict it to amd64.  Other architectures might be
re-added later once tested.

Remove the drivers from the global NOTES and files files and move
them to the amd64 specifics.
Remove the drivers from the i386 modules build and only leave the
amd64 version.

Rather than depending on "inet" depend on "pci" and make sure that
ixl(4) and ixlv(4) can be compiled independently [2].  This also
allows the drivers to build properly on IPv4-only or IPv6-only
kernels.

PR:                193824 [2]
Reviewed by:        eric.joyner intel.com
MFC after:        3 days

References:
[1] http://lists.freebsd.org/pipermail/svn-src-all/2014-August/090470.html

FreeBSD — stable/10/sys/amd64/linux32 linux32_systrace_args.c linux32_proto.h, stable/10/sys/i386/linux linux_systrace_args.c linux_proto.h

This is a direct commit rather than an MFC of r271744.

  Re-gen after r272020 (r271743 in head) implementing most of
  timer_{create,settime,gettime,getoverrun,delete}.

Approved by:        re (gjb)
Sponsored by:        DARPA/AFRL

FreeBSD — stable/10/sys/amd64/linux32 syscalls.master linux.h, stable/10/sys/compat/linux linux_timer.c linux_timer.h

MFC r271743:

  Implement most of timer_{create,settime,gettime,getoverrun,delete}
  for amd64/linux32.  Fix the entirely bogus (untested) version from
  r161310 for i386/linux using the same shared code in compat/linux.

  It is unclear to me if we could support more clock mappings but
  the current set allows me to successfully run commercial
  32bit linux software under linuxolator on amd64.

  Reviewed by:                        jhb
  Differential Revision:        D784
Sponsored by:                        DARPA, AFRL
Approved by:                        re (gjb)

FreeBSD — head/sys Makefile

Remove "pci" from CSCOPEDIRS.
Delta File
+1 -1 head/sys/Makefile
+1 -1 1 file

FreeBSD — head/sys pci

Remove the empty sys/pci directory.
Delta File
+0 -0 head/sys/pci/
+0 -0 1 file

FreeBSD — head/sys/conf files, head/sys/dev alpm intpm

Move all the power management (SMBus) drivers to their own directory,
away from sys/pci.
Delta File
+0 -1,024 head/sys/pci/viapm.c
+1,024 -0 head/sys/dev/viapm/viapm.c
+819 -0 head/sys/dev/intpm/intpm.c
+0 -819 head/sys/pci/intpm.c
+0 -668 head/sys/pci/amdpm.c
+668 -0 head/sys/dev/amdpm/amdpm.c
+761 -762 13 files not shown
+3,272 -3,273 19 files

FreeBSD — head/sys/conf files, head/sys/dev nfsmb amdsmb

Move amdsmb and nfsmb from dev/pci to their own device directory.

FreeBSD — head/sys/conf files options, head/sys/dev ncr

Move pci/ncr to dev/ncr.
Delta File
+7,148 -0 head/sys/dev/ncr/ncr.c
+0 -7,148 head/sys/pci/ncr.c
+574 -0 head/sys/dev/ncr/ncrreg.h
+0 -574 head/sys/pci/ncrreg.h
+0 -45 head/sys/pci/locate.pl
+45 -0 head/sys/dev/ncr/locate.pl
+16 -4 6 files not shown
+7,783 -7,771 12 files

FreeBSD — head/sys/powerpc/aim locore64.S

We should have an isync after switching MSR[SF] in bootstrap.

Submitted by:        Mark Millard
MFC after:        3 days
Delta File
+1 -0 head/sys/powerpc/aim/locore64.S
+1 -0 1 file

FreeBSD — head/sys/dev/pci pci.c pci_private.h, head/sys/kern subr_bus.c bus_if.m

Stage one of multipass suspend/resume

Summary:
Add the beginnings of multipass suspend/resume, by introducing
BUS_SUSPEND_CHILD/BUS_RESUME_CHILD, and move the PCI driver to this.

Reviewers: jhb

Reviewed By: jhb

Differential Revision: https://reviews.freebsd.org/D590

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/relnotes article.xml

Document r272006, GEOM_ELI passphrase caching on boot with multiple
providers.

Approved by:        re (implicit)
Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/relnotes article.xml

Document r271967, mkimg(1) empty partition support.

Approved by:        re (implicit)
Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/relnotes article.xml

Add sponsor attribution for r271470

Approved by:        re (implicit)
Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/relnotes article.xml

Document r271816, drm/i915 HW context support.

Approved by:        re (implicit)
Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/relnotes article.xml

Document r271470, addition of BIOS- and UEFI-capable CDROM images.

Approved by:        re (implicit)
Sponsored by:        The FreeBSD Foundation

FreeBSD — head/usr.sbin/bhyve smbiostbl.c

Correct display of bhyve SMBIOS UUIDs with dmidecode by bumping the version.

The mixed little/big-endianness of SMBIOS UUIDs was clarified in v2.6
of the SMBIOS spec. dmidecode uses the reported version of SMBIOS to
determine the layout and what to byte-swap.

bhyve's SMBIOS reported as 2.4 though it implemented the 2.6-style of
memory layout. This resulted in dmidecode reporting a different
UUID than one passed in via the -U option.

Fix by exporting a version of 2.6.

Reviewed by:        tychon
Reported by:        julian
MFC after:        1 day
Delta File
+1 -1 head/usr.sbin/bhyve/smbiostbl.c
+1 -1 1 file

FreeBSD — stable/10/sys/geom/eli g_eli.c

MFC r271664:
  Cache GELI passphrases entered at the console during the boot process,
  in order to improve user-friendliness when a system has multiple disks
  encrypted using the same passphrase.

Relnotes:        yes
Approved by:        re (gjb)
Delta File
+38 -7 stable/10/sys/geom/eli/g_eli.c
+38 -7 1 file

FreeBSD — projects/arm_intrng/sys/arm/arm intrng.c

Use the right variable for determining that we exited the loop without
finding an interrupt handler.

FreeBSD — stable/10/sys/dev/bxe ecore_sp.h

MFC r271728
For ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() check bxe_debug flag before printing 
error message.

Approved by:        re(gjb)
Delta File
+12 -3 stable/10/sys/dev/bxe/ecore_sp.h
+12 -3 1 file

FreeBSD — head/cddl/contrib/opensolaris/lib/libdtrace/common dt_link.c

Remove an incorrect close(2) call that was added in r271413.

Reported by:        Coverity
CID:                1238923
X-MFC-With:        r271413

FreeBSD — head/cddl/contrib/opensolaris/lib/libdtrace/common drti.c

Remove some variables that are no longer used as of r271413.

Reported by:        Coverity
CID:                1238924
X-MFC-With:        r271413

FreeBSD — stable/10/sys/modules/bce Makefile

MFC r271727
remove clean option from Makefile

Approved by:        re(gjb)

FreeBSD — head/sys/dev/tws tws_cam.c tws.c

Switch from timeout(9) to callout(9).  In addition, do not teardown the
IRQ handler while resetting the controller and add some missing teardown
actions in detach.

Reviewed by:        delphij

FreeBSD — stable/10/sys/amd64/amd64 cpu_switch.S fpu.c, stable/10/sys/amd64/include pcb.h fpu.h

MFC 270850,271053,271192,271717:
Save and restore FPU state across suspend and resume on i386.
- Create a separate structure for per-CPU state saved across suspend and
  resume that is a superset of a pcb.
- Store the FPU state for suspend and resume in the new structure
  (for amd64, this moves it out of the PCB)
- On both i386 and amd64, all of the FPU suspend/resume handling is now
  done in C.

Approved by:        re (hrs)

FreeBSD — stable/10/sys/ia64/ia64 machdep.c

Make sure all memory updates are made visible before we let go
of the thread in cpu_switch(). It's otherwise possible that on
another CPU the thread continues from stale context data.

Note that this is prominent on newer CPUs, like the Montecito,
that really take advantage of the weak memory ordering. First
generation Itanium 2 is not that aggressive and does not need
this.

This is a direct commit to stable/10.

Approved by:        re@ (gjb)
Delta File
+2 -0 stable/10/sys/ia64/ia64/machdep.c
+2 -0 1 file

FreeBSD — stable/10/release/doc/en_US.ISO8859-1/relnotes article.xml

Spelling, grammar and punctuation fixes.

Approved by:        re (gjb)

FreeBSD — stable/10/sys/boot/amd64/boot1.efi boot1.c, stable/10/sys/boot/efi/include eficonsctl.h

MFC r271762: Switch to text mode in UEFI boot

    The loader previously failed to display on MacBooks and other
    systems where the UEFI firmware remained in graphics mode.

    Submitted by:       Rafael Espindola

Approved by:        re

FreeBSD — stable/9/sys/dev/bxe ecore_sp.h

MFC r271728
For ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() check bxe_debug flag before printing 
error message.
Delta File
+12 -3 stable/9/sys/dev/bxe/ecore_sp.h
+12 -3 1 file

FreeBSD — stable/9/sys/modules/bce Makefile

MFC r271727
remove clean option from Makefile
Delta File
+0 -5 stable/9/sys/modules/bce/Makefile
+0 -5 1 file

FreeBSD — stable/9/sys/modules/bxe Makefile

MFC r271726
remove clean option from Makefile
Delta File
+0 -5 stable/9/sys/modules/bxe/Makefile
+0 -5 1 file

FreeBSD — head ObsoleteFiles.inc, head/share/man/man9 sleepqueue.9 Makefile

Reflect the chanages in sleepqueue.h and subr_sleepqueue.c

- Priority argument is introduced to sleepq_*wait* in r177085
- sleepq_calc_signal_retval is removed from implementation
- sleepq_catch_signals is internal now

Differential Revision:        https://reviews.freebsd.org/D794
Reviewed by:        jhb
Approved by:        jhb

FreeBSD — stable/8/sys/dev/bxe ecore_sp.h

MFC r271728
For ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() check bxe_debug flag before printing 
error message.
Delta File
+12 -3 stable/8/sys/dev/bxe/ecore_sp.h
+12 -3 1 file

FreeBSD — head UPDATING

UPDATING:  linux-c6 support notes, and how to fall back to linux-f10.

PR:                187786
MFC after:        2 days
Relnotes:        yes
Delta File
+8 -0 head/UPDATING
+8 -0 1 file

FreeBSD — stable/8/sys/modules/bce Makefile

MFC r271727
remove clean option from Makefile
Delta File
+0 -5 stable/8/sys/modules/bce/Makefile
+0 -5 1 file

FreeBSD — stable/10/sys/modules/bxe Makefile

MFC r271726
remove clean option from Makefile

Approved by: re(gjb)

FreeBSD — stable/8/sys/modules/bxe Makefile

MFC r271726
Remove clean option from Makefile
Delta File
+0 -5 stable/8/sys/modules/bxe/Makefile
+0 -5 1 file

FreeBSD — stable/7/sys/dev/bxe ecore_sp.h

MFC r271728
For ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() check bxe_debug flag before printing 
error message.
Delta File
+12 -3 stable/7/sys/dev/bxe/ecore_sp.h
+12 -3 1 file

FreeBSD — stable/7/sys/modules/bce Makefile

MFC r271727
Remove clean option form Makefile
Delta File
+0 -5 stable/7/sys/modules/bce/Makefile
+0 -5 1 file

FreeBSD — stable/7/sys/modules/bxe Makefile

MFC r271726
Remove clean option in Makefile
Delta File
+0 -5 stable/7/sys/modules/bxe/Makefile
+0 -5 1 file

FreeBSD — head/sys/opencrypto cryptodev.c

Fix build for kernels without COMPAT_FREEBSD32.
Delta File
+1 -0 head/sys/opencrypto/cryptodev.c
+1 -0 1 file

FreeBSD — head/sys/compat/linux linux_mib.c

Bump minimum linux compat version to support Centos6 ports updates for linux.

Update linux compat minimum revision to match linux-c6 now in ports.  This
is a candidate for 10.1 R as it matches the current state of supported
linux compat packages in the ports tree.

PR:                187786
Reviewed by:        xmj
MFC after:        2 days
Relnotes:        yes
Delta File
+2 -2 head/sys/compat/linux/linux_mib.c
+2 -2 1 file

FreeBSD — head/usr.bin/mkimg/tests mkimg.sh

Rename the tests to something more meaningful. I spent way too long
trying to get the test name right, failed, gave up and used a sequence
number instead. When I realized it wasn't because of the number of
underscores in the name that I really started to think. I didn't have
braces around the variable names ...

Thus: test_1 is now called apm_1x1_512_qcow, which gives you all you
need to run mkimg by hand.

Dumb-ass: marcel
Delta File
+2 -5 head/usr.bin/mkimg/tests/mkimg.sh
+2 -5 1 file

FreeBSD — head/sys/contrib/ipfilter/netinet ip_dstlist.c

Check for NULL before de-refencing; in particular sel is assigned to NULL,
in the default case, and then couple of lines down we do sel->

Approved by:        glebius (mentor)
Obtained from:        NetBSD CVS repo (r1.5)

FreeBSD — head/usr.bin/mkimg/tests mkimg.sh

Don't update the baseline file when the result of the test is identical
to the baseline. Since we don't run gzip with the -n option, the output
of gzip varies for identical result files if and when they are created
at different time. Ouch...

Rather than add -n and commit a 600K+ diff for the changes to all the .uu
files, it's less of a churn to uudecode and gunzip the baseline file and
compare that to the new result file to determine if the baseline file
needs to be updated.

This way, "atf-sh mkimg.sh rebase" can be run as many times as people like
and a subsequent "svn status" will not show unnecessary diffs.
Delta File
+30 -5 head/usr.bin/mkimg/tests/mkimg.sh
+30 -5 1 file

FreeBSD — head/contrib/ipfilter/tools ipnat_y.y

#552 destination port not zero after parsing nat rule

Approved by:        glebius (mentor)
Obtained from:        netbsd CVS repo (r1.4), ipfilter CVS repo (r1.38)

FreeBSD — head/contrib/ipfilter/tools ipnat_y.y

3561691 gethost never returns an ipv6 address

Approved by:        glebius (mentor)
Obtained from:        ipfilter CVS repo (r1.34), netbsd CVS repo (r1.4)