aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hurd/hurdexec.c4
-rw-r--r--hurd/hurdmsg.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/hurd/hurdexec.c b/hurd/hurdexec.c
index 4c0d8ae5e5..2b4b0484ae 100644
--- a/hurd/hurdexec.c
+++ b/hurd/hurdexec.c
@@ -85,6 +85,10 @@ _hurd_exec (task_t task, file_t file,
/* We will set these all below. */
break;
+ case INIT_TRACEMASK:
+ ints[i] = _hurdsig_traced;
+ break;
+
default:
ints[i] = 0;
}
diff --git a/hurd/hurdmsg.c b/hurd/hurdmsg.c
index 32d1a5c975..b0b4f3147b 100644
--- a/hurd/hurdmsg.c
+++ b/hurd/hurdmsg.c
@@ -239,6 +239,10 @@ set_int (int which, int value)
}
__spin_unlock (&ss->lock);
return 0;
+
+ case INIT_TRACEMASK:
+ _hurdsig_traced = value;
+ return 0;
}
default:
return EINVAL;