[Midnightbsd-cvs] [MidnightBSD/src] 9537b2: pam_krb5: Add missing patch

Robert Clausecker noreply at github.com
Fri Jul 28 00:49:30 EDT 2023


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 9537b20c4e5dfb9c4fce5b6a15c5ce575a86e229
      https://github.com/MidnightBSD/src/commit/9537b20c4e5dfb9c4fce5b6a15c5ce575a86e229
  Author: Cy Schubert <cy at FreeBSD.org>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M lib/libpam/modules/pam_krb5/pam_krb5.c

  Log Message:
  -----------
  pam_krb5: Add missing patch

Include a portion of the patch that was missed in 813847e49e35.

Reported by:	markj
Fixes:		813847e49e35

(cherry picked from commit bfa51318dee8afd9307f15e49a6a521938dccd06)


  Commit: a3d20319250c5bdd93e8501f5b46de8b80de9c3d
      https://github.com/MidnightBSD/src/commit/a3d20319250c5bdd93e8501f5b46de8b80de9c3d
  Author: Koichiro Iwao <meta at FreeBSD.org>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M sbin/ifconfig/ifconfig.8

  Log Message:
  -----------
  ifconfig.8: Document limitation of groupname

Approved by:		kp
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D40645

(cherry picked from commit 9aca30d87804b9b9f646f9ef3ad5ae6af81fd40a)


  Commit: 059141ed0c664c69c5e14f060ef50ded828850fb
      https://github.com/MidnightBSD/src/commit/059141ed0c664c69c5e14f060ef50ded828850fb
  Author: Eugene Grosbein <eugen at FreeBSD.org>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M usr.bin/logger/logger.c

  Log Message:
  -----------
  logger(1): MFC: fix timestamps in case of long run

An example:

( echo test; sleep 2; echo test2 ) | logger -h /var/run/log

Before fix, logger assigned same timestamp to both records.

Fixes:		65547fb33db901a9f352aacb0ed45ce68b0bd275
Reported by:	Vadim Goncharov

(cherry picked from commit 83fd35b3f3fa580d2b99874abd1f67ee61dcb659)


  Commit: ad8bc5176a5003f2513a558c7890e558df3db2b7
      https://github.com/MidnightBSD/src/commit/ad8bc5176a5003f2513a558c7890e558df3db2b7
  Author: Eugene Grosbein <eugen at FreeBSD.org>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M lib/libc/gen/syslog.3
    M usr.bin/logger/logger.1

  Log Message:
  -----------
  syslog.3: MFC: document ident[N] format

When libc switched to generation of logs as per RFC 5424,
that change broke application ability to insert specific process id
using ident[N] format, the feature existed for decades.
Some processes rely on it (including logger and syslogd).

Later the regression was fixed but the feature remained undocumented.
This change documents it.

(cherry picked from commit 5aee3e14d4914c7c99bce80da17b3100cb1f4490)


  Commit: 3988f90f5e0acf3903f9d333a1efa914e4ebb236
      https://github.com/MidnightBSD/src/commit/3988f90f5e0acf3903f9d333a1efa914e4ebb236
  Author: Kristof Provost <kp at FreeBSD.org>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M share/man/man4/pf.4

  Log Message:
  -----------
  pf: fix pfi_kif definition in the man page

PR:		272455
Submitted by:	alex at inferiorhumanorgans.com
MFC after:	1 week

(cherry picked from commit 64b30b7aeb6d0dc48d038b3df033328c8d8c3141)


  Commit: 02a2f5c9976a3baafad06623e331ae5043029e90
      https://github.com/MidnightBSD/src/commit/02a2f5c9976a3baafad06623e331ae5043029e90
  Author: Kristof Provost <kp at FreeBSD.org>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M share/man/man4/pf.4

  Log Message:
  -----------
  pf: fix error descriptions in the man page

PR:		272459
Submitted by:	alex at inferiorhumanorgans.com
MFC after:	1 week

(cherry picked from commit df56c8069a4c920392ac9fec0adfcc03d9607abc)


  Commit: d5581c04ef9b30a82d9e16678ca942344fa1f880
      https://github.com/MidnightBSD/src/commit/d5581c04ef9b30a82d9e16678ca942344fa1f880
  Author: Glen Barber <gjb at FreeBSD.org>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M release/Makefile.gce

  Log Message:
  -----------
  release: ensure gce-check-depends installs lang/python{,3}

PR:		272354
Sponsored by:	GoFundMe https://www.gofundme.com/f/gjbbsd
Sponsored by:	PayPal https://paypal.me/gjbbsd

(cherry picked from commit 0ed426276fd52e917506ab87c05a61c6641ae298)


  Commit: ece00e079d99cb43644f95a894e84559804b0378
      https://github.com/MidnightBSD/src/commit/ece00e079d99cb43644f95a894e84559804b0378
  Author: Glen Barber <gjb at FreeBSD.org>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M release/Makefile.gce

  Log Message:
  -----------
  release: follow-up to previous commit to install lang/python{,3}

PR:		272354
Sponsored by:	GoFundMe https://www.gofundme.com/f/gjbbsd
Sponsored by:	PayPal https://paypal.me/gjbbsd

(cherry picked from commit cd8cad0ef5cd534dc7ae1dd9a470cac2057ed957)


  Commit: 4520b2e9a8e54010575d835eda04044ff5a41337
      https://github.com/MidnightBSD/src/commit/4520b2e9a8e54010575d835eda04044ff5a41337
  Author: Glen Barber <gjb at FreeBSD.org>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M release/tools/gce.conf

  Log Message:
  -----------
  release: remove a stray backslash

PR:		272354 (related)
Sponsored by:	GoFundMe https://www.gofundme.com/f/gjbbsd
Sponsored by:	PayPal https://paypal.me/gjbbsd

(cherry picked from commit 510fd83138001b0a6e45b3fa6a7249377f806171)


  Commit: deeba3d02920ab9e55ded356c8798dd462797f9d
      https://github.com/MidnightBSD/src/commit/deeba3d02920ab9e55ded356c8798dd462797f9d
  Author: Glen Barber <gjb at FreeBSD.org>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M release/Makefile.gce

  Log Message:
  -----------
  release: adjust lang/python* dependencies for GCE

The lang/python3 port had failed to properly install because
it did in fact already exist and FORCE_PKG_REGISTER was not
set.  So, behaviorally everything here was correct.  However,
installing lang/python3 is in fact not correct and not needed,
so only install the lang/python port to provide symbolic links.

PR:		272354
Sponsored by:	GoFundMe https://www.gofundme.com/f/gjbbsd
Sponsored by:	PayPal https://paypal.me/gjbbsd

(cherry picked from commit b24c35b326dbd355070335e63d02e7c29ee58bf0)


  Commit: a3aba9b05a8296527eaf4c78038b2d1d7eeb852d
      https://github.com/MidnightBSD/src/commit/a3aba9b05a8296527eaf4c78038b2d1d7eeb852d
  Author: Przemyslaw Lewandowski <przemyslawx.lewandowski at intel.com>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M sys/net/iflib.c

  Log Message:
  -----------
  iflib: Unlock ctx lock around call to ether_ifattach()

Panic occurs during loading driver using kldload. It exists since netlink is
enabled.  There is problem with double locking ctx. This fix allows to call
ether_ifattach() without locked ctx.

Signed-off-by: Eric Joyner <erj at FreeBSD.org>

PR:		271768
Reviewed by:	erj@, jhb@
Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D40557

(cherry picked from commit a52f23f4c49e4766fb9eb0bf460cc83c5f63f17d)


  Commit: 8344cb9c9db308a0cae456b347d61fea738554cd
      https://github.com/MidnightBSD/src/commit/8344cb9c9db308a0cae456b347d61fea738554cd
  Author: Robert Clausecker <fuz at FreeBSD.org>
  Date:   2023-07-28 (Fri, 28 Jul 2023)

  Changed paths:
    M lib/libc/string/bcmp.c

  Log Message:
  -----------
  lib/libc/string/bcmp.c: fix integer overflow bug

bcmp() returned the number of remaining bytes when the main loop exits.
In case of a match, this is zero, else a positive integer.  On systems
where SIZE_MAX > INT_MAX, the implicit conversion from size_t to int in
the return value may cause the number of remaining bytes to overflow,
becoming zero and falsely indicating a successful comparison.

Fix the bug by always returning 0 on equality, 1 otherwise.

PR:		272474
Approved by:	emaste
Reviewed by:	imp
MFC After:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41011

(cherry picked from commit 4da7282a1882fc03c99591c27d44a2e6dfda364b)


Compare: https://github.com/MidnightBSD/src/compare/7b246d334807...8344cb9c9db3


More information about the Midnightbsd-cvs mailing list