From nobody Mon Dec 13 03:54:25 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 1DC4E18D6B34 for ; Mon, 13 Dec 2021 03:54:25 +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 4JC71D6mJMz4lYb for ; Mon, 13 Dec 2021 03:54:24 +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 C81175BAA for ; Mon, 13 Dec 2021 03:54:24 +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 1BD3sOXP013130 for ; Mon, 13 Dec 2021 03:54:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BD3sOOF013129 for bugs@FreeBSD.org; Mon, 13 Dec 2021 03:54:24 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 03:54:25 +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: rmacklem@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=1639367665; 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=4tE7QRgGgccorv02/NSAyDak4whMREkXhos5K+kxKsE=; b=wus5FIIzcP8vm4GlDNCUouGpRuBWXk2uhp4WBrTR6GgEzDU0QErmkGA5C8C+q/t2PdF7rJ 13XdlogYiA0Tdwxk8j9bmMZDC9x0FQ7SMSAjfVPLCocd1rupWLimP5aiIeOJBgctXpVR69 dInOSZ7pSX6Z62BJlkhh3nriIXHYQ5nBDt8ORz6YJWxgTkLzhqnYh0bHRkP47kaj0W2GAO Gs3f921EfUVGfF7OXNhP3INSHPr+GhI8SLCx9b6B4uMSW2sAUIrnEOjxtd274NHNWuNyc8 DUKeh+h7jQcefs8FUSFsAFAW5W3Fr6TtGIzXQlzd5pwKfmj6TDMLjMBucpXVug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639367665; a=rsa-sha256; cv=none; b=cn7qpOVZ1sFvoNVf6uZilpTKWPehgkJSJYKeL6+YMKAbMLqjpRe2Sv82qsWNLRJylPIN1K TFvL3fEKLb/HFw+DLKFn1TxFfG3wzhWE1kHpn/EKlRODEHWzrqXgcZow9oPQbFPRikboyu Gj2zMLkIjHm3DPpWqh+qgQ6IWnTXeNP+owqqwUILdzEbkEuzFK6hVvwzRMrvRFd+siZx/W Aq9Ben3SOZe9Qksxfq6P8KaYJPn6TUmL0HhzV4dS7s2I/mtFKWlFjmcYQNw0f0UJraNWEp WQJhe0+ND82AqcOf7FF62foEbZ7DXX4rx+rCb4eXz++ORdjR571Ciwq7+BmvlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260375 --- Comment #1 from Rick Macklem --- The last argument to VOP_READDIR() returns the cookies for a given local file system. The type is "u_long **" and for some architectures u_long is 32bits (I think?). Also, for NFSv2, the directory offset cookie is only 32bits. Admittedly, NFSv2 is not used much any more and it could be 64bits for NFSv3, NFSV4. Maybe VOP_READDIR() should be revised to return a "uint64_t **" cookie list? Do you feel like doing that? It means messing with all the in tree file systems, at least a little bit. --=20 You are receiving this mail because: You are the assignee for the bug.=