From nobody Mon Dec 13 04:04:04 2021 X-Original-To: bugs@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 1309518D8B6E for ; Mon, 13 Dec 2021 04:04:04 +0000 (UTC) (envelope-from bugzilla-noreply@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 4JC7DM5b91z4mF8 for ; Mon, 13 Dec 2021 04:04:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 A01445F14 for ; Mon, 13 Dec 2021 04:04:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BD443jJ018426 for ; Mon, 13 Dec 2021 04:04:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BD4437Y018425 for bugs@FreeBSD.org; Mon, 13 Dec 2021 04:04:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260375] NFS server truncates directory cookies to 32-bits Date: Mon, 13 Dec 2021 04:04:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639368243; 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=vKm2UEZXpCKw4aWATeKUenik5l/XGNXG3UjOfBzoyH0=; b=odrvX7rmC5ct7/qBt30IQJt1b35NRUffgLiTi1RmajwusQIQHzUyYsFYkVGeLPUXwL0LNR A+u5rGyTgo/TbEGFzv3gArDgVa1VycoEkjmLSiWjsr4dUHr7acwOnA8OZug38a8/zjgmd6 Wgd3oqeALqqgm3cE4qfOTgCJATUW7XFJAJKraLKn+sQq6DACtTFE9LgVXnn/1ddrbPHxql YyEgmBquaGn19alezZOOjxdNJK3MzEnhcBk1dUS7gxAm16E7ZROQe/Gb46z98kthhe0deA 26JgpippYWaPTa1iDoQXzpBCDJfQJvX21pmfKWuJz2dPDabVSZpNkEwkUYDcVg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639368243; a=rsa-sha256; cv=none; b=GUxINX+u86Mrb8FZ5sheHfXc8h14m6rNdjsoAEPImHQXttLCHEuiO+Vwgb5F/NedVPWflI 2PTDRLeE+5/0ZsSQGkMhKcQUMQapQC40DjVe6wBz0MM815YkbP/eTZY0RCdFqNy1H/Lrfv 5KvJAU5RsXKgqn2qi8TQ0WoSQUcR2sf6EH2iePwTVdya18NUNk/25iOPPh031Y+pot4l0J wpK1gfnwyJjeI+DNeCOQXiw/OuQfaNeXRWTFJNSdgmkouuHNSgmGBIcOlmEfQGhWHEr6US 2HsJR3c2vsOpYeqnJ+TJ1Bk15KBdo60kfogeyxmnUmdVq+6CD5ckwmzA7Qly7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260375 --- Comment #2 from Alan Somers --- I don't think that changing the signature of VOP_READDIR is necessary to fix the NFS server. On architectures where u_long is 32-bits, the NFS server w= ill simply 0-extend it to 64-bits before placing it on the wire. OTOH, ever since the ino64 project added a d_off field to struct dirent, I think the cookies array is redundant. We could remove it entirely from VOP_READDIR, and just populate the NFS cookie from d_off. That's 64-bits on all architectures. --=20 You are receiving this mail because: You are the assignee for the bug.=