This marks all essential tasks as children of startup (or proc?)
With this patch, rumpdisk appears as an essential task but
cat /proc/6/stat
still fails with EIO, and the next patch catches the error by printing a
warning.
---
startup/startup.c | 8
1 file changed, 8 insertion
---
procfs/process.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/procfs/process.c b/procfs/process.c
index 6e4c1515..61e7cde4 100644
--- a/procfs/process.c
+++ b/procfs/process.c
@@ -387,9 +387,12 @@ process_file_get_contents (void *hook, char **contents,
ssize_t *c
Hello yet again,
I'm hitting the following issue when trying to re-set a translator on
a node whose translator has previously died:
$ settrans -acP /tmp/yes ~/dev-yes/hurd/yes
Translator pid: 1039
Pausing...
$ kill 1039
$ settrans -ag /tmp/yes ~/dev-yes/hurd/yes
settrans: /tmp/yes: (os/kern) inva
On Thu, May 6, 2021 at 3:56 PM Sergey Bugaev wrote:
> - newaddr = mmap (0, newsize * sizeof (*p->pagemap),
> - PROT_READ|PROT_WRITE, MAP_ANON, 0, 0);
> + void *newaddr = reallocarray (p->pagemap, off,
> +sizeof (*p->pagemap));
It s