Displaying 1 50 of 292,599 commits (0.028s)

FreeBSD — stable/10/sys/boot/efi/loader main.c, stable/10/sys/boot/i386/loader main.c

Catch the EFI loader up to the latest ZFS Boot Environment Menu features

MFC: r294072
  Move init_zfs_bootenv to sys/boot/zfs/zfs.c instead of having a copy in each loader

MFC: r294073
  Connect the ZFS boot environment menu to the UEFI loader

MFC: r295357
  Do not set vfs.root.mountfrom unnecessarily when initializing ZFS BE menu

Approved by:        re (marius)
Relnotes:        yes
Sponsored by:        ScaleEngine Inc.

FreeBSD — head/sys/dev/uart uart_bus_fdt.c

Explicitly include <sys/systm.h>. Previously we were pulling it in due to
header pollution.
Delta File
+1 -0 head/sys/dev/uart/uart_bus_fdt.c
+1 -0 1 file

FreeBSD — head/sys/arm/qemu virt_common.c

Fix a logic inversion when checking for ARM_INTRNG

Pointy hat to:        andrew
Delta File
+1 -1 head/sys/arm/qemu/virt_common.c
+1 -1 1 file

FreeBSD — head/sys/arm/qemu virt_common.c

Only use fdt_pic_table when not using ARM_INTRNG
Delta File
+2 -0 head/sys/arm/qemu/virt_common.c
+2 -0 1 file

FreeBSD — head/etc/defaults rc.conf, head/etc/rc.d jail

Add new rc.conf parameter "jail_reverse_stop"

When a user defines "jail_list" in rc.conf the jails are started in the
order defined. Currently the jails are not are stopped in reverse order
which may break dependencies between jails/services and prevent a clean
shutdown. The new parameter "jail_reverse_stop" will shutdown jails in
"jail_list" in reverse order when set to "YES".

Please note that this does not affect manual invocation of the jail rc
script. If a user runs the command

  # service jail stop jail1 jail2 jail3

the jails will be stopped in exactly the order specified regardless of
jail_reverse_stop being defined in rc.conf.

PR:                196152
Approved by:        jamie
MFC after:        1 week
Relnotes:        yes
Differential Revision:        https://reviews.freebsd.org/D5233

FreeBSD — head/sys/arm/arm generic_timer.c

Use OF_getencprop to read a property, it already handles the endian
conversion so we don't need to pass the data through fdt32_to_cpu.
Delta File
+1 -4 head/sys/arm/arm/generic_timer.c
+1 -4 1 file

FreeBSD — user/pho/stress2/misc nullfs17.sh

Added one more nullfs(5) test.

Sponsored by:        EMC / Isilon Storage Division
Delta File
+86 -0 user/pho/stress2/misc/nullfs17.sh
+86 -0 1 file

FreeBSD — head/lib/libc/sys jail.2, head/usr.sbin/jail jail.8 jail.conf.5

Remove man page references to rndassociates.com, which has been taken over
by a domain squatter.

FreeBSD — head/sys/dev/sfxge sfxge.c, head/sys/dev/sfxge/common efx_mcdi.c efx_phy.c

sfxge: implement SIOCGI2C to read information from phy modules

The IOCTL is used by 'ifconfig -v' to show SFP+/QSFP+ information
including inventory information and dianostics (temperature, light
levels, voltage etc).

Reviewed by:    gnn,melifaro
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision: https://reviews.freebsd.org/D5240

FreeBSD — head/sys/arm64/arm64 swtch.S

Revert an arm64 change that sneaked in with r295464.
Delta File
+7 -6 head/sys/arm64/arm64/swtch.S
+7 -6 1 file

FreeBSD — head/usr.sbin/services_mkdb services_mkdb.c

Remove O_SYNC from the options passed to dbmopen().

The services db is created as a temporary file that is moved over the
existing file after completion. Thus there is no need to immediately
flush all created db records to the temporary file.

This speeds up creation of the services db by a factor of 500 on my
ZFS based /var/db filesytem (from 110 seconds to 0.235 seconds).

MFC after:        1 week

FreeBSD — head/sys/arm/allwinner timer.c a10_ehci.c, head/sys/arm/allwinner/a20 a20_cpu_cfg.c

Update of the Allwinner drivers to:
 * Use the Linux compat string
 * Use EARLY_DRIVER_MODULE to attach at the right time
 * Add a generic A10 kernel config file
 * A20 now use generic_timer
 * Add two new dts files for Olimex boards
 * Update our custom DTS file for A10 and A20 to use the same compatible
   property names as the vendor ones.

Submitted by:        Emmanuel Vadot <manu at bidouilliste.com>
Differential Revision:        https://reviews.freebsd.org/D4792

FreeBSD — head/sys/dev/usb/controller ehci_pci.c

Correct PCI device description.

Submitted by:        Dmitry Luhtionov <dmitryluhtionov at gmail.com>

FreeBSD — stable/9/etc ntp.conf Makefile, stable/9/etc/defaults rc.conf periodic.conf

MFC r289421, r293037, r294773, and r294884.

ntp leap-leapseconds support.

r289421:

Add default leap-seconds file. This should help ntp networks get the
leap second date correct

Updates to the file can be obtained from ftp://time.nist.gov/pub/ or
ftp://tycho.usno.navy.mil/pub/ntp/.

r293037:

Update leap-seconds to latest. This will satisfy the ntpd leap-second
version check.

r294773:

Add support for automatic leap-second file updates.

The working copy of leapfile resides in /var/dbntpd.leap-seconds.list.
/etc/ntp/leap-seconds (periodically updated from ftp://time.nist.gov/pub/
or ftp://tycho.usno.navy.mil/pub/ntp/) contains the master copy should
automatic leapfile updates be disabled (default).

    [13 lines not shown]

FreeBSD — stable/10/etc ntp.conf Makefile, stable/10/etc/defaults rc.conf periodic.conf

MFC r289421, r293037, r294773, and r294884.

ntp leap-leapseconds support.

r289421:

Add default leap-seconds file. This should help ntp networks get the
leap second date correct

Updates to the file can be obtained from ftp://time.nist.gov/pub/ or
ftp://tycho.usno.navy.mil/pub/ntp/.

r293037:

Update leap-seconds to latest. This will satisfy the ntpd leap-second
version check.

r294773:

Add support for automatic leap-second file updates.

The working copy of leapfile resides in /var/dbntpd.leap-seconds.list.
/etc/ntp/leap-seconds (periodically updated from ftp://time.nist.gov/pub/
or ftp://tycho.usno.navy.mil/pub/ntp/) contains the master copy should
automatic leapfile updates be disabled (default).

    [15 lines not shown]

FreeBSD — head/share/examples/jails jng

Add `stats' command to get ng_bridge(4) stats
Delta File
+34 -0 head/share/examples/jails/jng
+34 -0 1 file

FreeBSD — head/sys/arm/include intr.h, head/sys/sys intr.h

Break out the shared bits of the arm intrng definitions into sys/intr.h;
leave the machine dependent bits in sys/arm/.

This is in preparation for MIPS INTRNG work.

Submitted by:        Stanislav Galabov <sgalabov at gmail.com>
Delta File
+130 -0 head/sys/sys/intr.h
+1 -87 head/sys/arm/include/intr.h
+131 -87 2 files

FreeBSD — head/share/examples/jails rc.conf.jails README

Add vnet jail configuration examples

FreeBSD — projects/release-pkg/sbin/devd Makefile, projects/release-pkg/sbin/routed Makefile

Add devd and routed back to the runtime package instead
of their individual packages based on MK_foo evaluation.

There is no intent to split inet/inet6 or other similar
combinations for package creation, since they are created
during build time.

Noticed/prodded by:        lidl
Sponsored by:        The FreeBSD Foundation

FreeBSD — head Makefile

Fix make universe when running with non POSIX/C locales using a locale sensitive
pattern

Reported by:        many
Submitted by:        jilles
Delta File
+2 -1 head/Makefile
+2 -1 1 file

FreeBSD — stable/10/lib/libprocstat libprocstat.c, stable/10/lib/libutil kinfo_getfile.c kinfo_getvmmap.c

MFC 287442,287537,288944:
Fix corruption of coredumps due to procstat notes changing size during
coredump generation.  The changes in r287442 required some reworking
since the 'fo_fill_kinfo' file op does not exist in stable/10.

287442:
Detect badly behaved coredump note helpers

Coredump notes depend on being able to invoke dump routines twice; once
in a dry-run mode to get the size of the note, and another to actually
emit the note to the corefile.

When a note helper emits a different length section the second time
around than the length it requested the first time, the kernel produces
a corrupt coredump.

NT_PROCSTAT_FILES output length, when packing kinfo structs, is tied to
the length of filenames corresponding to vnodes in the process' fd table
via vn_fullpath.  As vnodes may move around during dump, this is racy.

So:

 - Detect badly behaved notes in putnote() and pad underfilled notes.

 - Add a fail point, debug.fail_point.fill_kinfo_vnode__random_path to

    [48 lines not shown]

FreeBSD — stable/10/sys/boot/arm/at91/boot2 boot2.c, stable/10/sys/boot/arm/ixp425/boot2 boot2.c

MFC boot loader path and RBX constant deduplication

r294765 (imp)

Move all the separate copies of the same strings into paths.h. There's
nothing machine specific about these.

r294765 (imp)

RBX_ defines are in rbx.h, move it there.

r294847 (imp)

Remove static from these two. They slipped through the cracks.

r294925 (imp)

Fix mistake when transitioning to the new defines with ZFS loader. I
hate adding yet another define, but it is the lessor of the evil
choices available. Kill another evil by removing PATH_BOOT3 and
replacing it with PATH_LOADER or PATH_LOADER_ZFS as appropriate.

Approved by:        re (gjb)

FreeBSD — head/etc/periodic/security 520.pfdenied

Zero pf rule counters so daily reports make sense

Zero pf rule counters so that each daily report lists an absolute
number of rejected packets, not the total since the last time the
machine rebooted (or the counters were manually cleared).

PR:                206467
Submitted by:        Rick Adams
Approved by:        rpaulo (mentor)
Differential Revision:        https://reviews.freebsd.org/D5172

FreeBSD — head/lib/libmemstat memstat_uma.c, head/sys/amd64/amd64 uma_machdep.c

Include sys/_task.h into uma_int.h, so that taskqueue.h isn't a
requirement for uma_int.h.

Suggested by:        jhb

FreeBSD — projects/release-pkg/sbin/adjkerntz Makefile, projects/release-pkg/sbin/badsect Makefile

Explicitly add more files to the 'runtime' package.

Sponsored by:        The FreeBSD Foundation

FreeBSD — projects/release-pkg Makefile.inc1

Remove unnecessary env(1) invocations.

Sponsored by:        The FreeBSD Foundation

FreeBSD — projects/release-pkg/sbin/atm/atmconfig Makefile, projects/release-pkg/sbin/ccdconfig Makefile

Create packages for atm, ccdconfig, devd, ipf, ipfw,
iscsi, natd, nandfs, pf, quotacheck, and routed.

Add ping6 and rtsol to the runtime package.

Sponsored by:        The FreeBSD Foundation

FreeBSD — projects/release-pkg Makefile.inc1 Makefile

Add logic to rotate the package repository, keyed on PKG_VERSION,
and create a 'latest' symlink to the PKG_VERSION repository path.

Suggested by:        des
Sponsored by:        The FreeBSD Foundation

FreeBSD — head/usr.bin/top machine.c

Rename variable to reflect the condition.

Suggested by:        jhb
Sponsored by:        The FreeBSD Foundation
Delta File
+4 -4 head/usr.bin/top/machine.c
+4 -4 1 file

FreeBSD — head/sys/arm/allwinner allwinner_machdep.h

Remove unneeded whitespace, and fix a license for a new file. Extracted
from a larger patch.

Submitted by:        Emmanuel Vadot <manu at bidouilliste.com>
X-Differential Revision:        https://reviews.freebsd.org/D4792

FreeBSD — head/share/examples/jails jib jng

Bring generated interfaces up always

FreeBSD — head/share/examples/jails jib

Change MAC algo to support mixing w/jng interfaces
Delta File
+11 -14 head/share/examples/jails/jib
+11 -14 1 file

FreeBSD — head/share/examples/jails jib jng

Fix bpf unhiding example /etc/devfs.rules

FreeBSD — head/sys/dev/sound/pcm sndstat.c sound.c

To support userspace audio daemons like Virtual OSS, /dev/sndstat is
made writeable by the root user. Userspace audio daemons can add or
update an entry in /dev/sndstat by doing a single system write call to
any /dev/sndstat file descriptor handle. When the audio daemon closes the
file handle or is killed the entry disappears.

While at it, cleanup the sound status code a bit:
- keep the device list sorted to avoid sorting the list every time a
  /dev/sndstat read request is made.
- factor out locking into a pair of locking macros.
- use the sound status lock to protect all per file handle states,
  when generating the output for /dev/sndstat and when removing or
  adding sound status devices. This way sndstat_acquire() and
  sndstat_release() become superfluous and can be removed.

Reviewed by:                mav @
Differential Revision:        https://reviews.freebsd.org/D5191

FreeBSD — projects/release-pkg/bin/cat Makefile, projects/release-pkg/bin/chflags Makefile

Explicitly add unmarked bin/ binaries to the runtime package.
Note: tcsh(1) has a MK_TCSH=no test, so this should be a separate
package, which requires pre-install/post-install scripts, to be
added later.

Sponsored by:        The FreeBSD Foundation

FreeBSD — projects/release-pkg/bin/rcp Makefile

Add rcp(1) to the rcmds package.

Sponsored by:        The FreeBSD Foundation

FreeBSD — projects/release-pkg/bin/rmail Makefile

Add rmail to the sendmail package

Sponsored by:        The FreeBSD Foundation

FreeBSD — head/sys/gnu/dts/arm tegra124-jetson-tk1-emc.dtsi tegra124-nyan-blaze-emc.dtsi, head/sys/gnu/dts/include/dt-bindings i2c iio

Update our copy of the Linux dts files to be in sync with Linux 4.5-rc1. We
now uave a full copy of the arm device tree sources to help when adding
support for newer boards.

Sponsored by:        ABT Systems Ltd

FreeBSD — head/bin/pkill pkill.c, head/bin/ps ps.1

Rename P_KTHREAD struct proc p_flag to P_KPROC.

I left as is an apparent bug in ntoskrnl_var.h:AT_PASSIVE_LEVEL()
definition.

Suggested by:        jhb
Sponsored by:        The FreeBSD Foundation

FreeBSD — projects ci20_mips

I'm not working on this project branch, nuke it so people don't mistake
this for actual working code.
Delta File
+0 -0 projects/ci20_mips/
+0 -0 1 file

FreeBSD — head/sys/arm64/arm64 db_disasm.c

Use designated initialisers for the db disassembler interface to help with
finding the struct when searching for one of its members.
Delta File
+3 -3 head/sys/arm64/arm64/db_disasm.c
+3 -3 1 file

FreeBSD — head/tools/tools/nanobsd/embedded qemu-armv7.cfg

Correct the year, it's 2016.

FreeBSD — head/tools/tools/nanobsd/embedded qemu-armv7.cfg

Add an ARMv7 config file to build nanobsd images for the qemu virt
platform.

Sponsored by:        ABT Systems Ltd

FreeBSD — head/sys/boot/common load_elf.c

Don't set the offset when loading the kernel on the arm loader.efi. The
copyin and copyout code handle virtual addresses such that they will take
a virtual address and convert it into a valid physical address. It may
also mean we fail to boot as the elf files load address could be 0.

Sponsored by:        ABT Systems Ltd
Delta File
+6 -1 head/sys/boot/common/load_elf.c
+6 -1 1 file

FreeBSD — head/bin/dd args.c

Improve comment to reflect recent changes.

MFC after:        1 month
Sponsored by:        The FreeBSD Foundation
Delta File
+4 -2 head/bin/dd/args.c
+4 -2 1 file

FreeBSD — head/bin/dd args.c

Use a proper type for return value of postfix_to_mult(); the way it's
being used wouldn't work if the value returned didn't fit in intmax_t.

Submitted by:        bde@
MFC after:        1 month
Sponsored by:        The FreeBSD Foundation
Delta File
+2 -2 head/bin/dd/args.c
+2 -2 1 file

FreeBSD — head/bin/dd args.c

Use proper functions for parsing the numeric values.

Submitted by:        bde@
MFC after:        1 month
Sponsored by:        The FreeBSD Foundation
Delta File
+2 -2 head/bin/dd/args.c
+2 -2 1 file

FreeBSD — head/sys/arm64/arm64 pmap.c

Ignore invalid page descriptors in ARM64 pmap_mincore

    Prevent the function from null-pointer-dereference when unexisting
    mapping is being processed.

Obtained from:         Semihalf
Sponsored by:          Cavium
Approved by:           cognet (mentor)
Reviewed by:           zbb, cognet
Differential revision: https://reviews.freebsd.org/D5228
Delta File
+12 -0 head/sys/arm64/arm64/pmap.c
+12 -0 1 file

FreeBSD — head/sys/dev/ofw ofw_bus_subr.c ofw_bus_subr.h

Teach ofw_bus_parse_xref_list_alloc to be able to return the length of the parsed list.

Currently, there is no easy way to know in advance how many entries a list parsed by
ofw_bus_parse_xref_list_alloc() in sys/dev/ofw/ofw_bus_subr.c has.

This patch:

* teaches the existing function about handling idx == -1 and returning how big
  the set is; then renames it as _internal;
* create a new function that asserts idx != -1, so the old API is maintained;
* add a new function that returns just the list length.

Submitted by:        Stanislav Galabov <sgalabov at gmail.com>
Differential Revision:        https://reviews.freebsd.org/D5043