Displaying 1 50 of 316,901 commits (0.022s)

FreeBSD — head/sys/boot/i386/boot0 Makefile

Allow Clang's integrated assembler to assemble boot0

dim@ compared clang IAS-built and GNU as-built boot0 and found them
equivalent.  IAS encoded one instruction using two bytes where GNU as
used three, and another instruction using three bytes where GNU as used
two.  The net result is equivalent and tested, so there is no need to
force IAS off for boot0.
Delta File
+0 -3 head/sys/boot/i386/boot0/Makefile
+0 -3 1 file

FreeBSD — head/lib/libc/sys stat.2

Remove redundant wording, minor edits for clarity.

MFC after:        1 week
Sponsored by:        iXsystems
Delta File
+22 -22 head/lib/libc/sys/stat.2
+22 -22 1 file

FreeBSD — head Makefile.inc1

compiler-metadata: Properly handle cross-build OBJDIR.

MFC after:        3 days
Sponsored by:        Dell EMC Isilon
Delta File
+1 -1 head/Makefile.inc1
+1 -1 1 file

FreeBSD — head Makefile.inc1 Makefile

Expose only the create-packages-* targets since they set needed DEST/DIRDIR.

The other targets just fail confusingly otherwise.

MFC after:        2 weeks
Sponsored by:        Dell EMC Isilon
Delta File
+4 -2 head/Makefile.inc1
+1 -1 head/Makefile
+5 -3 2 files

FreeBSD — head Makefile.inc1

packages: Parallelize individual kernel packaging.

MFC after:        2 weeks
Sponsored by:        Dell EMC Isilon
Delta File
+6 -1 head/Makefile.inc1
+6 -1 1 file

FreeBSD — head Makefile.inc1

packages: Allow actually building individual world packages in parallel.

MFC after:        2 weeks
Sponsored by:        Dell EMC Isilon
Delta File
+28 -18 head/Makefile.inc1
+28 -18 1 file

FreeBSD — head Makefile.inc1

packages: Allow creating kernel/world packages in parallel.

MFC after:        2 weeks
Sponsored by:        Dell EMC Isilon
Delta File
+9 -2 head/Makefile.inc1
+9 -2 1 file

FreeBSD — head Makefile.inc1

packages: Allow staging world/kernel in parallel.

MFC after:        2 weeks
Sponsored by:        Dell EMC Isilon
Delta File
+9 -3 head/Makefile.inc1
+9 -3 1 file

FreeBSD — head Makefile.inc1

packages: Allow stageworld/stagekernel to run with make jobs.

The -B was originally added in projects/release-pkg r289381 as a copy
of what 'make world' did at the time.  The -B was removed from
the 'installworld' call in 'world' in r303844 though.  The staging
of files is safe to run in parallel.

MFC after:        2 weeks
Sponsored by:        Dell EMC Isilon
Delta File
+2 -2 head/Makefile.inc1
+2 -2 1 file

FreeBSD — head/usr.bin/truss syscalls.c syscall.h

Decode FreeBSD 11 compat stat, fstat and lstat calls.

FreeBSD — head UPDATING, head/lib/libc/include libc_private.h

Forward compatibility for ino64.

Add forward compatibility so that new binaries can run on old
kernels. If the new system call from ino64 isn't available on your
system, then the old one will be used and the results translated.  The
stat and statfs families of functions are fully emulated. While not
required by policy, in this case it is helpful to our users to provide
this compatibility. In this case, it allows rollback of the kernel
after installing a new userland should a problem be discovered. It
also prevents foot-shooting if a user does an install before rebooting
with the new kernel. Finally, it allows the use case where one needs
to run new binaries on an old kernel as part of an upgrade process.

The getdirentries family uses tricks that may not work on remote
filesystems. Specifically, it uses a buffer 1/4 the size requested to
get the data from he old syscall.

The code carefully uses direct syscalls for old system calls to avoid
referencing freebsd11_* symbols, which contaminate ld-elf.so.1's
export table due to its use of stat functions, which causes errno to
be incorrect in client programs due to the wrong *stat* function being
resolved in some cases.

This code should removed sometime after 12 is branched.


    [6 lines not shown]

FreeBSD — head/usr.bin/mkuzip mkuz_insize.c

Don't leak file descriptor in some cases.

Reported by:        cem
MFC after:        6 weeks
Delta File
+4 -0 head/usr.bin/mkuzip/mkuz_insize.c
+4 -0 1 file

FreeBSD — head/sbin/ipfw ipfw.8

ipfw: Note that bandwidth can take G suffix in the manpage

Reported by:        Jose Luis Duran (github)
Delta File
+1 -1 head/sbin/ipfw/ipfw.8
+1 -1 1 file

FreeBSD — head/share/mk bsd.linker.mk, head/sys/conf kern.pre.mk kmod.mk

Introduce LINKER_FEATURES to avoid duplicating version logic

Submitted by:        bdrewery
Reported by:        kib

FreeBSD — head Makefile.inc1

Set compiler metadata for stageworld/distributeworld.

This fixes LD errors during 'make packages' but also for the unlikely case of
'buildworld' on 1 system and 'packages' on another [1].

PR:                212877 [1]
MFC after:        2 weeks
Sponsored by:        Dell EMC Isilon
Delta File
+2 -1 head/Makefile.inc1
+2 -1 1 file

FreeBSD — head Makefile

Allow ALWAYS_BOOTSTRAP_MAKE to force bmake bootstrapping.

MFC after:        2 weeks
Sponsored by:        Dell EMC Isilon
Delta File
+2 -1 head/Makefile
+2 -1 1 file

FreeBSD — head/sys/conf kern.pre.mk kmod.mk

enable --build-id for the kernel link

A Build-ID is an identifier generated at link time to uniquely identify
ELF binaries.  It allows efficient confirmation that an executable or
shared library and a corresponding standalone debuginfo file match.
(Otherwise, a checksum of the debuginfo file must be calculated when
opening it in a debugger.)

The FreeBSD base system includes GNU bfd ld 2.17.50 as the linker for
architectures other than arm64.  Build-ID support was added to bfd ld
shortly after that version, so was not previously available to us.

We can now start making use of Build-ID as we migrate to using lld or
bfd ld from ports, conditionally enabled based on the LINKER_TYPE and
LINKER_VERSION make variables added in r320244 and subsequent commits.

Reviewed by:        dim
MFC after:        3 weeks
Sponsored by:        The FreeBSD Foundation
Differential Revision:        https://reviews.freebsd.org/D11314

FreeBSD — head/usr.sbin/sesutil Makefile.depend

sesutil no longer depends on libsbuf

Sponsored by:        Gandi.net

FreeBSD — head/usr.sbin/sesutil sesutil.c eltsub.c

Directly print the extra status instead of filling a buffer
then printing it.

This prepares the code to make it libxo friendly

Reviewed by:        manu, Nikita Kozlov (nikita elyzion.net)
MFC after:        2 weeks
Sponsored by:        Gandi.net

FreeBSD — head/bin/echo/tests echo_test.sh

style fixes in bin/echo/tests

Submitted by:        shivansh
Reviewed by:        asomers
MFC after:        2 weeks
X-MFC-With:        319626
Sponsored by:        Google, Inc (GSoC 2017)
Differential Revision:        https://reviews.freebsd.org/D11318
Delta File
+18 -14 head/bin/echo/tests/echo_test.sh
+18 -14 1 file

FreeBSD — head/sbin/ipfw dummynet.c

ipfw: dummynet: Add 'G' and 'g' suffix for bandwidth configuration/display

MFC after:        2 weeks
Sponsored by:        Gandi.net
Delta File
+5 -0 head/sbin/ipfw/dummynet.c
+5 -0 1 file

FreeBSD — head/usr.sbin/sesutil eltsub.c eltsub.h

Do not use sprintf(3) when not needed, while here,
prefer snprintf(3) over sprintf(3)

FreeBSD — head/sys/dev/jedec_ts jedec_ts.c

jedec_ts: add support for devices manufactured by IDT

Full manufacturer name is Integrated Device Technology, Inc.
Supported devices include TSE2002B3C and TS3000B3A.

MFC after:        1 week
Delta File
+7 -0 head/sys/dev/jedec_ts/jedec_ts.c
+7 -0 1 file

FreeBSD — head/sys/compat/linprocfs linprocfs.c

Fix caveat in new implementation of linprocfs_docpuinfo():
Prevent kernel panic in case that extended-cpuid isn't supported by CPU

Reviewed by:        kib, ngie, trasz
Approved by:        trasz
MFC after:        1 week
Differential Revision:        https://reviews.freebsd.org/D11294

FreeBSD — head/sys/netinet sctp_input.c

Check the length of a COOKIE chunk before accessing fields in it.

Thanks to Felix Weinrank for reporting the issue he found by using
libFuzzer.

MFC after:        3 days
Delta File
+6 -6 head/sys/netinet/sctp_input.c
+6 -6 1 file

FreeBSD — head/sys/netinet sctp_constants.h

Use a longer buffer for messages in ERROR chunks.

This allows them to be sent in a non truncated way and addresses a warning
given by newver versions of gcc.
Thanks to Anselm Jonas Scholl for reporting it and providing a patch.
Delta File
+1 -1 head/sys/netinet/sctp_constants.h
+1 -1 1 file

FreeBSD — head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs arc.c vdev_label.c

fix gcc-specific fallout from r320156, MFV of r318946, ZFS ABD

Reported by:        jhibbits
MFC after:        1 week
X-MFC with:        r320156

FreeBSD — head/sys/netinet sctp_usrreq.c

Honor the backlog field.
Delta File
+5 -1 head/sys/netinet/sctp_usrreq.c
+5 -1 1 file

FreeBSD — head/sys/netinet sctputil.c sctp_input.c

Improve compilation on platforms different from FreeBSD.

FreeBSD — head/sys/dev/jedec_ts jedec_ts.c

jedec_ts: read device id from the correct register

Due to my braino / typo the driver was reading the Vendor ID register
twice.

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

FreeBSD — head/share/mk bsd.linker.mk

change GNU ld LINKER_TYPE from binutils to bfd

GNU binutils includes two linkers: ld.bfd and ld.gold.  For clarity use
LINKER_TYPE=bfd to refer to ld.bfd, the original binutils linker that
identifies itself as "GNU ld".

Discussed with:        bdrewery
Delta File
+1 -1 head/share/mk/bsd.linker.mk
+1 -1 1 file

FreeBSD — head/contrib/ipfilter/lib printhashnode.c printpoolnode.c, head/contrib/ipfilter/tools ipf_y.y

Replace AF_INET6 ifdefs with USE_INET6 ifdefs. This is more consistent
and guaranteed to build everywhere in ipfilter.

Not all of this commit can be MFCed. Some is original code while others
are not.

FreeBSD — head/etc/ntp leap-seconds

Replace the leap-seconds file in r320242 from USNO -
ftp://tycho.usno.navy.mil/pub/ntp/leap-seconds.3701462400 - with a
leap-seconds file from NIST at ftp://time.nist.gov/pub/. The USNO
version of the file changes the last documented leap second update
time whereas the NIST version does not. The expiration of the USNO
version of the file is also one month short.

Requested by:        ian@
Obtained from:        ftp://time.nist.gov/pub/leap-seconds.3676924800
MFC after:        3 days
Delta File
+104 -74 head/etc/ntp/leap-seconds
+104 -74 1 file

FreeBSD — head/lib/libc/sys kqueue.2, head/share/man/man4 aio.4

Clarify usage of aio(4) with kqueue(2)

Reviewed by:        jhb
MFC after:        3 weeks
Differential Revision:        https://reviews.freebsd.org/D11299

FreeBSD — head/release/arm64 RPI3.conf

Fix, for the fourth or fifth time now, looking up where boot1.efi
is located.

MFC after:        5 days
X-MFC-Note:        maybe
X-MFC-With:        r320252, r320253
Sponsored by:        The FreeBSD Foundation
Delta File
+2 -2 head/release/arm64/RPI3.conf
+2 -2 1 file

FreeBSD — head/release/arm64 RPI3.conf

Remove two configuration entries used for debugging that snuck in.

MFC after:        5 days
X-MFC-Note:        maybe
X-MFC-With:        r320252
Sponsored by:        The FreeBSD Foundation
Delta File
+1 -2 head/release/arm64/RPI3.conf
+1 -2 1 file

FreeBSD — head/release release.sh, head/release/arm64 RPI3.conf

In release/release.sh:
- Rename chroot_arm_armv6_build_release() to chroot_arm_build_release()
  and make it hardware agnostic (such as armv6 -vs- armv7 -vs- arm64).

- Evaluate EMBEDDED_TARGET differently so release/tools/arm.subr can
  be used for arm/armv6 and arm64/aarch64.

- Update comments and copyright.

In release/tools/arm.subr:
- In arm_create_disk(), change the default alignment from 63 to 512k,
  fixing a boot issue on arm64 and EFI. [1]

- Update comments and copyright.

Add a RPI3 configuration file, pieces obtained from Crochet.

Obtained from:        Crochet [1]
MFC after:        5 days
X-MFC-Note:        maybe
Sponsored by:        The FreeBSD Foundation

FreeBSD — stable/11/sys/conf newvers.sh

Update stable/11 to BETA3 as part of the 11.1-RELEASE cycle.

Approved by:        re (implicit)
Sponsored by:        The FreeBSD Foundation
Delta File
+1 -1 stable/11/sys/conf/newvers.sh
+1 -1 1 file

FreeBSD — head/share/mk bsd.linker.mk

Provide proper values for X_LINKER_TYPE/VERSION when XLD == LD.

MFC after:        2 weeks
Sponsored by:        Dell EMC Isilon
Delta File
+4 -0 head/share/mk/bsd.linker.mk
+4 -0 1 file

FreeBSD — head/share/mk bsd.linker.mk

Don't overwrite already-set LINKER_VERSION/LINKER_TYPE.

MFC after:        2 weeks
Sponsored by:        Dell EMC Isilon
Delta File
+2 -1 head/share/mk/bsd.linker.mk
+2 -1 1 file

FreeBSD — head/share/mk bsd.linker.mk

LINKER_VERSION: Support external binutils.

The ports binutils stores the version in the 5th word so just look for
a version using a pattern instead.

Reported by:        rpokala
MFC after:        2 weeks
Sponsored by:        Dell EMC Isilon
Delta File
+1 -1 head/share/mk/bsd.linker.mk
+1 -1 1 file

FreeBSD — head Makefile.inc1

Pass along LINKER_* vars during installworld and show in test-system-compiler.

Sponsored by:        Dell EMC Isilon
Delta File
+5 -2 head/Makefile.inc1
+5 -2 1 file

FreeBSD — head/share/mk bsd.linker.mk

Support cached linker values in environment.

This is similar to r289659 for bsd.compiler.mk.

MFC after:        2 weeks
Reviewed by:        emaste
Sponsored by:        Dell EMC Isilon
Differential Revision:        https://reviews.freebsd.org/D11310
Delta File
+29 -0 head/share/mk/bsd.linker.mk
+29 -0 1 file

FreeBSD — head/share/mk bsd.linker.mk

Support XLD for setting X_LINKER_TYPE and X_LINKER_VERSION.

This is similar to r300350 for bsd.compiler.mk.

MFC after:        2 weeks
Reviewed by:        emaste
Sponsored by:        Dell EMC Isilon
Differential Revision:        https://reviews.freebsd.org/D11309
Delta File
+20 -6 head/share/mk/bsd.linker.mk
+20 -6 1 file

FreeBSD — head/share/mk bsd.linker.mk Makefile

Add basic bsd.linker.mk auto included from bsd.compiler.mk.

This will provide LINKER_TYPE and LINKER_VERSION.

MFC after:        2 weeks
Reviewed by:        emaste
Sponsored by:        Dell EMC Isilon
Differential Revision:        https://reviews.freebsd.org/D11308

FreeBSD — head/share/mk bsd.compiler.mk

Fix spelling error.

Reported by:        arc
Sponsored by:        Dell EMC Isilon
Delta File
+1 -1 head/share/mk/bsd.compiler.mk
+1 -1 1 file

FreeBSD — head/etc/ntp leap-seconds

Update leap-seconds to leap-seconds.3701462400.

As per https://datacenter.iers.org/eop/-/somos/5Rgv/latest/16:

     INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS)

SERVICE INTERNATIONAL DE LA ROTATION TERRESTRE ET DES SYSTEMES DE REFERENCE

SERVICE DE LA ROTATION TERRESTRE
OBSERVATOIRE DE PARIS
61, Av. de l'Observatoire 75014 PARIS (France)
Tel.      : 33 (0) 1 40 51 23 35
FAX       : 33 (0) 1 40 51 22 91
Internet  : services.iers at obspm.fr

                                             Paris, 9 January 2017

                                             Bulletin C 53

                                             To authorities responsible
                                             for the measurement and
                                             distribution of time

                          INFORMATION ON UTC - TAI


    [18 lines not shown]
Delta File
+6 -6 head/etc/ntp/leap-seconds
+6 -6 1 file

FreeBSD — stable/11/sys/kern kern_rwlock.c kern_sx.c

MFC r320124:
Fix the !TD_IS_IDLETHREAD(curthread) locking assertions.

Approved by:        re (kib)

FreeBSD — head/include stddef.h

Use __ISO_C_VISIBLE, as opposed to testing __STDC_VERSION__.

FreeBSD's C library uses __STDC_VERSION__ to determine whether the
compiler provides language features specific to a certain version of the
C standard. __ISO_C_VISIBLE is used to specify which library features
need to be exposed.

max_align_t currently uses __STDC_VERSION__, even though it should be
using __ISO_C_VISIBLE to remain consistent with the rest of the headers
in include/.

Reviewed by:        dim
MFC after:        1 month
Differential Revision:        https://reviews.freebsd.org/D11303
Delta File
+1 -1 head/include/stddef.h
+1 -1 1 file

FreeBSD — head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs arc.c

MFV r319950: 5220 L2ARC does not support devices that do not provide 512B access

FreeBSD note: the actual change has been in FreeBSD since r297848.  This
commit accounts for integration of that change with subsequent changes,
especially r320156 (MFV of r318946) and r314274.

illumos/illumos-gate at 403a8da73c64ff9dfb6230ba045c765a242213fb
https://github.com/illumos/illumos-gate/commit/403a8da73c64ff9dfb6230ba045c765a242213fb

https://www.illumos.org/issues/5220
  There are disk devices that have logical sector size larger than 512B, for
  example 4KB. That is, their physical sector size is larger than 512B and they
  do not provide emulation for 512B sector sizes. For such devices both a data
  offset and a data size must be properly aligned. L2ARC should arrange that
  because it uses physical I/O.
  zio_vdev_io_start() performs a necessary transformation if io_size is not
  aligned to vdev_ashift, but that is done only for logical I/O. Something
  similar should be done in L2ARC code.
      * a temporary write buffer should be allocated if the original buffer is
        not going to be compressed and its size is not aligned
      * size of a temporary compression buffer should be ashift aligned
      * for the reads, if a size of a target buffer is not sufficiently large and
        it is not aligned then a temporary read buffer should be allocated

Reviewed by: George Wilson <george.wilson at delphix.com>

    [6 lines not shown]