12345678910111213141516171819 |
- diff -Nur linux-6.6.22.orig/fs/binfmt_flat.c linux-6.6.22/fs/binfmt_flat.c
- --- linux-6.6.22.orig/fs/binfmt_flat.c 2024-03-15 19:25:07.000000000 +0100
- +++ linux-6.6.22/fs/binfmt_flat.c 2024-04-17 15:41:29.292461687 +0200
- @@ -879,6 +879,7 @@
- if (res < 0)
- return res;
-
- +#ifndef CONFIG_BINFMT_FLAT_NO_DATA_START_OFFSET
- /* Update data segment pointers for all libraries */
- for (i = 0; i < MAX_SHARED_LIBS; i++) {
- if (!libinfo.lib_list[i].loaded)
- @@ -893,6 +894,7 @@
- return -EFAULT;
- }
- }
- +#endif
-
- set_binfmt(&flat_format);
-
|