From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EF9BC2B9F8 for ; Tue, 25 May 2021 10:17:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 104736128D for ; Tue, 25 May 2021 10:17:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231319AbhEYKSq (ORCPT ); Tue, 25 May 2021 06:18:46 -0400 Received: from mx2.suse.de ([195.135.220.15]:46896 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229976AbhEYKSp (ORCPT ); Tue, 25 May 2021 06:18:45 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1621937835; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VnId6KTgtAKRyp960m434sL8GeuKQ0y0o1xplOwof3M=; b=pT23XcvIiWw1vXDF2CGmG9v1Sa5FrdAvFiBme+8HLw1PpGVyxRfRLEcq9OX2nBjoETxbyY 652Kj0xyNK84RA0tP7pMunNbmcx4fx3uTjKQlkUqD84lWPuqawbDBsBnpw8zmoKwP3yfrH RlYx77RH8XimDs4w/L7iCUl9AgiY3pM= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 0CE18AEEE; Tue, 25 May 2021 10:17:15 +0000 (UTC) Date: Tue, 25 May 2021 12:17:14 +0200 From: Petr Mladek To: Chris Down Cc: linux-kernel@vger.kernel.org, Jessica Yu , Sergey Senozhatsky , John Ogness , Steven Rostedt , Greg Kroah-Hartman , Johannes Weiner , Kees Cook , Andy Shevchenko , Rasmus Villemoes , kernel-team@fb.com Subject: Re: [PATCH v6 1/4] string_helpers: Escape double quotes in escape_special Message-ID: References: <56771f7dafd884d8d2ffcf104104a0c2522391d4.1621338324.git.chris@chrisdown.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56771f7dafd884d8d2ffcf104104a0c2522391d4.1621338324.git.chris@chrisdown.name> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 2021-05-18 13:00:32, Chris Down wrote: > >From an abstract point of view, escape_special's counterpart, The first line starts with '<'. I guess that it is a typo ;-) > unescape_special, already handles the unescaping of blackslashed double > quote sequences. Yup. Makes sense. > Signed-off-by: Chris Down > Cc: Andy Shevchenko > Cc: Rasmus Villemoes I agree with Andy that you should double check the existing users and add a note that none is affected. With it, feel free to add: Reviewed-by: Petr Mladek Best Regards, Petr