mailing list of musl libc
 help / color / mirror / code / Atom feed
From: "alice" <>
To: <>, "Markus Wichmann" <>
Subject: Re: [musl] Re: [BUG] ioctl: overflow in implicit constant conversion
Date: Tue, 21 Feb 2023 17:53:47 +0100	[thread overview]
Message-ID: <CQOEBU9DPEMX.2W4G25KS26RU3@sumire> (raw)
In-Reply-To: <>

On Tue Feb 21, 2023 at 5:42 PM CET, Florian Weimer wrote:
> * Markus Wichmann:
> > So this issue could be resolved by simply making the second argument of
> > the ioctl() function unsigned. Does that create ABI issues?
> POSIX mandates the int type.

it does, but as it has been mentioned, how is one meant to use the _IOC*
thingies then without leading to UB?

at the end of the day, the libc is on linux only, and so if linux does not
use "int" itself for the api, ...

> Thanks,
> Florian

  reply	other threads:[~2023-02-21 16:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-21  5:26 Ralph Little
2023-02-21 16:04 ` Markus Wichmann
2023-02-21 16:42   ` Florian Weimer
2023-02-21 16:53     ` alice [this message]
2023-02-21 16:57   ` Jeffrey Walton
2023-02-21 18:25     ` Ralph Little
2023-02-21 21:28     ` Markus Wichmann
2023-02-22  6:33       ` NRK
2023-02-22  3:17   ` Rich Felker
2023-02-22  4:23     ` Markus Wichmann
2023-02-22 15:53       ` Rich Felker

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:

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

  git send-email \
    --in-reply-to=CQOEBU9DPEMX.2W4G25KS26RU3@sumire \ \ \ \

* 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.
Code repositories for project(s) associated with this public inbox

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).