[Midnightbsd-cvs] [MidnightBSD/src] 35d5e2: Remove extraneous tab characters at EOL in various...

Lucas Holt noreply at github.com
Thu May 21 10:55:59 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 35d5e29db882b4c29fe8f46e697313ba9267bf3a
      https://github.com/MidnightBSD/src/commit/35d5e29db882b4c29fe8f46e697313ba9267bf3a
  Author: Dimitry Andric <dim at FreeBSD.org>
  Date:   2026-05-21 (Thu, 21 May 2026)

  Changed paths:
    M sys/powerpc/include/_stdint.h
    M sys/riscv/include/_stdint.h
    M sys/x86/include/_stdint.h

  Log Message:
  -----------
  Remove extraneous tab characters at EOL in various _stdint.h files

MFC after:	3 days

(cherry picked from commit daeab702f9adbbb718ecf48e17de8dd619cfe7b8)


  Commit: 43c74db626f8982a9f4fe922b2ddcaa69c139036
      https://github.com/MidnightBSD/src/commit/43c74db626f8982a9f4fe922b2ddcaa69c139036
  Author: Dimitry Andric <dim at FreeBSD.org>
  Date:   2026-05-21 (Thu, 21 May 2026)

  Changed paths:
    M sys/arm/include/_stdint.h
    M sys/arm64/include/_stdint.h
    M sys/powerpc/include/_stdint.h
    M sys/riscv/include/_stdint.h
    M sys/x86/include/_stdint.h

  Log Message:
  -----------
  Define stdint.h macros unconditionally

Similar to glibc, define all the stdint.h macros such as `SIZE_MAX`,
`UINT64_C`, etc unconditionally. I.e. no longer check whether
`__STDC_CONSTANT_MACROS` or `__STDC_LIMIT_MACROS` are defined. See also
<https://sourceware.org/bugzilla/show_bug.cgi?id=15366>.

This is part of reverting base 00bee6fcd77f, which reverted an upstream
libc++ commit that eliminated libc++'s stdint.h wrapper header.

Submitted by:	Nikolas Klauser <nikolasklauser at berlin.de>
MFC after:	1 week
Reviewed by:	imp
Differential Revision: https://reviews.freebsd.org/D56746

(cherry picked from commit 966fb94cb3575ccd39da211165d0858fd0eb0ef2)


  Commit: ea602c60196b55eaeb5f3043060eb05133c6fb3d
      https://github.com/MidnightBSD/src/commit/ea602c60196b55eaeb5f3043060eb05133c6fb3d
  Author: Ed Maste <emaste at FreeBSD.org>
  Date:   2026-05-21 (Thu, 21 May 2026)

  Changed paths:
    M sys/kern/kern_descrip.c

  Log Message:
  -----------
  sys: Fix heap disclosure in compat7 kern.proc.filedesc sysctl

Reported by: Yuxiang Yang, Yizhou Zhao, Ao Wang, Xuewei Feng, Qi Li, and Ke Xu from Tsinghua University using GLM-5.1 from Z.ai

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56976

(cherry picked from commit e68433e1990d5f1bcc1bdd270d65f1e4792a8e1b)
(cherry picked from commit 0cef1a9ae5ec90b2c4717de9bc33fc7c3b1fd705)
(cherry picked from commit 5e6b16f4555cba4422dde7c63344359019a23722)


  Commit: dfc4785bcd382b827b92b5870e767cd2f00a6fef
      https://github.com/MidnightBSD/src/commit/dfc4785bcd382b827b92b5870e767cd2f00a6fef
  Author: Ed Maste <emaste at FreeBSD.org>
  Date:   2026-05-21 (Thu, 21 May 2026)

  Changed paths:
    M sys/kern/uipc_shm.c

  Log Message:
  -----------
  shm: Zero struct kinfo_file in sysctl handler

Reported by: Calif.io in collaboration with Claude and Anthropic Research
Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55806

(cherry picked from commit 25cc459286a02b646751541ccde5a33319471c73)
(cherry picked from commit 6348a5fd0d4792e752cb714f2a536c3287b8d580)
(cherry picked from commit e61804ae6380c8d1db4b8c43bf7821e5d31ca04e)


  Commit: 894537bc812164482841939363cfd05fbf74452b
      https://github.com/MidnightBSD/src/commit/894537bc812164482841939363cfd05fbf74452b
  Author: Ed Maste <emaste at FreeBSD.org>
  Date:   2026-05-21 (Thu, 21 May 2026)

  Changed paths:
    M sys/compat/freebsd32/freebsd32_misc.c

  Log Message:
  -----------
  compat32: Zero struct to avoid stack disclosure

Reported by:	Adam Crosser, Praetorian
Reviewed by:	philip
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55811

(cherry picked from commit 097cb4e9f0432c543c704cec712ce1cd3302335c)
(cherry picked from commit 4551ea3b3f04650cd5300a9eae8994bdb080db91)
(cherry picked from commit 6a808cd7534802d30010fb0a7f46381ff9f6ef3f)


  Commit: 18b2c0683b58714f667eda1626b3a3543b06a5b7
      https://github.com/MidnightBSD/src/commit/18b2c0683b58714f667eda1626b3a3543b06a5b7
  Author: Ed Maste <emaste at FreeBSD.org>
  Date:   2026-05-21 (Thu, 21 May 2026)

  Changed paths:
    M sys/compat/linux/linux_misc.c

  Log Message:
  -----------
  compat/linux: Avoid waitid() kernel stack disclosure

Reported by:	Adam Crosser, Praetorian
Reviewed by:	philip
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55812

(cherry picked from commit 9a9f93bcf1aa0059d759b2f3ea6faeb2760a11bd)
(cherry picked from commit 9f8db9cc67fb86eeb2b645ce7f8aa748e99241a9)
(cherry picked from commit a347e6e20e75ad6224afefcf650ef738c3de094d)


  Commit: eb5d93a1edee44bb64c72f1e1a838019d064ef23
      https://github.com/MidnightBSD/src/commit/eb5d93a1edee44bb64c72f1e1a838019d064ef23
  Author: Tai-hwa Liang <avatar at FreeBSD.org>
  Date:   2026-05-21 (Thu, 21 May 2026)

  Changed paths:
    M sys/net/if_fwsubr.c

  Log Message:
  -----------
  net: bandaid for plugging a fw_com leak in fwip_detach()

Adding a temporary workaround for plugging a fw_com upon if_fwip unloading.

Steps to reproduce(needs two hosts connected with firewire):

  while true; do
    ifconfig fwip0 10.0.0.5 up
    fwcontrol -r
    ping -c 10.0.0.3
    kldunload if_fwip
  done

There's a chance that the unloading of if_fwip.ko triggers following warning:

	Warning: memory type fw_com leaked memory on destroy (1 allocations, 64 bytes leaked).

commit d79b6b8ec267e7eef6e07cf4245159705e24acd5 (origin/main, origin/HEAD)

(cherry picked from commit 25a5bb7318052322190a2880e0e7ef18e06d54bd)


Compare: https://github.com/MidnightBSD/src/compare/2e08531221ca...eb5d93a1edee

To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list