Thread (20 messages) 20 messages, 5 authors, 2021-10-01

Re: [PATCH v9 2/3] mm: add a field to store names for private anonymous memory

From: Kees Cook <hidden>
Date: 2021-10-01 05:19:55
Also in: linux-fsdevel, linux-mm, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help