From a38ef5ce7dbb509d4f2af23af4b6967efb57f6e5 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 8 Nov 1995 19:39:01 +0000 Subject: Formerly sched.c.~11~ --- pfinet/sched.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pfinet/sched.c b/pfinet/sched.c index ecbffaf2..4f3b33d8 100644 --- a/pfinet/sched.c +++ b/pfinet/sched.c @@ -87,3 +87,14 @@ become_task (struct sock_user *user) current->state = TASK_RUNNING; current->isroot = user->isroot; } + +void +become_task_protid (struct trivfs_protid *protid) +{ + current->pgrp = current->pid = 0; + current->flags = 0; + current->timeout = 0; + current->signal = current->blocked = 0; + current->state = TASK_RUNNING; + current->isroot = protid->isroot; +} -- cgit v1.2.3