qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: qemu-devel@nongnu.org,  Laurent Vivier <laurent@vivier.eu>
Subject: Re: [PATCH for 7.1] linux-user: fix compat with glibc >= 2.36 sys/mount.h
Date: Sat, 01 Oct 2022 23:34:20 +0200	[thread overview]
Message-ID: <878rlzkz37.fsf@igel.home> (raw)
In-Reply-To: <20220802164134.1851910-1-berrange@redhat.com> ("Daniel P. Berrangé"'s message of "Tue, 2 Aug 2022 12:41:34 -0400")

On Aug 02 2022, Daniel P. Berrangé wrote:

> This patch removes linux/fs.h, meaning we have to define
> various FS_IOC constants that are now unavailable.

This breaks a lot of ioctl emulations, as it lacks their definitions:

#define BLKGETSIZE64                   _IOR(0x12,114,size_t)
#define BLKDISCARD                     _IO(0x12,119)
#define BLKIOMIN                       _IO(0x12,120)
#define BLKIOOPT                       _IO(0x12,121)
#define BLKALIGNOFF                    _IO(0x12,122)
#define BLKPBSZGET                     _IO(0x12,123)
#define BLKDISCARDZEROES               _IO(0x12,124)
#define BLKSECDISCARD                  _IO(0x12,125)
#define BLKROTATIONAL                  _IO(0x12,126)
#define BLKZEROOUT                     _IO(0x12,127)

#define FIBMAP                         _IO(0x00,1)
#define FICLONE                        _IOW(0x94, 9, int)
#define FIGETBSZ                       _IO(0x00,2)

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


  parent reply	other threads:[~2022-10-01 21:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-02 16:41 [PATCH for 7.1] linux-user: fix compat with glibc >= 2.36 sys/mount.h Daniel P. Berrangé
2022-08-02 18:29 ` Richard W.M. Jones
2022-08-02 18:34   ` Richard W.M. Jones
2022-08-02 19:01 ` Peter Maydell
2022-08-03  9:27 ` Daniel P. Berrangé
2022-08-05  7:33   ` Florian Weimer
2022-08-10  9:32 ` Daniel P. Berrangé
2022-08-10 16:37 ` Laurent Vivier
2022-10-01 21:34 ` Andreas Schwab [this message]
2022-10-03  8:31   ` Daniel P. Berrangé
2022-10-04  9:46     ` Daniel P. Berrangé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rlzkz37.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=berrange@redhat.com \
    --cc=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).