From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id A94A623202 for ; Sun, 18 Feb 2024 03:28:05 +0100 (CET) Received: (qmail 31888 invoked by uid 550); 18 Feb 2024 02:24:06 -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 30651 invoked from network); 18 Feb 2024 02:24:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtone.fr; s=google; t=1708223224; x=1708828024; darn=lists.openwall.com; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=eIoUUCy5DIIk/p5AoiugUI+r0nK6NPAuqirhqf4XGi8=; b=WUGIIiw5vffTLR+2aQKDgeUCjj4diJ7G7YKLxuQdKtNYgw3p3RcxtT/jBw0eErWRjY 1q2Gz1idPezszAj5VB9Q8u5h7PGFz2NRMrQLozQE0jzeh68jZrbfL9GchBrbvqQES4kC KRn3pkuS/pBmn6LVH4ypgAnxLjNPO5iuT1I0E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708223224; x=1708828024; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eIoUUCy5DIIk/p5AoiugUI+r0nK6NPAuqirhqf4XGi8=; b=g7PEddZejDPsUPZyCAhMRZ3jBK1LHylfp1bdeoo+I9PvtQC6TN8b1bhGd1Mxejb/kV P5gUgsL9O1KCudjBsw7HPyUoJzsCqszL0jQ6wulGtag/9OudNN1Unp/bYsNuIB/47nQy 1Buie9Mw3uYRhMrV9MfjeKFg0UrgyLUYMiLADu5inismBsflnhcxJgHIyua9Qjsbb8rY oNNI1ZaZb8KTY6NaZF7OyigJfvdL02/QNOxv7SZzuek4xckOMTqCMHXFjjqMlwKoqIGi JoYEBY3gUMHxau9Qmuf73Vhy/sPaLSdmi1MW71LZEM4etbuWTgrQ8ueikJuF6kDD7U4d 46YA== X-Gm-Message-State: AOJu0YyXYcoh5nM+1F0PYrec+SIJTjOBYC4iPLYxvo4QMuxBeGuZ/Utk CqCeEqKsy93rWcp4o+ZfkoJdJsbHF+m/qBUyHiiyzXWPzl0bpr6jTzvW7ixMx8x6wkq8e7MMrF8 d X-Google-Smtp-Source: AGHT+IG13SlzIVk+QMxZ+wg27ADTh5aVtVOGS79u7uLxT6PSTs+cpdIs9xiMAcYydpLQ6mLSBhttmQ== X-Received: by 2002:a5d:6390:0:b0:33d:3cc8:3713 with SMTP id p16-20020a5d6390000000b0033d3cc83713mr423426wru.15.1708223224346; Sat, 17 Feb 2024 18:27:04 -0800 (PST) From: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= To: musl@lists.openwall.com Cc: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= Date: Sun, 18 Feb 2024 03:26:48 +0100 Message-ID: <20240218022650.1097269-7-gael.portay@rtone.fr> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240218022650.1097269-1-gael.portay@rtone.fr> References: <20240218022650.1097269-1-gael.portay@rtone.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [musl] [PATCH v2 6/8] remove flag argument from fchmodat syscall linux's does not have the flag argument for fchmodat syscall. --- src/stat/fchmodat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stat/fchmodat.c b/src/stat/fchmodat.c index bc581050..41db0c46 100644 --- a/src/stat/fchmodat.c +++ b/src/stat/fchmodat.c @@ -5,7 +5,7 @@ int fchmodat(int fd, const char *path, mode_t mode, int flag) { - if (!flag) return syscall(SYS_fchmodat, fd, path, mode, flag); + if (!flag) return syscall(SYS_fchmodat, fd, path, mode); if (flag != AT_SYMLINK_NOFOLLOW) return __syscall_ret(-EINVAL); -- 2.43.2