qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] d5600f: linux-user: Support F_ADD_SEALS and F


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] d5600f: linux-user: Support F_ADD_SEALS and F_GET_SEALS fc...
Date: Tue, 19 Jan 2021 13:36:40 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: d5600fde16c83902e96bb226bafe8a2aebd807d8
      
https://github.com/qemu/qemu/commit/d5600fde16c83902e96bb226bafe8a2aebd807d8
  Author: Shu-Chun Weng <scw@google.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M linux-user/strace.c
    M linux-user/syscall.c
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  linux-user: Support F_ADD_SEALS and F_GET_SEALS fcntls

Also reorder blocks so that they are all in the same order everywhere.

Signed-off-by: Shu-Chun Weng <scw@google.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20201218193213.3566856-2-scw@google.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: e6cd10f492563e3e261429688fa1591de5607f40
      
https://github.com/qemu/qemu/commit/e6cd10f492563e3e261429688fa1591de5607f40
  Author: Shu-Chun Weng <scw@google.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M linux-user/strace.c
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: add missing UDP get/setsockopt option

SOL_UDP manipulate options at UDP level. All six options currently defined
in linux source include/uapi/linux/udp.h take integer values.

Signed-off-by: Shu-Chun Weng <scw@google.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20201218193213.3566856-3-scw@google.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 75b76438786d1242dffc51e2bdd80670414e4d03
      
https://github.com/qemu/qemu/commit/75b76438786d1242dffc51e2bdd80670414e4d03
  Author: Shu-Chun Weng <scw@google.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: add missing IPv6 get/setsockopt option

IPV6_ADDR_PREFERENCES (RFC5014: Source address selection) was not supported.

Signed-off-by: Shu-Chun Weng <scw@google.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20201218193213.3566856-4-scw@google.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 84c9ebc9704112c381ef2faf9058added7f2a3af
      
https://github.com/qemu/qemu/commit/84c9ebc9704112c381ef2faf9058added7f2a3af
  Author: Shu-Chun Weng <scw@google.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M linux-user/strace.c

  Log Message:
  -----------
  linux-user: Add IPv6 options to do_print_sockopt()

Signed-off-by: Shu-Chun Weng <scw@google.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20201218193213.3566856-5-scw@google.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 07e6a3d4e5160955203b82d7ed0d8f523b6b8963
      
https://github.com/qemu/qemu/commit/07e6a3d4e5160955203b82d7ed0d8f523b6b8963
  Author: Michael Forney <mforney@mforney.org>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M linux-user/alpha/target_fcntl.h
    M linux-user/generic/fcntl.h
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Remove obsolete F_SHLCK and F_EXLCK translation

These lock types are unsupported by Linux since v2.2[0][1] and
always return EINVAL (except on SPARC up until v2.6, which just
warned).

musl libc does not define these constants, so just remove them from
the translation cases.

[0] https://github.com/mpe/linux-fullhistory/blob/v2.2.0/fs/locks.c#L322-L324
[1] https://github.com/mpe/linux-fullhistory/blob/v2.2.0/fs/locks.c#L429-L445

Signed-off-by: Michael Forney <mforney@mforney.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210114223602.9004-1-mforney@mforney.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 2ac4cf2c7903eaea9421aa760b6d534fac906b91
      
https://github.com/qemu/qemu/commit/2ac4cf2c7903eaea9421aa760b6d534fac906b91
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

  Changed paths:
    M linux-user/alpha/target_fcntl.h
    M linux-user/generic/fcntl.h
    M linux-user/strace.c
    M linux-user/syscall.c
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/vivier2/tags/linux-user-for-6.0-pull-request' into staging

linux-user pull request 20210119

Remove obsolete F_SHLCK and F_EXLCK translation
Update sockopt
Add F_ADD_SEALS and F_GET_SEALS

# gpg: Signature made Tue 19 Jan 2021 17:54:12 GMT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" 
[full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/vivier2/tags/linux-user-for-6.0-pull-request:
  linux-user: Remove obsolete F_SHLCK and F_EXLCK translation
  linux-user: Add IPv6 options to do_print_sockopt()
  linux-user: add missing IPv6 get/setsockopt option
  linux-user: add missing UDP get/setsockopt option
  linux-user: Support F_ADD_SEALS and F_GET_SEALS fcntls

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/48202c712412...2ac4cf2c7903



reply via email to

[Prev in Thread] Current Thread [Next in Thread]