From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751092AbeBQOGq (ORCPT ); Sat, 17 Feb 2018 09:06:46 -0500 Received: from mail-qk0-f193.google.com ([209.85.220.193]:39408 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751002AbeBQOGo (ORCPT ); Sat, 17 Feb 2018 09:06:44 -0500 X-Google-Smtp-Source: AH8x226FZJh6quuM4TLyzplsqy+U+9vVThdyTaSE0VdazKT4HrXY45LToA/iLmJCNQ1whTXbVhsgfFlq5Gv3yiQm+0s= MIME-Version: 1.0 In-Reply-To: <20180217072011.GB16074@avx2> References: <20180217072011.GB16074@avx2> From: Andy Shevchenko Date: Sat, 17 Feb 2018 16:06:42 +0200 Message-ID: Subject: Re: [PATCH 2/2] proc: use set_puts() at /proc/*/wchan To: Alexey Dobriyan Cc: Andrew Morton , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 17, 2018 at 9:20 AM, Alexey Dobriyan wrote: > Signed-off-by: Alexey Dobriyan > - seq_printf(m, "%s", symname); > + seq_puts(m, symname); While this might have no security concerns, the pattern might be brainlessly used by some janitors and there would have security implications. -- With Best Regards, Andy Shevchenko