|
Message-Id: <CQOEBU9DPEMX.2W4G25KS26RU3@sumire> Date: Tue, 21 Feb 2023 17:53:47 +0100 From: "alice" <alice@...ya.dev> To: <musl@...ts.openwall.com>, "Markus Wichmann" <nullplan@....net> Subject: Re: Re: [BUG] ioctl: overflow in implicit constant conversion 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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.