From nobody Thu Apr 07 00:27:11 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 572C71A91D9B for ; Thu, 7 Apr 2022 00:27:12 +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 4KYhz368rjz4q11 for ; Thu, 7 Apr 2022 00:27:11 +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 7F4E125570 for ; Thu, 7 Apr 2022 00:27:11 +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 2370RBlN003777 for ; Thu, 7 Apr 2022 00:27:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2370RBan003776 for bugs@FreeBSD.org; Thu, 7 Apr 2022 00:27:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263099] vidcontrol(1) -p and -P does not work Date: Thu, 07 Apr 2022 00:27:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress 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=1649291231; 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=cyrqm6sfNIfGMkWAmzRyoYPzqbsBKS/K1YM/cIAYmnM=; b=MNOsu9wmpA0ycK5Xh2oHydk9z9Wij/AUDYqlIOuyCiTbWdGRhdmIXR9AoPd15We6nDj5Uy IuKXUipgtVlrfy4hjEd6YqJNcrvPZy6YTIhdMKJTx1I/NSZj8MfWFA/VkDiF/NbFJ/jov3 +/8ACpI9qan8EXP3FfK2zbCrJ2gOCxvafDf2z952HgQ90u2/1LmtXuzC8fjdBi+/yq/jn1 5ZoXia66FoI0BAwmbFRwtpscbUTRiOpsbOAYCahtJyds9M8vKJAjBF1uPs5ztFtHnBFUTP GWH1knLOGbMIPF/FFjg/F30tEly3c4DN54YDMTwO4yOuleGCGYK7a1yPU2d6Jw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649291231; a=rsa-sha256; cv=none; b=daeAPkuJQBct8KRUgA+IKdeNJ66cbub1n6EVdGY6jP19UWmROgI708/59VC3qzceTk/f/B OCfJK2uLaDZrQCjmZ8Omr4IA73MmVGyCRLc6nDZefkWoMFdL6aIm89IVvBU9IpFy/9KDT+ l6T1rn3y+9PC04XVbhjNeB95mzSyrN8dDMPXzEDChmee2FYj0llxOm3c8bXoZnQ0x7mnAV PrcZW/BlPbhJYQavYx1yX1Q2YmCuyAfCewL9Dtt4m981Vdo822WPk3+CEHxZyiQ05xih0o +vuK4+5pdNlo8+P9mwxPNYx+dxrxBRMpHOQGPQOghym8baLchIvyte0nUY4a2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263099 --- Comment #10 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dc71ae91f1976746b380a8aada8676d7ae= 084fdc5 commit c71ae91f1976746b380a8aada8676d7ae084fdc5 Author: Ed Maste AuthorDate: 2022-04-07 00:19:54 +0000 Commit: Ed Maste CommitDate: 2022-04-07 00:26:43 +0000 vidcontrol: disable p, P, and H when vt(4) is in use These options use the CONS_SCRSHOT ioctl to capture the contents of the current console, which is not yet supported by vt(4). Disable the options when vt(4) is in use rather than emitting a possibly confusing error message. This change should be reverted if CONS_SCRSHOT is implemented for vt(4). PR: 263099 MFC after: 1 week Sponsored by: The FreeBSD Foundation usr.sbin/vidcontrol/vidcontrol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=