From nobody Mon Mar 21 14:42:50 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E00A21A2E757; Mon, 21 Mar 2022 14:42:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KMcmB5dSsz4ksb; Mon, 21 Mar 2022 14:42:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647873770; 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; bh=griRkNbkB+4vEPgcfNBtq/C2e77VNLkZwHMAlxtgoBA=; b=PVTg6mwk5NdCN28xoo7TSoXlUkNFMrKVIDLKtZzAfxM+zfdv7CEJXivjkl6NyI4NhJRxar Ptjl+USBGv20A2YY9JWBS8/sKPdR5Y8EigLWtn5LpGLrNyOmUR9+7HTOD9hxFpiSn2iw0i p+ze8SvfYoP9xFlAuBdnjSEXJbw8rJeovmXhdZshBWeLZkrRfHNIdnUeTTts5HE0MjAFCH lsjAJ0TbPHEy6fE1HtpPoT0mkMSxNOk/M2E9icbDnPcPbGty/pmXLM7C9KnN9lH0Pu3b2n zqzLFgAjsP71ymlSwxrCHpK3tmaKJckMWC9Aq/bPpTqspAlJ1KgGmn8YHop2cw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A1FC61D2B4; Mon, 21 Mar 2022 14:42:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22LEgoCB023583; Mon, 21 Mar 2022 14:42:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22LEgopG023582; Mon, 21 Mar 2022 14:42:50 GMT (envelope-from git) Date: Mon, 21 Mar 2022 14:42:50 GMT Message-Id: <202203211442.22LEgopG023582@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 476b3bb0916d - stable/13 - fusefs: Initialize a pad word in the mknod message List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 476b3bb0916d7ada163040b3b3f523e92d608733 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647873770; 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; bh=griRkNbkB+4vEPgcfNBtq/C2e77VNLkZwHMAlxtgoBA=; b=oT+FBzv6tf9Typros+XAs21f2cPUmmhqmM8dyfQ9fU5JN1pMDV+ChULh1241IfEGbDHHqd /KRObt2ZQFhAu8zHmh8m3EW7hIJULrOqmfGN3334xtb2WcgIFpPruZAJ+pjoXJTQenVbUn UDlcOcGZgfU21xybWNWeinHHUUorAdrK/9QpRzs7QpCPq+4G1hXuQCapwKdVwYT3EF7xsh +5KEPRwCNCBPRxX96gBs83x0Q0qfqFEVNdYU5bv1IbTRdnhPBUqPeibs1auSrkHKB2ODe8 Pey7JLLprztJpb4y6plcO7GxjMfjpA7rfjyFuKaZHpirQ4mQmfsFmlAHZwwqDg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647873770; a=rsa-sha256; cv=none; b=HoLPuE/YDeKJ6OvZeb/faIBpPQpB8q0+6FbCM/DdG+4t4pwDIV483RjCGatRp6hbWzMnTE PZfHEkNit7xIMetaec+Q9tpnAu6ENRVXYZX0VhrCHtAS9QAL6XlsMphNe3RxmwdMd+qHsA 369OzHdz0KKC2W9xXKNpmzfupVfq1cBlk1iZsE/cKe0tLJwqhIDPk0rGHRz9Bxi3S9zU8S DGQARxUJdfi6KvVB/crUKOJPMLITED5JfSBMmAfgL/hj1ak6s3XX7E6wwzMa5R7ya6QW+b Fn05rYBVkaCi51tajb6HJ5MTQoJVWImTqmewOlbkRl6kdg5EFxcnko54E1+D3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=476b3bb0916d7ada163040b3b3f523e92d608733 commit 476b3bb0916d7ada163040b3b3f523e92d608733 Author: Mark Johnston AuthorDate: 2022-03-17 22:11:26 +0000 Commit: Mark Johnston CommitDate: 2022-03-21 14:42:39 +0000 fusefs: Initialize a pad word in the mknod message Reported by: Jenkins (KMSAN job) Reviewed by: asomers Sponsored by: The FreeBSD Foundation (cherry picked from commit c0b98fe16f253d6b5693adeb38cdb78cadb5f58d) --- sys/fs/fuse/fuse_internal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/fs/fuse/fuse_internal.c b/sys/fs/fuse/fuse_internal.c index 8862a09d2e6c..3fac41bfaef7 100644 --- a/sys/fs/fuse/fuse_internal.c +++ b/sys/fs/fuse/fuse_internal.c @@ -542,6 +542,7 @@ fuse_internal_mknod(struct vnode *dvp, struct vnode **vpp, if (fuse_libabi_geq(data, 7, 12)) { insize = sizeof(fmni); fmni.umask = curthread->td_proc->p_pd->pd_cmask; + fmni.padding = 0; } else { insize = FUSE_COMPAT_MKNOD_IN_SIZE; }