Displaying 1 50 of 320,508 commits (0.021s)

FreeBSD — head ObsoleteFiles.inc

Remove empty lines for consistency with other entries
Delta File
+0 -1 head/ObsoleteFiles.inc
+0 -1 1 file

FreeBSD — head/etc Makefile man.alias

Do not actually install uneeded alias for man
Delta File
+0 -25 head/etc/Makefile
+0 -4 head/etc/man.alias
+0 -29 2 files

FreeBSD — head ObsoleteFiles.inc, head/etc/mtree BSD.usr.dist

Remove unneeded locales and alias man directories

In base, locales (and encoding) specific directories are not used
by any tool. Just remove them.

While here also remove the cat page directory for openssl

FreeBSD — head Makefile.inc1

Do not print error when running make delete-old on system
without catpages directories
Delta File
+1 -1 head/Makefile.inc1
+1 -1 1 file

FreeBSD — head/sys/opencrypto crypto.c, head/tests/sys/opencrypto cryptotest.py

crypto(9): Use a more specific error code when a capable driver is not found

When crypto_newsession() is given a request for an unsupported capability,
raise a more specific error than EINVAL.

This allows cryptotest.py to skip some HMAC tests that a driver does not
support.

Reviewed by:        jhb, rlibby
Sponsored by:        Dell EMC Isilon
Differential Revision:        https://reviews.freebsd.org/D12451

FreeBSD — head/contrib/gcc/config/arm unwind-arm.c

Fix the return value from _Unwind_Backtrace() on arm.

If unwinding stops due to hitting the end of the call chain, the return
value is supposed to be _URC_END_OF_STACK; other values indicate internal
errors.  The return value from get_eit_entry() is now returned without
translating it to _URC_FAILURE, so that callers can see _URC_END_OF_STACK
when it happens.

FreeBSD — head/contrib/gcc/config/arm unwind-arm.c

Fix handling of uncaught exceptions in a std::terminate() handler on arm.

When raising an exception, the unwinder searches for a catch handler and if
none is found it should invoke std::terminate() with the uncaught exception
as the "current" exception.  Before this change, the terminate handler was
invoked with no exception as current (abi::__cxa_current_exception_type()
returned NULL), because the return value from the unwinder indicated an
internal failure in unwinding.  It turns out that was because all errors
from get_eit_entry() were translated to _URC_FAILURE.  Now the error is
returned untranslated, which allows _URC_END_OF_STACK to percolate upwards
to throw_exception() in libcxxrt.  When it sees that return status it
properly calls std::terminate() with the uncaught exception installed
as the current exception, allowing custom terminate handlers to work
with it.

FreeBSD — head ObsoleteFiles.inc, head/etc/mtree BSD.usr.dist

Remove the cat pages directory now that catman(1) is gone
Delta File
+4 -142 head/etc/mtree/BSD.usr.dist
+75 -0 head/ObsoleteFiles.inc
+79 -142 2 files

FreeBSD — head/cddl/usr.sbin/zfsd zfsd_event.cc

Close a memory leak when using zpool_read_all_labels

MFC after:        3 weeks
X-MFC-With:        322854
Sponsored by:        Spectra Logic Corp

FreeBSD — head/sys/kern sys_process.c

Log signal number passed to PT_STEP requests in KTR_PTRACE traces.

MFC after:        1 week
Delta File
+2 -2 head/sys/kern/sys_process.c
+2 -2 1 file

FreeBSD — head/sys/fs/tmpfs tmpfs_fifoops.c tmpfs_vnops.c

Use tmpfs_print for tmpfs FIFOs.

Reviewed by:        kib (part of a larger patch)

FreeBSD — stable/11/libexec/getty gettytab.5 main.c

MFC r323252:

Add a new getty/gettytab capability to generate an initial message dynamically.

This modification adds a new gettytab(5) option (iM) to specify a
program to run that will generate the initial (banner) message that is
displayed before the login prompt. Such a capability is useful when
dynamic information is needed in the banner message that cannot be
supplied by the set of % substitution sequences available in the "im"
option.

Sponsored by:        Dell EMC

FreeBSD — head/sys/boot/efi/libefi efipart.c

libefi: efipart_floppy() will should not pass acpi pointer if the HID test fails

The current efipart_floppy() implementation is leaking the acpi pointer.

FreeBSD — head/lib/libcapsicum capsicum_helpers.h

capsicum_helpers: Add SEEK to default stdio rights set

PR:                219173
Sponsored by:        Dell EMC Isilon

FreeBSD — stable/11/libexec/getty gettytab.5

MFC r317801 (by trasz):

Fix markup in gettytab(5).

Approved by:        vangyzen (mentor)
Sponsored by:        Dell EMC
Delta File
+36 -36 stable/11/libexec/getty/gettytab.5
+36 -36 1 file

FreeBSD — stable/10/sys/cam/scsi scsi_all.c, stable/11/sys/cam/scsi scsi_all.c

MFC:        r323840

Remove an ancient comment about the existence of READ(16)/WRITE(16) for MMC.

FreeBSD — stable/11/libexec/getty subr.c gettytab.5

MFC r313107 (by danfe):
Try to fix the old "he capability is stupid" bug in gettytab(5)/getty(8)

There is one capability explicitly documented in gettytab(5) as stupid: he.
And it is indeed.  It was meant to facilitate system hostname modification,
but is hardly usable in practice because it allows very limited editing
(e.g., it depends on a particular hostname length, making it non-generic).

Replace it with simple implementation that treats ``he'' as POSIX extended
regular expression which is matched against the hostname.  If there are no
parenthesized subexpressions in the pattern, entire matched string is used
as the final hostname.  Otherwise, use the first matched subexpression.
If the pattern does not match, the original hostname is not modified.

Using regex(3) gives more freedom, does not complicate the code very much,
and makes a lot more sense, in turn making ``he'' less stupid and actually
useful (e.g., it is now possible to obtain node or domain names from the
original hostname string, without knowing it in advance).

Approved by:        vangyzen (mentor)
Sponsored by:        Dell EMC

FreeBSD — head/sys/cddl/compat/opensolaris/sys kcondvar.h, head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs dmu_tx.c

Use nstosbt() instead of multiplying by SBT_1NS to avoid roundoff errors.

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

FreeBSD — user/pho/stress2/misc trim2.sh trim.sh

Return fsck(1) status.

Sponsored by:        Dell EMC Isilon

FreeBSD — head/sys/dev/neta if_mvneta.c

Fix gcc compilation issues in the mvneta driver

Compiling mvneta driver with gcc unveiled two issues, that
required fixing.

Reported by: andrew
Obtained from: Semihalf
Delta File
+13 -12 head/sys/dev/neta/if_mvneta.c
+13 -12 1 file

FreeBSD — head/sys/vm vm_page.c

Change vm_page_try_to_free() to require a managed page.  Essentially,
vm_page_try_to_free() is testing conditions, like clean versus dirty,
that only vary in managed pages.

Suggested by:        kib
Reviewed by:        markj
X-MFC after:        never
Delta File
+8 -7 head/sys/vm/vm_page.c
+8 -7 1 file

FreeBSD — head/sys/contrib/vchiq/interface/vchiq_arm vchiq_2835_arm.c

Modernize the use of vm_page_unwire().  Since r288122, vm_page_unwire()
has returned TRUE when the wire count transitions to zero, eliminating
the need for callers to inspect the page's wire count.

MFC after:        1 week

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

Small style(9) issue: spaces vs TAB.

FreeBSD — projects/runtime-coverage/share/mk bsd.lib.mk

Unbreak pic library link/compilation when MK_COVERAGE == no

Use a separate variable (PIC_OBJS) for the objects that should be in a
pic-enabled static library.

This unbreaks libexec/rtld-elf compilation when MK_COVERAGE == no.

FreeBSD — head/sys/fs/nfsserver nfs_nfsdserv.c

Change a panic to an error return.

There was a panic() in the NFS server's write operation that didn't
need to be a panic() and could just be an error return.
This patch makes that change.
Found by code inspection during development of the pNFS service.

MFC after:        2 weeks

FreeBSD — head/sys/geom geom_subr.c

g_resize_provider_event: Do not invoke orphan method twice

Like r266444, g_resize_provider_event can attempt to orphan an already
orphaned geom_dev consumer.  This will cause a panic in g_dev_orphan.  Apply
the same fix as was applied to g_orphan_register.

Reviewed by:        ae
Sponsored by:        Dell EMC Isilon
Differential Revision:        https://reviews.freebsd.org/D12469
Delta File
+8 -0 head/sys/geom/geom_subr.c
+8 -0 1 file

FreeBSD — projects/runtime-coverage/etc/mtree Makefile

Re-add BSD.coverage.dist install

This was an accidental mismerge in r321458 (MFC from ^/head)

FreeBSD — projects/runtime-coverage/contrib/one-true-awk lib.c run.c, projects/runtime-coverage/share/man/man4 mps.4 mpr.4

MFhead at r323974

FreeBSD — head/sys/fs/nfsclient nfs_clcomsubs.c

Remove 0 filling from nfsm_uiombuflist().

nfsm_uiombuflist() zero filled the mbuf list to a multiple of 4bytes
as required for XDR. Unfortunately that modified an mbuf list after
it was m_copym()'d and was broken. This patch removes the zero filling code.
Since nfsm_uiombuflist() is not yet used in head/current, this has no
effect on users.
The function will be used by a future commit of code that adds Flex
File Layout support.

FreeBSD — head/sys/vm vm_page.c vm_page.h

Optimize vm_page_try_to_free().  Specifically, the call to pmap_remove_all()
can be avoided when the page's containing object has a reference count of
zero.  (If the object has a reference count of zero, then none of its pages
can possibly be mapped.)

Address nearby style issues in vm_page_try_to_free(), and change its
return type to "bool".

Reviewed by:        kib, markj
MFC after:        1 week
Delta File
+11 -9 head/sys/vm/vm_page.c
+1 -1 head/sys/vm/vm_page.h
+12 -10 2 files

FreeBSD — head/usr.bin/calendar/calendars calendar.freebsd

Add myself to the calendar.freebsd

Reviewed by:    pfg (mentor)
Approved by:    pfg (mentor)

FreeBSD — head/tools/tools/nanobsd defaults.sh

Fix packages with interactive post install scripts.

Tell pkg(8) we're running non-interactively so packages that with
interactive post install scripts don't hang.

Submitted by: Guido van Rooij

FreeBSD — head/sys/arm/conf VIRT

Remove the VIRT kernel config, it's now useable through GENERIC.

Sponsored by:        DARPA, AFRL
Delta File
+0 -59 head/sys/arm/conf/VIRT
+0 -59 1 file

FreeBSD — head/share/man/man4 mpr.4 mps.4, head/sys/dev/mpr mpr.c

Add the ability to report and set debug flags as text strings instead of
just integer flags.  Report both for convenience.

Submitted by:        Eygene Ryabinkin (manpage)
Sponsored by:        Netflix

FreeBSD — stable/11/sys/powerpc/aim mmu_oea.c mmu_oea64.c

MFC r323676:
Implement mmu_page_init for AIM platforms.

FreeBSD — head/sys/arm/conf GENERIC, head/sys/arm/freescale/imx files.imx6

Add i.MX6 and Xilinx to GENERIC.

Merge in the missing devices from the IMX6 and ZEDBOARD kernel configs. The
Freescale sdma device has been renamed to fslsdma to mark it as a platform
specific driver.

Reviewed by:        ian
Sponsored by:        DARPA, AFRL
Differential Revision:        https://reviews.freebsd.org/D11564

FreeBSD — head/sys/arm/broadcom/bcm2835 bcm2835_sdhci.c, head/sys/arm/ti ti_sdhci.c

Rename sdhci_cam_start_slot() into sdhci_start_slot()

This change allows to just call sdhci_start_slot() in SDHCI drivers
and not to think about which stack handles the operation.

As a side effect, this will also fix MMCCAM with sdhci_acpi driver.

Approved by:        imp (mentor)
Differential Revision:        https://reviews.freebsd.org/D12471

FreeBSD — head/contrib/one-true-awk lib.c

Don't display empty error context.

Context extraction didn't handle this case and showed uninitialized memory.

Obtained from: OpenBSD lib.c 1.21
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D12379
Delta File
+1 -1 head/contrib/one-true-awk/lib.c
+1 -1 1 file

FreeBSD — head/contrib/one-true-awk run.c

Fix %c for floating values that become 0 when coerced to int.

Obtained from: OpenBSD run.c 1.36 (From Jeremy Devenport)
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D12379
Delta File
+1 -1 head/contrib/one-true-awk/run.c
+1 -1 1 file

FreeBSD — head/contrib/one-true-awk lib.c

Fix uninitialized variable

echo | awk 'BEGIN {i=$1; print i}' prints a boatload of stack
garbage. NUL terminate the memory returned from malloc to prevent it.

Obtained from: OpenBSD run.c 1.40
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D12379
Delta File
+1 -0 head/contrib/one-true-awk/lib.c
+1 -0 1 file

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

Fix typo from r323945.

Reported by:        Gary Jennejohn <gljennjohn at gmail.com>
Point hat to:        cy (me)

FreeBSD — head/sys/dev/ti if_ti.c

Since the page "frame" doesn't belong to a vm object, it can't be paged
out.  Since it can't be paged out, it is never actually enqueued in a
paging queue.  Nonetheless, passing PQ_INACTIVE to vm_page_unwire()
creates the appearance that the page "frame" is being enqueued in the
inactive queue.  As of r288122, we can avoid this false impression by
passing PQ_NONE.

MFC after:        1 week
Delta File
+1 -1 head/sys/dev/ti/if_ti.c
+1 -1 1 file

FreeBSD — head/tests/sys/opencrypto cryptodev.py cryptotest.py

Convert some idioms over to py3k-compatible idioms

- Import print_function from __future__ and use print(..) instead of `print ..`.
- Use repr instead of backticks when the object needs to be dumped, unless
  print(..) can do it lazily. Use str instead of backticks as appropriate
  for simplification reasons.

This doesn't fully convert these modules over py3k. It just gets over some of
the trivial compatibility hurdles.

FreeBSD — projects/runtime-coverage/tests/sys/opencrypto cryptodev.py cryptotest.py

Convert some idioms over to py3k-compatible idioms

- Import print_function from __future__ and use print(..) instead of `print ..`.
- Use repr instead of backticks when the object needs to be dumped, unless
  print(..) can do it lazily. Use str instead of backticks as appropriate
  for simplification reasons.

This doesn't fully convert these modules over py3k. It just gets over some of
the trivial compatibility hurdles.

FreeBSD — head/share/misc committers-src.dot

Add myself as src committer.

Approved by:    pfg (mentor)

FreeBSD — head/sys/kern subr_witness.c

ddb(4): Add 'show badstacks' command to show witness badstacks

Add a DDB command that mirrors sysctl debug.witness.badstacks.

Reapply r323935 after fixing trivial deficiency.  I forgot to compile with
WITNESS enabled.  Thanks emaste@ for fixing the build while I was asleep.

Reported by:        rstone
Reviewed by:        rstone (previous version)
Sponsored by:        Dell EMC Isilon
Differential Revision:        https://reviews.freebsd.org/D12468
Delta File
+49 -19 head/sys/kern/subr_witness.c
+49 -19 1 file

FreeBSD — head/sys/dev/bnxt bnxt_sysctl.c bnxt_hwrm.c

bnxt: Choose better HW LRO defaults for performance

1) Choose correct Firmware options for HW LRO for best performance
2) Delete TBD and other comments which are not required.
3) Added sysctl interface to enable / disable / modify different factors
   of HW LRO.
4) Disabled HW LRO by default to avoid issues with packet forwarding

This allows much better control over the LRO configuration via sysctls, and
uses much better defaults.  Hardware LRO can now be enabled/disabled
independantly from the software LRO, and the tuning parameters are exposed.

manpage updates coming soon.

Submitted by:        Bhargava Chenna Marreddy <bhargava.marreddy at broadcom.com>
Reviewed by:        shurd, sbruno
Approved by:        sbruno (mentor)
Sponsored by:        Broadcom Limited
Differential Revision:        https://reviews.freebsd.org/D12223

FreeBSD — head/sys/net mp_ring.c iflib.c

Have ifmp_ring_enqueue() abdicate instead of switch to a consumer

Move TX out of the enqueue() path. As a result, we need
to have ifmp_ring_check_drainage() pick up from the abdicate state.

We also need to either enqueue the TX task, or check drainage
after calling ifmp_ring_enqueue() to ensure it's sent.

This change results in a 30% small packet forwarding improvement.

Reviewed by:        olivier, sbruno
Approved by:        sbruno (mentor)
Sponsored by:        Limelight Networks
Differential Revision:        https://reviews.freebsd.org/D12439
Delta File
+5 -9 head/sys/net/mp_ring.c
+2 -5 head/sys/net/iflib.c
+7 -14 2 files

FreeBSD — user/pho/stress2/misc marcus2.sh marcus5.sh

No need to use grep(1).

Sponsored by:        Dell EMC Isilon