prctl: allow to setup brk for et_dyn executables
[linux-2.6-microblaze.git] / kernel / sys.c
index ef1a78f..6ec5092 100644 (file)
@@ -1959,13 +1959,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.
         */