Remove patch leftovers.

This commit is contained in:
Cristiano Giuffrida 2010-07-13 22:40:14 +00:00
parent e41c0b1a2d
commit 20101b3bab
2 changed files with 8 additions and 2 deletions

View file

@ -120,8 +120,6 @@ PUBLIC int main(void)
priv(rp)->s_sig_mgr = SRV_SM; /* signal manager */
rp->p_priority = SRV_Q; /* priority queue */
rp->p_quantum_size_ms = SRV_QT; /* quantum size */
rp->p_priority = SRV_Q; /* priority queue */
rp->p_quantum_size_ms = SRV_QT; /* quantum size */
}
/* Priviliges for ordinary process. */
else {

View file

@ -41,6 +41,7 @@ PUBLIC int do_update(struct proc * caller, message * m_ptr)
struct proc orig_dst_proc;
struct priv orig_src_priv;
struct priv orig_dst_priv;
int i;
/* Lookup slots for source and destination process. */
src_e = m_ptr->SYS_UPD_SRC_ENDPT;
@ -78,6 +79,13 @@ PUBLIC int do_update(struct proc * caller, message * m_ptr)
printf("do_update: curr ptproc %d\n", ptproc->p_endpoint);
#endif
/* Let destination inherit the target mask from source. */
for (i=0; i < NR_SYS_PROCS; i++) {
if (get_sys_bit(priv(src_rp)->s_ipc_to, i)) {
set_sendto_bit(dst_rp, i);
}
}
/* Save existing data. */
orig_src_proc = *src_rp;
orig_src_priv = *(priv(src_rp));