This prevents load_section from mapping any sections to page zero.
* exec/exec.c (do_exec): Redzone page zero before loading anything.
---
exec/exec.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/exec/exec.c b/exec/exec.c
index 2fc1e44..0ecf2d3 100644
--- a/exec/exec.c
+++ b/ex
* hurd/lookup-retry.c: Handle `proc/self' magical lookup
retry.
---
hurd/lookup-retry.c | 38 ++
1 file changed, 38 insertions(+)
diff --git a/hurd/lookup-retry.c b/hurd/lookup-retry.c
index f633e57..b18ad3b 100644
--- a/hurd/lookup-retry.c
+++
And here the corresponding glibc patch.
* hurd/hurd_types.h: Document the magic retry string `proc/self'.
* hurd/paths.h (_HURD_MAGIC): New macro.
* procfs/main.c: Remove all code related to faking /proc/self.
* procfs/main.h: Likewise.
* procfs/rootdir.c: Likewise. Instead, return the magic retry
response `proc/self' for the `self' nod
* procfs/rootdir.c: Move the translator linkage code to the
appropriate location.
---
procfs/rootdir.c | 153 ---
1 file changed, 77 insertions(+), 76 deletions(-)
diff --git a/procfs/rootdir.c b/procfs/rootdir.c
index a04fb3e..d68645e 100644
--
Fixes https://savannah.gnu.org/bugs/?32770 .
* procfs/process.c (process_file_gc_maps): New function.
(entries): Use the new function to implement /proc/N/maps.
---
procfs/process.c | 104 ++-
1 file changed, 103 insertions(+), 1 deletion(-)
di
Generalize the translator linkage code previously introduced for the
`mounts' node.
* procfs/rootdir.c (struct procfs_translated_node_ops): New
specialized node operations structure for translated nodes.
(rootdir_mounts_make_node): Generalize and rename to
rootdir_make_translated_node. Also, pass
* procfs/rootdir.c (rootdir_gc_filesystems): New function.
(rootdir_entries): Use the new function to implement /proc/filesystems.
---
procfs/rootdir.c | 61 +++-
1 file changed, 60 insertions(+), 1 deletion(-)
diff --git a/procfs/rootdir.c b/pr
Now that procfs is merged into the Hurd repository we can just assume
that the mtab translator exists.
* procfs/rootdir.c (rootdir_mounts_exists): Drop function.
(rootdir_entries): Adjust accordingly.
---
procfs/rootdir.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/procfs/rootd
* procfs/process.c (process_gc_mounts): New function.
(process_symlink_make_node): Likewise.
(entries): Use the new functions to provide a symlink to ../mounts.
---
procfs/process.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/procfs/process.c b/procfs/process.c
10 matches
Mail list logo