lkml.org 
[lkml]   [2021]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v9 2/3] mm: add a field to store names for private anonymous memory
On Thu, Sep 30, 2021 at 08:44:25PM -0700, Suren Baghdasaryan wrote:
> While testing v10 I found one case when () are used in the name
> "dalvik-main space (region space)". So I can add ` and $ to the
> restricted set but not ( and ). Kees, would you be happy with:
>
> static inline bool is_valid_name_char(char ch)
> {
> return ch > 0x1f && ch < 0x7f && !strchr("\\`$[]", ch);
> }
>
> ?

That works for me! :)

--
Kees Cook

\
 
 \ /
  Last update: 2021-10-01 07:19    [W:0.305 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site