Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp540685rdb; Tue, 5 Dec 2023 12:16:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9Vurmv2MxwX+d8npRaCiXtT4J4Pf5XiGrNfA9eGuikgoKaP1xId9JvvaNKxwcyt46XM3V X-Received: by 2002:a17:902:ce81:b0:1d0:b503:2edd with SMTP id f1-20020a170902ce8100b001d0b5032eddmr2560153plg.8.1701807371780; Tue, 05 Dec 2023 12:16:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701807371; cv=none; d=google.com; s=arc-20160816; b=eVyJPgE7x9DfQytEMIlo5R9NjihcjucM8zGCH+KkKxfQ8fu311/VOsaWsizSokTZG2 WVqtPMfn57lpdQPN33quy9I99cXvSiZa/4TtwRmocEGyVdDzrXBvQAncUqK5QDB337xX ekxIGbv/1CYxml102oLP9vslGc1P6D1zwwekrNMDNKywzXKQRsSRZk68P42GvZdTlF6c Lscq88IkIcSMnMXzwo1aJ9ybbaV6Rdo/LuqhxHrkUhTTY4k+80qEErTdl1NKVDzj2PYB qBDa9j42+6VQyP4QibiQyEo59RAgS+wUHVcK45i+fJ12VRnrSophPhCM3s35uvF/TPj9 oDCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=JYJV+vJFPi4u6/HXMeBXKT0zJbN4Ub2RusefKxxI5aE=; fh=gn6RKZlpEM/kRAUfbGZsk8BiPZJrUdE6ZucvUqxsfcQ=; b=E1J15n+fLwry9y/ID4QudLLhX1+D03dfxRxF8e0EJqU265e4EEYVKinC4RkddFnHQO PCL4ds4YmUXyC39S0eelOLNMyAofiutUWLcNLImNSaXZm9w5X8Iwat9EwHimDIoMega5 Ssg/HZkSHqPC+qHEdjV+JbQAb/FagbQxCGIv/FvJsL9hH0SRf7PLP+DP1HQ5+1wdBnC3 gU5SLUKeEK4LC0bIA+4423Ypas8NidgVKsGUmF2Qzn/bmXTerfbYb8kKzbMAZr32d2uv DSXlYcAK4MN5J7HDR9YTDiSeY41lwcejI0saucxGBSyNJmriQhCf3uza9Ufvkfq9uH/6 Z1FA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs+bounces-341-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-341-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i6-20020a17090332c600b001cfdf121cf8si4651580plr.283.2023.12.05.12.16.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 12:16:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-341-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs+bounces-341-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-341-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id AE2F0B20E6A for ; Tue, 5 Dec 2023 20:16:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 43C026DCF7; Tue, 5 Dec 2023 20:16:06 +0000 (UTC) X-Original-To: linux-nfs@vger.kernel.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11C9C183 for ; Tue, 5 Dec 2023 12:16:01 -0800 (PST) Received: from imap2.dmz-prg2.suse.org (imap2.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id DED1A21FA2; Tue, 5 Dec 2023 20:15:59 +0000 (UTC) Received: from imap2.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap2.dmz-prg2.suse.org (Postfix) with ESMTPS id 6129C13924; Tue, 5 Dec 2023 20:15:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap2.dmz-prg2.suse.org with ESMTPSA id cOkwEf+Eb2VjcAAAn2gu4w (envelope-from ); Tue, 05 Dec 2023 20:15:59 +0000 From: Petr Vorel To: linux-nfs@vger.kernel.org Cc: Petr Vorel , Steve Dickson Subject: [PATCH 1/1] reexport/{fsidd,reexport}.c: Add missing Date: Tue, 5 Dec 2023 21:15:55 +0100 Message-ID: <20231205201556.5477-1-pvorel@suse.cz> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 4.96 X-Spamd-Result: default: False [4.96 / 50.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[suse.cz]; BROKEN_CONTENT_TYPE(1.50)[]; TO_DN_SOME(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.07)[0.022]; MX_GOOD(-0.01)[]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.00)[19.79%] X-Spamd-Bar: ++++ X-Rspamd-Server: rspamd1 Authentication-Results: smtp-out1.suse.de; dkim=none; dmarc=none; spf=softfail (smtp-out1.suse.de: 2a07:de40:b281:104:10:150:64:98 is neither permitted nor denied by domain of pvorel@suse.cz) smtp.mailfrom=pvorel@suse.cz X-Rspamd-Queue-Id: DED1A21FA2 uClibc-ng requires this header for close(2), unlink(2) and write(2). Fixes: 1a4edb2a ("reexport/fsidd.c: Remove unused headers") Fixes: bdc79f02 ("support/reexport.c: Remove unused headers") Signed-off-by: Petr Vorel --- Hi Steve, I'm sorry to introduce a regression. Here is a fix, tested on glibc, musl and uClibc-ng. support/reexport/fsidd.c | 1 + support/reexport/reexport.c | 1 + 2 files changed, 2 insertions(+) diff --git a/support/reexport/fsidd.c b/support/reexport/fsidd.c index 8a70b78f..307e73e5 100644 --- a/support/reexport/fsidd.c +++ b/support/reexport/fsidd.c @@ -7,6 +7,7 @@ #include #endif #include +#include #include "conffile.h" #include "reexport_backend.h" diff --git a/support/reexport/reexport.c b/support/reexport/reexport.c index 0fb49a46..c7bff6a3 100644 --- a/support/reexport/reexport.c +++ b/support/reexport/reexport.c @@ -7,6 +7,7 @@ #endif #include #include +#include #include #include "nfsd_path.h" -- 2.43.0