Searched refs:sighand (Results 1 – 6 of 6) sorted by relevance
28 let r = RefCount::convert_mut(unsafe { &mut (*(current_pcb().sighand)).count }).unwrap(); in process_copy_sighand()40 (*pcb).sighand = sig as *mut sighand_struct as usize in process_copy_sighand()49 spin_lock_irqsave(unsafe { &mut (*current_pcb().sighand).siglock }, &mut flags); in process_copy_sighand()52 for (index, x) in unsafe { (*current_pcb().sighand).action } in process_copy_sighand()67 spin_unlock_irqrestore(unsafe { &mut (*current_pcb().sighand).siglock }, &flags); in process_copy_sighand()114 let sighand = Box::from_raw((*pcb).sighand as *mut sighand_struct); in process_exit_signal() localVariable116 drop(sighand); in process_exit_signal()117 (*pcb).sighand = 0 as *mut crate::include::bindings::bindings::sighand_struct; in process_exit_signal()
34 (*pcb).sighand = &mut INITIAL_SIGHAND as *mut sighand_struct as usize in initial_proc_init_signal()
130 struct sighand_struct *sighand; member
60 ….signal = &INITIAL_SIGNALS, .sighand = &INITIAL_SIGHAND, …
205 let sighand_ptr = sighand_struct::convert_mut(unsafe { &mut *pcb.sighand }); in lock_process_sighand()215 let ret = unsafe { ((*pcb).sighand as *mut sighand_struct).as_mut() }; in lock_process_sighand()224 let lock = unsafe { &mut (*pcb.sighand).siglock }; in unlock_process_sighand()272 assert!(spin_is_locked(unsafe { &(*pcb.sighand).siglock })); in __send_signal_locked()386 sighand_struct::convert_ref(pcb.sighand).unwrap().action[(sig as usize) - 1] in sig_fatal()423 assert!(spin_is_locked(&unsafe { (*pcb.sighand).siglock })); in signal_wake_up_state()481 let sighand: &mut sighand_struct; in get_signal_to_deliver() localVariable484 let _tmp = sighand_struct::convert_mut(current_pcb().sighand); in get_signal_to_deliver()486 sighand = i; in get_signal_to_deliver()492 spin_lock_irq(&mut sighand.siglock); in get_signal_to_deliver()[all …]
173 bugfix: 修复进程退出时未释放signal和sighand && 增加赞赏者名单:David Wen (#93)175 * bugfix: 修复进程退出时未释放signal和sighand的bug185 * fix: exit signal and exit sighand191 new:在fork时拷贝signal和sighand (#91)199 bugfix: 解决拷贝sighand时的uaf问题