Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 83340193b991e7a974f117baa86a04db1fd835a9
      
https://github.com/qemu/qemu/commit/83340193b991e7a974f117baa86a04db1fd835a9
  Author: Richard Henderson <[email protected]>
  Date:   2024-07-28 (Sun, 28 Jul 2024)

  Changed paths:
    M target/rx/translate.c

  Log Message:
  -----------
  target/rx: Use target_ulong for address in LI

Using int32_t meant that the address was sign-extended to uint64_t
when passing to translator_ld*, triggering an assert.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2453
Signed-off-by: Richard Henderson <[email protected]>
Tested-by: Thomas Huth <[email protected]>


  Commit: 22531d8cc58f390986e7070eca5d1628aa7b2fe0
      
https://github.com/qemu/qemu/commit/22531d8cc58f390986e7070eca5d1628aa7b2fe0
  Author: Vivian Wang <[email protected]>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M util/getauxval.c

  Log Message:
  -----------
  util/getauxval: Ensure setting errno if not found

Sometimes zero is a valid value for getauxval (e.g. AT_EXECFD). Make
sure that we can distinguish between a valid zero value and a not found
entry by setting errno.

Assumes that getauxval from sys/auxv.h sets errno correctly.

Signed-off-by: Vivian Wang <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 25268a18550323f6babbcc260838fa09941e5c85
      
https://github.com/qemu/qemu/commit/25268a18550323f6babbcc260838fa09941e5c85
  Author: Vivian Wang <[email protected]>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M linux-user/main.c

  Log Message:
  -----------
  linux-user/main: Check errno when getting AT_EXECFD

It's possible for AT_EXECFD to end up with a valid value of 0. Check
errno when using qemu_getauxval instead of return value to handle this
case.

Not handling this case leads to a confusing condition where the
executable ends up as fd 0, i.e. stdin.

Signed-off-by: Vivian Wang <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Fixes: 0b959cf5e4cc ("linux-user: Use qemu_getauxval for AT_EXECFD")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2448
Message-ID: <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 27fca0a0d560ae704457c5f89e0be658afef034d
      
https://github.com/qemu/qemu/commit/27fca0a0d560ae704457c5f89e0be658afef034d
  Author: Brad Smith <[email protected]>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M meson.build
    M util/cpuinfo-aarch64.c
    M util/cpuinfo-ppc.c
    M util/getauxval.c

  Log Message:
  -----------
  util/cpuinfo: Make use of elf_aux_info(3) on OpenBSD

Signed-off-by: Brad Smith <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: d9b019e0a05cbbaa184815dd201b25006950c6d7
      
https://github.com/qemu/qemu/commit/d9b019e0a05cbbaa184815dd201b25006950c6d7
  Author: Fabio D'Urso <[email protected]>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: open_self_stat: Implement num_threads

The num_threads field reports the total number of threads in the
process. In QEMU, this is equal to the number of CPU instances.

Signed-off-by: Fabio D'Urso <[email protected]>
Reviewed-by: Alex BennĂ©e <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>


  Commit: 8617cb073ca9fa5588d7afad5c81b7aa6cd02f26
      
https://github.com/qemu/qemu/commit/8617cb073ca9fa5588d7afad5c81b7aa6cd02f26
  Author: Richard Henderson <[email protected]>
  Date:   2024-07-30 (Tue, 30 Jul 2024)

  Changed paths:
    M linux-user/main.c
    M linux-user/syscall.c
    M meson.build
    M target/rx/translate.c
    M util/cpuinfo-aarch64.c
    M util/cpuinfo-ppc.c
    M util/getauxval.c

  Log Message:
  -----------
  Merge tag 'pull-misc-20240730' of https://gitlab.com/rth7680/qemu into staging

util/getauxval: Ensure setting errno if not found
util/getauxval: Use elf_aux_info on OpenBSD
linux-user: open_self_stat: Implement num_threads
target/rx: Use target_ulong for address in LI

# -----BEGIN PGP SIGNATURE-----
#
# iQFRBAABCgA7FiEEekgeeIaLTbaoWgXAZN846K9+IV8FAmaoPYUdHHJpY2hhcmQu
# aGVuZGVyc29uQGxpbmFyby5vcmcACgkQZN846K9+IV/QoQgAhqVcFGTLW9ozw8cR
# 7DMloHfDbcZTmjQIUvq2WPWCGpUj6mXZXQCM7QAjfGVSa45zOsmRyTRM/If0aZxq
# r0/rQmNVchJ2bjnzz83tu1A+a2+yXLwzzfUdBZ6Jg91vSOrJ0io8CyHSIdtLrFlK
# mV/LQ5viFdhlqk5GO0o/vdAgBgz6rVk4Uwuc/wl88JR5AHk7tRB21XC2ZzhfupBR
# 7QnIru6K1Ltm1sJYxW7qX7DC720iqLeS/LFH67Q2f9eVgejUevoOPmCyOvVmt1kr
# VPwmxKUs46M3qs6zQ2DuPVIgXZof3Xs1C7jcPR6wvXzVcsof3X1Ma70zdVHWXkCN
# XKrTHQ==
# =WadL
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue 30 Jul 2024 11:10:29 AM AEST
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "[email protected]"
# gpg: Good signature from "Richard Henderson <[email protected]>" 
[ultimate]

* tag 'pull-misc-20240730' of https://gitlab.com/rth7680/qemu:
  linux-user: open_self_stat: Implement num_threads
  util/cpuinfo: Make use of elf_aux_info(3) on OpenBSD
  linux-user/main: Check errno when getting AT_EXECFD
  util/getauxval: Ensure setting errno if not found
  target/rx: Use target_ulong for address in LI

Signed-off-by: Richard Henderson <[email protected]>


Compare: https://github.com/qemu/qemu/compare/397c08b82877...8617cb073ca9

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

Reply via email to