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

Lucas Holt noreply at github.com
Thu May 21 10:58:14 EDT 2026


  Branch: refs/heads/stable/4.0
  Home:   https://github.com/MidnightBSD/src
  Commit: 389364f34d215a6cbc8839318b3c570fd28d1dd8
      https://github.com/MidnightBSD/src/commit/389364f34d215a6cbc8839318b3c570fd28d1dd8
  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: 5205d8eb1269a58358276ce8d0f0173b1abfb994
      https://github.com/MidnightBSD/src/commit/5205d8eb1269a58358276ce8d0f0173b1abfb994
  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: 9cb82abb50e55190e94583df13bd3390273eb8c6
      https://github.com/MidnightBSD/src/commit/9cb82abb50e55190e94583df13bd3390273eb8c6
  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: c98d9358b9cd130bdfd4621267dc641f2eb848da
      https://github.com/MidnightBSD/src/commit/c98d9358b9cd130bdfd4621267dc641f2eb848da
  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: e03586e5505db09d1d2f5d117196f6406c769bcb
      https://github.com/MidnightBSD/src/commit/e03586e5505db09d1d2f5d117196f6406c769bcb
  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: 2aabe7c83c03347c51cea389af1af470ca5573ed
      https://github.com/MidnightBSD/src/commit/2aabe7c83c03347c51cea389af1af470ca5573ed
  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: eaf000bc584f0606ba6e4025ec937b5079f8c368
      https://github.com/MidnightBSD/src/commit/eaf000bc584f0606ba6e4025ec937b5079f8c368
  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/ebf9c891ffbd...eaf000bc584f

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