summary refs log tree commit diff
path: root/hurd
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-23 00:08:54 +0000
committerMiles Bader <miles@gnu.org>1996-05-23 00:08:54 +0000
commitfe4d0ab794c156374fbde71eb66f019b403fdee4 (patch)
tree2067256a9dcdd6d0984e77df84d66f0bf1153545 /hurd
parentd55dc14f280b4de6ad42bef26c7462436e6e10f4 (diff)
downloadglibc-fe4d0ab794c156374fbde71eb66f019b403fdee4.tar.gz
glibc-fe4d0ab794c156374fbde71eb66f019b403fdee4.tar.xz
glibc-fe4d0ab794c156374fbde71eb66f019b403fdee4.zip
(set_int): Support INIT_TRACEMASK.
Diffstat (limited to 'hurd')
-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;