From patchwork Wed Jul 18 01:02:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Pitre X-Patchwork-Id: 142227 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp219929ljj; Tue, 17 Jul 2018 18:03:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcT3910rJ3cDUkvd1BNk/vVeijHhnb2ijIVkrsNbxCKOELaKqpsQQ98d3H8IvVjYLbo27B2 X-Received: by 2002:a63:6b86:: with SMTP id g128-v6mr3756628pgc.344.1531875780251; Tue, 17 Jul 2018 18:03:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531875780; cv=none; d=google.com; s=arc-20160816; b=IOIM4KHr6SB6mTpuaSyKeXTwNRX8bWyK3bJVSviHAdFsKs1vu85122Hbm/sHjoc9Xb Ii74ZSo8QoYBytcZLb/4nzkuU+pA3jKbuVS572GJYyLuiRYlKpx6yyG5ss30YGA2ayUw /DhWgZRrf8nnzGTvgRtfuCP2v7cGtFdYf7U7uPaKCUBAlQfdlamReoGVWugUBE1dLeF0 5hIfoBMG7pZq/xqM70+S9WCfkiJFrkJB/FXPRujNc6pean4DIcaLBnQ2FOD4UzEZpjT3 SC8HIetHt5na6U4AI9VjR+3K9NVK13ToNjktBgqHoeTLkJFazUyJ5RwfbKWS944zzmIc Sz5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=Bfjl2cJK4wzy0ZfeNbNdLsELHWe7WDX+9ZwwHR5mb7c=; b=ollMEvS59DV22c3LFBbtnRawZnkVgd93Oypeb6GxTDjpjV6TRUjS8bWkjTuv2SqwJL lfsanYgQaeNM9hKoC4ignPS5nF2RbL8KGeVNr+Izla5LzMrFDuQIChkhEfss395+/W0Q OHzcyk/YtIx4vztPgbZ9uCUMUmO2MEUKU0KHHSlnMqEPRn03i05gN27/3f3+8Ir0JE+3 9Jgdwb07iDJvbxaCplmZ4OfCU/MAiV0evPl5KOB0CzY3HkPnavDNtyesha3vCfDDUitM VXH0Ot7yzvMB0qtTBhkmYHsEP495+sQvuQIdw+BbP1U/9ml2HCG1MWCzsvaKf6c8BxW7 AlZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=Qut8+Nmq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a18-v6si2205807pfc.106.2018.07.17.18.03.00; Tue, 17 Jul 2018 18:03:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=Qut8+Nmq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731640AbeGRBiE (ORCPT + 31 others); Tue, 17 Jul 2018 21:38:04 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:57608 "EHLO pb-smtp1.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731096AbeGRBiD (ORCPT ); Tue, 17 Jul 2018 21:38:03 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id D9254EDF47; Tue, 17 Jul 2018 21:02:46 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id; s=sasl; bh=Rbka8ryH74ZZL1F+agpjxcFWEp8 =; b=Qut8+Nmq4iD6BsVh5LU9uNR7+f5sgKePmjimk3L4J1SMYB0yYuW88xyidwY 6ZZWXcYuu+l+A1EjgfyM8QL3ugOO/J8gWB/+CX8pSMOq7s8RVen/8Yez9323ikyx rITm0nteP6zU+feUARMRQI6wVhX0pS1xyYau2yL/TYB35GZc= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id CFAEDEDF41; Tue, 17 Jul 2018 21:02:45 -0400 (EDT) Received: from yoda.home (unknown [70.82.104.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 481B9EDF3E; Tue, 17 Jul 2018 21:02:45 -0400 (EDT) Received: from xanadu.home (xanadu.home [192.168.2.2]) by yoda.home (Postfix) with ESMTP id 3A4EC2DA03AA; Tue, 17 Jul 2018 21:02:44 -0400 (EDT) From: Nicolas Pitre To: Greg Kroah-Hartman Cc: Kees Cook , Geert Uytterhoeven , Adam Borowski , Dave Mielke , Samuel Thibault , linux-kernel@vger.kernel.org, linux-console@vger.kernel.org Subject: [PATCH 0/3] follow-up to the unicode vt console series Date: Tue, 17 Jul 2018 21:02:39 -0400 Message-Id: <20180718010242.5254-1-nicolas.pitre@linaro.org> X-Mailer: git-send-email 2.17.1 X-Pobox-Relay-ID: 47D36E7C-8A26-11E8-BA1F-063AD72159A7-78420484!pb-smtp1.pobox.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a follow-up series with 3 patches in response to the following messages respectively: http://lkml.kernel.org/r/20180628123803.GA22045@kroah.com http://lkml.kernel.org/r/CAGXu5j+KLvJ-n_QRrfq15E8iO_rqfpp+K7PDAZHZMHcemy9y7g@mail.gmail.com http://lkml.kernel.org/r/CAMuHMdUmC+uiKTEMotB83A86E1wEYrNF2qPf3kDACaW27D_NbA@mail.gmail.com Those patches were tested on top of previous patches already in tty-next. Please include in tty-next before next merge window. Patch #1 was posted before. Only difference is that it now uses rate limited printing. Patch #2 is new, however it has been tested with the validation code provided by patch #1. This also fixes a security issue. Patch #3 is new and trivial. Diffstat: Documentation/admin-guide/devices.txt | 16 +++++--- drivers/tty/vt/vt.c | 57 +++++++++++++++++++++++++---- 2 files changed, 59 insertions(+), 14 deletions(-)