Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109437739
D41007.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
962 B
Referenced Files
None
Subscribers
None
D41007.diff
View Options
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -2059,25 +2059,6 @@
return (error);
}
-/*
- * Send a signal to a process group.
- */
-void
-gsignal(int pgid, int sig, ksiginfo_t *ksi)
-{
- struct pgrp *pgrp;
-
- if (pgid != 0) {
- sx_slock(&proctree_lock);
- pgrp = pgfind(pgid);
- sx_sunlock(&proctree_lock);
- if (pgrp != NULL) {
- pgsignal(pgrp, sig, 0, ksi);
- PGRP_UNLOCK(pgrp);
- }
- }
-}
-
/*
* Send a signal to a process group. If checktty is 1,
* limit to members which have a controlling terminal.
diff --git a/sys/sys/signalvar.h b/sys/sys/signalvar.h
--- a/sys/sys/signalvar.h
+++ b/sys/sys/signalvar.h
@@ -383,7 +383,6 @@
int cursig(struct thread *td);
void execsigs(struct proc *p);
-void gsignal(int pgid, int sig, ksiginfo_t *ksi);
void killproc(struct proc *p, const char *why);
ksiginfo_t *ksiginfo_alloc(int mwait);
void ksiginfo_free(ksiginfo_t *ksi);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 6, 1:40 AM (21 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16484540
Default Alt Text
D41007.diff (962 B)
Attached To
Mode
D41007: signal: Get rid of gsignal() as its not used anywhere
Attached
Detach File
Event Timeline
Log In to Comment