Displaying 1 50 of 683,403 commits (0.099s)

NetBSD — sys/arch/aarch64/aarch64 kobj_machdep.c

show correct relocation address when overflowed.

NetBSD — sys/kern sys_mqueue.c

Handle p->p_mqueue_cnt in a symmetric manner.

While this change does mean that each open mqd_t counts against the
limit, it also means that p_mqueue_cnt will never wrap below 0.

Discovered by the Rust nix crate test suite.  It opens the same mq twice
(once for writes, once for reads), and then proceeds to close each of
them, which resulted in p_mqueue_cnt wrapping to (u_int)-1, preventing
the process from opening any more mqueues, and all subsequent
mq(3)-related tests to fail.
Delta File
+10 -15 sys/kern/sys_mqueue.c
+10 -15 1 file

NetBSD — sys/external/bsd/gnu-efi/dist/inc efilib.h, sys/external/bsd/gnu-efi/dist/lib print.c

Remove FloatToString from NetBSD build since it uses float/double

NetBSD — bin/sh eval.c main.c

PR bin/48875

Revert the changes that were made 19 May 2016 (principally eval.c 1.125)
and the bug fixes in subsequent days (eval.c 1.126 and 1.127) and also
update some newer code that was added more recently which acted in
accordance with those changes (make that code be as it would have been
if the changes now being reverted had never been made).

While the changes made did solve the problem, in a sense, they were
never correct (see the PR for some discussion) and it had always been
intended that they be reverted.   However, in practical sh code, no
issues were reported - until just recently - so nothing was done,
until now...

After this commit, the validate_fn_redirects test case of the sh ATF
test t_redir will fail.   In particular, the subtest of that test
case which is described in the source (of the test) as:
        This one is the real test for PR bin/48875
will fail.

Alternative changes, not to "fix" the problem in the PR, but to
often avoid it will be coming very soon - after which that ATF
test will succeed again.

XXX pullup-8
Delta File
+17 -27 bin/sh/eval.c
+3 -3 bin/sh/main.c
+1 -2 bin/sh/eval.h
+21 -32 3 files

NetBSD — bin/sh show.c

NFC: DEBUG mode only change.   When tracing, show >&- as ">&-"
rather than ">&-1" (the same op as >&n where internally n < 0
means "close")
Delta File
+8 -4 bin/sh/show.c
+8 -4 1 file

NetBSD — sys/arch/mips/mips cpu_exec.c

fix a bug in the previous change: don't hide the break; behind DEBUG_EXEC.
should fix PR#53538.  tested on erlite.
Delta File
+3 -3 sys/arch/mips/mips/cpu_exec.c
+3 -3 1 file

NetBSD — doc 3RDPARTY

3RDPARTY: latest Mesa actually is 8.1.6 for now.
Delta File
+2 -2 doc/3RDPARTY
+2 -2 1 file

NetBSD — sys/arch/arm/broadcom bcm2835_emmc.c bcm2835_mbox.c

Clean up leftover when converting intr_establish() to fdtbus_intr_establish().
The latter accept only flags 0 or FDT_INTR_MPSAFE. For both cases, it add
IST_LEVEL flag for underlying intr_establish() function.

OK skrll

NetBSD — sys/arch/evbarm/conf GENERIC

Commit work in progress GENERIC configuration without the other necessary
changes at this point
Delta File
+279 -19 sys/arch/evbarm/conf/GENERIC
+279 -19 1 file

NetBSD — sys/arch/arm/samsung exynos4_reg.h exynos_platform.c, sys/arch/evbarm/conf EXYNOS

Some changes to bring back exynos4 support and make exynos5 support more
modern/generic

- Provide a exynos_platform_early_putchar based on CONSADDR and remove
  EXYNOS_CONSOLE_EARLY
- Provide devmaps for exynos4 and exynos5
- Simplify exynos_bootstrap
- Update exynos_start.S to use exynos_platform_early_putchar - this
  needs a fix in a9_subr.S for arm_cpuinit to save lr in a callee save
  register and not use ip.  Maybe this change is safe now, but too much
  testing required to commit it now.

NetBSD — lib/libpthread pthread.c

Drop a duplicate instruction line

No functional change intended.
Delta File
+2 -3 lib/libpthread/pthread.c
+2 -3 1 file

NetBSD — sys/arch/xen/xen xpci_xenbus.c

This makes no sense static.  (Can't break unused code anyway!)
Delta File
+3 -3 sys/arch/xen/xen/xpci_xenbus.c
+3 -3 1 file

NetBSD — crypto/external/bsd/openssl/lib/libcrypto crypto.map

Revert previous and do it the way it is supposed to be done.
Thanks to the heads up from rjs@

NetBSD — sys/external/bsd/gnu-efi/dist/inc/aarch64 efibind.h, sys/external/bsd/gnu-efi/dist/inc/arm efibind.h

Use sys/stdint.h instead of stdint.h on NetBSD

NetBSD — crypto/external/bsd/openssl/lib/libcrypto crypto.map

Allow the symbols in the newly added conf_ssl.c to be exposed as globals.

NetBSD — crypto/external/bsd/openssl/lib/libcrypto conf.inc

Add conf_ssl.c to build.

NetBSD — sys/arch/ia64/stand/efi/libefi efinet.c

More fallout from new gnu-efi ... EFI_SIMPLE_NETWORK_PROTOCOL
is now EFI_SIMPLE_NETWORK_PROTOCOL_GUID

NetBSD — doc 3RDPARTY CHANGES

mention acpica 20180810
Delta File
+2 -2 doc/3RDPARTY
+2 -1 doc/CHANGES
+4 -3 2 files

NetBSD — sys/external/bsd/acpica/dist/compiler aslload.c asloptions.c, sys/external/bsd/acpica/dist/debugger dbinput.c dbmethod.c

merge conflicts

NetBSD — external/cddl/osnet/dist/common/zfs zfs_ioctl_compat.c

use the right variables (fix cut-n-pastos)

NetBSD — external/cddl/osnet/dist/uts/common/fs/zfs zfs_fuid.c

make sure rid and idx are initialized.

NetBSD — external/cddl/osnet/dist/uts/common/fs/zfs vdev_label.c

vdev_inuse might not be called and spare_guid contains random stuff.

NetBSD — sys/modules/zfs Makefile.zfsmod

remove NOGCCERROR; hides real issues.
Delta File
+1 -2 sys/modules/zfs/Makefile.zfsmod
+1 -2 1 file

NetBSD — sys/arch/evbarm/exynos genassym.cf

G/C

NetBSD — sys/arch/evbarm/conf TEGRA

Note EARLYCONS in comment
Delta File
+2 -2 sys/arch/evbarm/conf/TEGRA
+2 -2 1 file

NetBSD — sys/arch/evbarm/conf files.evbarm

Fix a bug introduced in the previous revision;
We don't define arm32 anywhere, and majors.aarch64 is used unconditionally.
Delta File
+2 -2 sys/arch/evbarm/conf/files.evbarm
+2 -2 1 file

NetBSD — sys/external/bsd/acpica/dist changes.txt, sys/external/bsd/acpica/dist/common acfileio.c dmtbinfo2.c

----------------------------------------
10 August 2018. Summary of changes for version 20180810:


1) ACPICA kernel-resident subsystem:

Initial ACPI table loading: Attempt to continue loading ACPI tables
regardless of malformed AML. Since migrating table initialization to the
new module-level code support, the AML interpreter rejected tables upon
any ACPI error encountered during table load. This is a problem because
non-serious ACPI errors during table load do not necessarily mean that
the entire definition block (DSDT or SSDT) is invalid. This change
improves the table loading by ignoring some types of errors that can be
generated by incorrect AML. This can range from object type errors, scope
errors, and index errors.

Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs
during suspend/resume. The status of ACPI events is no longer cleared
when entering the ACPI S5 system state (power off) which caused some
systems to power up immediately after turning off power in certain
situations. This was a functional regression. It was fixed by clearing
the status of all ACPI events again when entering S5 (for system-wide
suspend or hibernation the clearing of the status of all events is not
desirable, as it might cause the kernel to miss wakeup events sometimes).
Rafael Wysocki.

    [182 lines not shown]

NetBSD — sys/external/bsd/acpica/dist changes.txt, sys/external/bsd/acpica/dist/common acfileio.c dmtbinfo2.c

----------------------------------------
10 August 2018. Summary of changes for version 20180810:


1) ACPICA kernel-resident subsystem:

Initial ACPI table loading: Attempt to continue loading ACPI tables
regardless of malformed AML. Since migrating table initialization to the
new module-level code support, the AML interpreter rejected tables upon
any ACPI error encountered during table load. This is a problem because
non-serious ACPI errors during table load do not necessarily mean that
the entire definition block (DSDT or SSDT) is invalid. This change
improves the table loading by ignoring some types of errors that can be
generated by incorrect AML. This can range from object type errors, scope
errors, and index errors.

Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs
during suspend/resume. The status of ACPI events is no longer cleared
when entering the ACPI S5 system state (power off) which caused some
systems to power up immediately after turning off power in certain
situations. This was a functional regression. It was fixed by clearing
the status of all ACPI events again when entering S5 (for system-wide
suspend or hibernation the clearing of the status of all events is not
desirable, as it might cause the kernel to miss wakeup events sometimes).
Rafael Wysocki.

    [182 lines not shown]

NetBSD — doc 3RDPARTY CHANGES

OpenSSL 1.1.0i
Delta File
+2 -2 doc/3RDPARTY
+2 -1 doc/CHANGES
+4 -3 2 files

NetBSD — crypto/external/bsd/openssl/dist CHANGES Configure, crypto/external/bsd/openssl/dist/Configurations 90-team.conf

merge conflicts

NetBSD — sys/arch/x86/x86 pmap.c

Simplify the conditions. Fixes compilation of native amd64 without direct
map.
Delta File
+4 -5 sys/arch/x86/x86/pmap.c
+4 -5 1 file

NetBSD — crypto/external/bsd/openssl/dist configdata.pm Makefile, crypto/external/bsd/openssl/dist/Configurations windows-makefile.tmpl 10-main.conf

 Changes between 1.1.0h and 1.1.0i [14 Aug 2018]

  *) Client DoS due to large DH parameter

     During key agreement in a TLS handshake using a DH(E) based ciphersuite a
     malicious server can send a very large prime value to the client. This will
     cause the client to spend an unreasonably long period of time generating a
     key for this prime resulting in a hang until the client has finished. This
     could be exploited in a Denial Of Service attack.

     This issue was reported to OpenSSL on 5th June 2018 by Guido Vranken
     (CVE-2018-0732)
     [Guido Vranken]

  *) Cache timing vulnerability in RSA Key Generation

     The OpenSSL RSA Key generation algorithm has been shown to be vulnerable to
     a cache timing side channel attack. An attacker with sufficient access to
     mount cache timing attacks during the RSA key generation process could
     recover the private key.

     This issue was reported to OpenSSL on 4th April 2018 by Alejandro Cabrera
     Aldaya, Billy Brumley, Cesar Pereida Garcia and Luis Manuel Alvarez Tapia.
     (CVE-2018-0737)
     [Billy Brumley]

    [49 lines not shown]

NetBSD — crypto/external/bsd/openssl/dist CONTRIBUTING .travis.yml, crypto/external/bsd/openssl/dist/Configurations windows-makefile.tmpl 10-main.conf

 Changes between 1.1.0h and 1.1.0i [14 Aug 2018]

  *) Client DoS due to large DH parameter

     During key agreement in a TLS handshake using a DH(E) based ciphersuite a
     malicious server can send a very large prime value to the client. This will
     cause the client to spend an unreasonably long period of time generating a
     key for this prime resulting in a hang until the client has finished. This
     could be exploited in a Denial Of Service attack.

     This issue was reported to OpenSSL on 5th June 2018 by Guido Vranken
     (CVE-2018-0732)
     [Guido Vranken]

  *) Cache timing vulnerability in RSA Key Generation

     The OpenSSL RSA Key generation algorithm has been shown to be vulnerable to
     a cache timing side channel attack. An attacker with sufficient access to
     mount cache timing attacks during the RSA key generation process could
     recover the private key.

     This issue was reported to OpenSSL on 4th April 2018 by Alejandro Cabrera
     Aldaya, Billy Brumley, Cesar Pereida Garcia and Luis Manuel Alvarez Tapia.
     (CVE-2018-0737)
     [Billy Brumley]

    [49 lines not shown]

NetBSD — sys/arch/ia64/stand/ia64/efi main.c

More gnu-efi update fallout ... the symbol EFI_SIMPLE_NETWORK_PROTOCOL
has been replaced with EFI_SIMPLE_NETWORK_PROTOCOL_GUID and the old
one (EFI_SIMPLE_NETWORK_PROTOCOL) is now something completely different.

Adapt...   (should help the ia64 build)

NetBSD — bin/sh mknodenames.sh

In the older debug code (not using the new macros added in the
previous rev) the two values (node name, and node number) were
arbitrarily printed in different formats and orders (depending
upon my mood at the time I guess...)   The new macros will standardise
that usage (in the debug output) once some use of them actually begins.

When the macros were added, I arbitrarily copied the format of one
use I was looking at at that instant (the one which inspired the change),
but after gazing at DEBUG mode output over the intervening time, I
have concluded that I did not pick the easiest to read/follow format.

So, even before they are used, change the style...    Also, conform
to standard PRIxxxx macro style by omitting the leading '%'.

NFC (since they aren't used at all, anywhere, yet, not even the
possibility of anything changing!)
Delta File
+4 -4 bin/sh/mknodenames.sh
+4 -4 1 file

NetBSD — sys/arch/usermode/conf kern.ldscript Makefile.usermode

Start using the kernel ld script.

There are still issues with the .init placement and ./build.sh creating bad
images.

NetBSD — sys/arch/macppc/stand/ofwboot Locore.c

- add some G5-specific setup
- OF_claim() more heap space on G5
With this, and -DHEAP_VARIABLE my G5s boot from harddisk

NetBSD — sys/arch/powerpc/oea ofw_autoconf.c

parse G5 device paths
Delta File
+33 -6 sys/arch/powerpc/oea/ofw_autoconf.c
+33 -6 1 file

NetBSD — sys/arch/evbarm/conf files.exynos

Fix build the easiest way...

Restructure to allow generic builds will come later.
Delta File
+3 -3 sys/arch/evbarm/conf/files.exynos
+3 -3 1 file

NetBSD — sys/arch/amd64/include pmap.h

Remove big outdated comment, remove unused macros, remove XXX that has
nothing to do here, style.
Delta File
+4 -57 sys/arch/amd64/include/pmap.h
+4 -57 1 file

NetBSD — sys/arch/arm/fdt files.fdt

Whitespace
Delta File
+3 -3 sys/arch/arm/fdt/files.fdt
+3 -3 1 file

NetBSD — dist/pf/share/man/man4 pflog.4 pfsync.4, dist/pf/share/man/man5 pf.conf.5 pf.os.5

Add a deprecation note in each of the PF man pages (instead of just pf.4),
so that it's really clear.

NetBSD — usr.sbin/npf/npfctl npf.conf.5

Add the values of "algo" in the grammar, and use # as comment marker for
man-k.org (and others) not to highlight things in an incorrect way.
Delta File
+16 -15 usr.sbin/npf/npfctl/npf.conf.5
+16 -15 1 file

NetBSD — usr.sbin/npf/npfctl npf.conf.5

Add missing quote in static-rule, it causes man-k.org (and other tools)
to wrongly highlight the grammar.
Delta File
+2 -2 usr.sbin/npf/npfctl/npf.conf.5
+2 -2 1 file

NetBSD — usr.sbin/npf/npfctl npf.conf.5

Replace "rproc"->"proc" in the grammar (spotted by he@), and slightly
reword.
Delta File
+3 -3 usr.sbin/npf/npfctl/npf.conf.5
+3 -3 1 file

NetBSD — usr.sbin/npf/npfctl npf.conf.5

Replace () by [] in tcp-flags.

Fix proc-opts, the value is optional, noted by he@.
Delta File
+4 -4 usr.sbin/npf/npfctl/npf.conf.5
+4 -4 1 file

NetBSD — sys/arch/i386/stand/efiboot panic.c

Deal with gnu-efi upgrade - "efilib.h" now provides a prototype
for VPrint() so it is no longer needed here, particularly not a
slightly different prototype.   Fixes the amd64 i386 & ia64 builds.

NetBSD — doc CHANGES

gnu-efi: Import version 3.0.8.
Delta File
+2 -1 doc/CHANGES
+2 -1 1 file

NetBSD — doc 3RDPARTY

gnu-efi 3.0.8 has been imported
Delta File
+2 -2 doc/3RDPARTY
+2 -2 1 file

NetBSD — sys/external/bsd/gnu-efi/dist/lib init.c

No need for private versions of memset/memcpy on NetBSD