From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13373 invoked from network); 21 Feb 2023 16:54:03 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 21 Feb 2023 16:54:03 -0000 Received: (qmail 5456 invoked by uid 550); 21 Feb 2023 16:54:00 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 5436 invoked from network); 21 Feb 2023 16:54:00 -0000 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ayaya.dev; s=key1; t=1676998428; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yUnUQstXka1PTvB5bnWjOtE1SMWIe3OvbX7PDYT4VzI=; b=jPJRseDayEtRW91YWcoSihLwieK04Ke5Z+G47M4vQ2h0wGMgSVV3pICe9hhIZU8wSQ2irz Hi1poRzTWdZWTRXVm8968VS0THkmkjL9VFmqxAnE6yLn+LYYYUTWkzmO8Hp3RfdSWbze6i MbvUizSacJW8FZWOUrpF4h9bL9PZm+o= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 21 Feb 2023 17:53:47 +0100 Message-Id: To: , "Markus Wichmann" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "alice" References: <99826a90-6658-099e-9df8-d0bba78b8f0f@gmail.com> <20230221160455.GF1903@voyager> <878rgrotr3.fsf@oldenburg.str.redhat.com> In-Reply-To: <878rgrotr3.fsf@oldenburg.str.redhat.com> X-Migadu-Flow: FLOW_OUT Subject: Re: [musl] 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