Received: by mail.netbsd.org (Postfix, from userid 605) id 70D5284EF5; Sun, 18 Jul 2021 23:57:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A3A5484EF4 for ; Sun, 18 Jul 2021 23:57:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id aq7C0jsKlHk3 for ; Sun, 18 Jul 2021 23:57:34 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 3C97D84D44 for ; Sun, 18 Jul 2021 23:57:34 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 39FB8FA95; Sun, 18 Jul 2021 23:57:34 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 18 Jul 2021 23:57:34 +0000 From: "David A. Holland" Subject: CVS commit: src/sys/fs/ptyfs To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210718235734.39FB8FA95@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "David A. Holland" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: dholland Date: Sun Jul 18 23:57:34 UTC 2021 Modified Files: src/sys/fs/ptyfs: ptyfs_vnops.c Log Message: Fix ptyfs link and symlink ops. They were set (via macro obfuscation just eliminated) to genfs_abortop, which is the wrong thing. These code paths are currently inaccessible because of EROFS enforcement in namei, but if either were reached odd behavior would likely ensue. Use genfs_eopnotsupp like the rest of the ops that don't make sense here. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/fs/ptyfs/ptyfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.