From nobody Mon Jan 31 12:58:46 2022 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 BE3A31993482 for ; Mon, 31 Jan 2022 12:58:46 +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 4JnSmk3PWCz4jq7 for ; Mon, 31 Jan 2022 12:58:46 +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 54AD11CAA4 for ; Mon, 31 Jan 2022 12:58:46 +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 20VCwk7T079350 for ; Mon, 31 Jan 2022 12:58:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20VCwk0a079349 for bugs@FreeBSD.org; Mon, 31 Jan 2022 12:58:46 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 261603] sysctl kern.vnode disabled in 2003, can we re-enable now? Date: Mon, 31 Jan 2022 12:58:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: risner@stdio.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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=1643633926; 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=mTQ5BFjnNkhK9eF8feOhDZDa5a9HioI52OMi79osVXY=; b=GTxB5e2PGxVziSM9uq00FDsSwg99093824vTEqN7nWq8k1K1bCRe2K+9bMv7lQMyGVJuAK U5BFCGPkAJVl7bSUP/rI3SdfyHPQ6gKITa7tyuYWD3VrhJGMd6eDq8uZtaZpvaTh3u0Miz DbnFNgf4w+1gApwMm+gk57UnE89ZrQ7l/bGaUEjiP7xTRrgMevEQcOIEfKg0Yg+Q7Fr7Os XzzWzW8yYMCbJwO3waBo8TwAJm7QbLlXhAKQ+ohl6UNaKGxhFYrqUr8P5ZEpxPhOThAeXV AaOZJ5aVL6yPEvFknf632gMfnNp7fzBmKw86vNBvxR7jsFm1TvOG6EFZ2toiIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643633926; a=rsa-sha256; cv=none; b=Q/UYn5bkqn0EWQwn1pc7819SFsHjiRtSXreDkUyLQnEwNtNHxN8JQXUluxIXXY77Ts/H5O QNkwEPEur5KowOcW9OKzu3RfGTox5+T5v36tJAfEqGTc6i4wodi+Ndye9Zj9k7VRu4W+DQ DFWDnuY6t+mfdKO9emZQe7vHndf9cRRkgUONn0kIseq0CLkOktJE7DRYWuivB0QhZXg1mY XwaCWt0TFPZrDIW/yp2PbhTCv8YrdcoRuKAwEvwhlgDORRgJZfFE8fdYaM+p+40XI2S6S7 yu6TnDs9YZZ9Q4sCvszffAMjrddjAtZZS9aaBRARmGOG5g7+nbAVF4PHHBox1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261603 Bug ID: 261603 Summary: sysctl kern.vnode disabled in 2003, can we re-enable now? Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: risner@stdio.com sysctl kern.vnode was disabled in commit: https://github.com/freebsd/freebsd-src/commit/acb18acfec97aa7fe26ff48f80a5c= 3f89c9b542d At the time the concern was with diskless machines and general it may be dangerous in its requirements for locked down memory on large RAM systems. NetBSD and OpenBSD both appear to have kern.vnode from looking at lsof's dialects. So it appears to be safe there in there implementation. Currently the lsof team is waiting on this to be enabled to merge a change = to the FreeBSD dialect to use more ABI calls instead of /dev/kmem reads. That leaves the FreeBSD port of lsof unable to read zfs file's locations. There = may be other ports that are difficult to maintain because this sysctl is disabl= ed. --=20 You are receiving this mail because: You are the assignee for the bug.=