diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sys.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index 3459a5ce0da0..b075fe84eb5a 100644 --- a/kernel/sys.c +++ b/kernel/sys.c @@ -1928,13 +1928,6 @@ static int validate_prctl_map_addr(struct prctl_mm_map *prctl_map) error = -EINVAL; /* - * @brk should be after @end_data in traditional maps. - */ - if (prctl_map->start_brk <= prctl_map->end_data || - prctl_map->brk <= prctl_map->end_data) - goto out; - - /* * Neither we should allow to override limits if they set. */ if (check_data_rlimit(rlimit(RLIMIT_DATA), prctl_map->brk, |