Remove patch leftovers.
This commit is contained in:
parent
e41c0b1a2d
commit
20101b3bab
@ -120,8 +120,6 @@ PUBLIC int main(void)
|
|||||||
priv(rp)->s_sig_mgr = SRV_SM; /* signal manager */
|
priv(rp)->s_sig_mgr = SRV_SM; /* signal manager */
|
||||||
rp->p_priority = SRV_Q; /* priority queue */
|
rp->p_priority = SRV_Q; /* priority queue */
|
||||||
rp->p_quantum_size_ms = SRV_QT; /* quantum size */
|
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. */
|
/* Priviliges for ordinary process. */
|
||||||
else {
|
else {
|
||||||
|
@ -41,6 +41,7 @@ PUBLIC int do_update(struct proc * caller, message * m_ptr)
|
|||||||
struct proc orig_dst_proc;
|
struct proc orig_dst_proc;
|
||||||
struct priv orig_src_priv;
|
struct priv orig_src_priv;
|
||||||
struct priv orig_dst_priv;
|
struct priv orig_dst_priv;
|
||||||
|
int i;
|
||||||
|
|
||||||
/* Lookup slots for source and destination process. */
|
/* Lookup slots for source and destination process. */
|
||||||
src_e = m_ptr->SYS_UPD_SRC_ENDPT;
|
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);
|
printf("do_update: curr ptproc %d\n", ptproc->p_endpoint);
|
||||||
#endif
|
#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. */
|
/* Save existing data. */
|
||||||
orig_src_proc = *src_rp;
|
orig_src_proc = *src_rp;
|
||||||
orig_src_priv = *(priv(src_rp));
|
orig_src_priv = *(priv(src_rp));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user