Messages in this thread | | | Date | Thu, 30 Sep 2021 22:19:50 -0700 | From | Kees Cook <> | Subject | Re: [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
| |