mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-07-10 14:23:43 +00:00
把opengrok.ringotek.cn替换为code.dragonos.org.cn (#484)
This commit is contained in:
kernel/src
arch
driver
filesystem
ipc
libs
net
process
syscall
@ -79,7 +79,7 @@ impl Signal {
|
||||
force_send = matches!(siginfo.sig_code(), SigCode::Kernel);
|
||||
} else {
|
||||
// todo: 判断signal是否来自于一个祖先进程的namespace,如果是,则强制发送信号
|
||||
//详见 https://opengrok.ringotek.cn/xref/linux-6.1.9/kernel/signal.c?r=&mo=32170&fi=1220#1226
|
||||
//详见 https://code.dragonos.org.cn/xref/linux-6.1.9/kernel/signal.c?r=&mo=32170&fi=1220#1226
|
||||
}
|
||||
|
||||
if !self.prepare_sianal(pcb.clone(), force_send) {
|
||||
@ -259,7 +259,7 @@ impl Signal {
|
||||
.flush_by_mask(&flush);
|
||||
let _r = ProcessManager::wakeup_stop(&pcb);
|
||||
// TODO 对每个子线程 flush mask
|
||||
// 这里需要补充一段逻辑,详见https://opengrok.ringotek.cn/xref/linux-6.1.9/kernel/signal.c#952
|
||||
// 这里需要补充一段逻辑,详见https://code.dragonos.org.cn/xref/linux-6.1.9/kernel/signal.c#952
|
||||
}
|
||||
|
||||
// 一个被阻塞了的信号肯定是要被处理的
|
||||
|
@ -315,8 +315,8 @@ impl SigInfo {
|
||||
///
|
||||
/// ## 注意
|
||||
///
|
||||
/// 该函数对应Linux中的https://opengrok.ringotek.cn/xref/linux-6.1.9/kernel/signal.c#3323
|
||||
/// Linux还提供了 https://opengrok.ringotek.cn/xref/linux-6.1.9/kernel/signal.c#3383 用来实现
|
||||
/// 该函数对应Linux中的https://code.dragonos.org.cn/xref/linux-6.1.9/kernel/signal.c#3323
|
||||
/// Linux还提供了 https://code.dragonos.org.cn/xref/linux-6.1.9/kernel/signal.c#3383 用来实现
|
||||
/// kernel_siginfo 保存到 用户的 compact_siginfo 的功能,但是我们系统内还暂时没有对这两种
|
||||
/// siginfo做区分,因此暂时不需要第二个函数
|
||||
pub fn copy_siginfo_to_user(&self, to: *mut SigInfo) -> Result<i32, SystemError> {
|
||||
|
Reference in New Issue
Block a user