qemu-commits
[Top][All Lists]
Advanced

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

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


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 2bb963: linux-user: Support F_ADD_SEALS and F_GET_SEALS fc...
Date: Fri, 22 Jan 2021 13:12:09 +0000 (UTC)

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 2bb963ff6b99b39e1593be55e3b5d08a09121b6a
      
https://github.com/qemu/qemu/commit/2bb963ff6b99b39e1593be55e3b5d08a09121b6a
  Author: Shu-Chun Weng <scw@google.com>
  Date:   2021-01-20 (Wed, 20 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: fe51b0a5979e94fd1853996ea0613089f4528340
      
https://github.com/qemu/qemu/commit/fe51b0a5979e94fd1853996ea0613089f4528340
  Author: Shu-Chun Weng <scw@google.com>
  Date:   2021-01-20 (Wed, 20 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: 22db1213899970f2b8b94223e88c7147726ad14e
      
https://github.com/qemu/qemu/commit/22db1213899970f2b8b94223e88c7147726ad14e
  Author: Shu-Chun Weng <scw@google.com>
  Date:   2021-01-20 (Wed, 20 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>
[PMD: Add missing <linux/in6.h> include for IPV6_ADDR_PREFERENCES]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 38987eabb18ad6ba2ef71b19b43d7c869c58f4bb
      
https://github.com/qemu/qemu/commit/38987eabb18ad6ba2ef71b19b43d7c869c58f4bb
  Author: Shu-Chun Weng <scw@google.com>
  Date:   2021-01-21 (Thu, 21 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>
[lv: Add missing <linux/in6.h> include for IPV6_ADDR_PREFERENCES]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: b1d2e476e94cb215d9e19fef1049d413b414ffc2
      
https://github.com/qemu/qemu/commit/b1d2e476e94cb215d9e19fef1049d413b414ffc2
  Author: Michael Forney <mforney@mforney.org>
  Date:   2021-01-21 (Thu, 21 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: 0e32462630687a18039464511bd0447ada5709c3
      
https://github.com/qemu/qemu/commit/0e32462630687a18039464511bd0447ada5709c3
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-01-22 (Fri, 22 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-v3

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

# gpg: Signature made Thu 21 Jan 2021 12:33:04 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/a957d25dde70...0e3246263068



reply via email to

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