mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
ANDROID: Change anon vma name limit from 80 to 256
Android uses vma names of up to 256 characters. Change the max limit for anonymous vma names to support Android legacy use cases. Bug: 120441514 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: Ia0126ab3919281ce4d5c597a43a47de80eadf71a
This commit is contained in:
@@ -2265,7 +2265,7 @@ int __weak arch_prctl_spec_ctrl_set(struct task_struct *t, unsigned long which,
|
||||
|
||||
#ifdef CONFIG_ANON_VMA_NAME
|
||||
|
||||
#define ANON_VMA_NAME_MAX_LEN 80
|
||||
#define ANON_VMA_NAME_MAX_LEN 256
|
||||
#define ANON_VMA_NAME_INVALID_CHARS "\\`$[]"
|
||||
|
||||
static inline bool is_valid_name_char(char ch)
|
||||
|
||||
Reference in New Issue
Block a user