Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2023 14:24:11 GMT
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 24d41b6c95f9 - stable/13 - signal: Remove gsignal references from manuals
Message-ID:  <202308071424.377EOBhZ025762@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=24d41b6c95f90dffe55b65875e840452c8655caf

commit 24d41b6c95f90dffe55b65875e840452c8655caf
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-07-13 21:15:47 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-08-07 14:22:55 +0000

    signal: Remove gsignal references from manuals
    
    Reported by:            Mina Galić, mhorne
    Reviewed by:            Mina Galić, mhorne
    Differential Revision:  https://reviews.freebsd.org/D41020
    MFC after:              1 week
    
    (cherry picked from commit c3f58005d92e5ac189e7dcb2d6d868ed5a0f27fa)
---
 ObsoleteFiles.inc        |  3 +++
 share/man/man9/Makefile  |  3 +--
 share/man/man9/psignal.9 | 23 +----------------------
 share/man/man9/signal.9  |  3 +--
 4 files changed, 6 insertions(+), 26 deletions(-)

diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 4c0fca28c4bf..aa51b59e6a54 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -62,6 +62,9 @@ OLD_FILES+=usr/share/man/man4/meteor.4.gz
 # 20230806: remove bt(4) man page
 OLD_FILES+=usr/share/man/man4/bt.4.gz
 
+# 20230714: gsignal
+OLD_FILES+=/usr/share/man/man9/gsignal.9.gz
+
 # 20230622: new clang import which bumps version from 15.0.7 to 16.0.1
 OLD_FILES+=usr/lib/clang/15.0.7/include/__clang_cuda_builtin_vars.h
 OLD_FILES+=usr/lib/clang/15.0.7/include/__clang_cuda_cmath.h
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index f9ace3802494..414a00fbf1f3 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1825,8 +1825,7 @@ MLINKS+=prng.9 prng32.9 \
 	prng.9 prng64_bounded.9
 MLINKS+=proc_rwmem.9 proc_readmem.9 \
 	proc_rwmem.9 proc_writemem.9
-MLINKS+=psignal.9 gsignal.9 \
-	psignal.9 pgsignal.9 \
+MLINKS+=psignal.9 pgsignal.9 \
 	psignal.9 tdsignal.9
 MLINKS+=pwmbus.9 pwm.9
 MLINKS+=random.9 arc4rand.9 \
diff --git a/share/man/man9/psignal.9 b/share/man/man9/psignal.9
index aa170322e7cf..936f47f930e7 100644
--- a/share/man/man9/psignal.9
+++ b/share/man/man9/psignal.9
@@ -28,14 +28,13 @@
 .\"	$NetBSD: psignal.9,v 1.1 1996/06/22 22:57:35 pk Exp $
 .\" $FreeBSD$
 .\"
-.Dd October 8, 2011
+.Dd July 14, 2023
 .Dt PSIGNAL 9
 .Os
 .Sh NAME
 .Nm psignal ,
 .Nm kern_psignal ,
 .Nm pgsignal ,
-.Nm gsignal ,
 .Nm tdsignal
 .Nd post signal to a thread, process, or process group
 .Sh SYNOPSIS
@@ -46,8 +45,6 @@
 .Ft void
 .Fn pgsignal "struct pgrp *pgrp" "int signum" "int checkctty"
 .Ft void
-.Fn gsignal "int pgid" "int signum"
-.Ft void
 .Fn tdsignal "struct thread *td" "int signum"
 .Sh DESCRIPTION
 These functions post a signal to a thread or one or more processes.
@@ -129,24 +126,6 @@ is
 no action is taken.
 .Pp
 The
-.Fn gsignal
-function posts signal number
-.Fa signum
-to each member of the process group identified by the group id
-.Fa pgid .
-.Fn gsignal
-first finds the group structure associated with
-.Fa pgid ,
-then invokes
-.Fn pgsignal
-with the argument
-.Fa checkctty
-set to zero.
-If
-.Fa pgid
-is zero no action is taken.
-.Pp
-The
 .Fn tdsignal
 function posts signal number
 .Fa signum
diff --git a/share/man/man9/signal.9 b/share/man/man9/signal.9
index a2e54fef012d..d6906f359c18 100644
--- a/share/man/man9/signal.9
+++ b/share/man/man9/signal.9
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd June 8, 2013
+.Dd July 14, 2023
 .Dt SIGNAL 9
 .Os
 .Sh NAME
@@ -430,7 +430,6 @@ function returns either a valid signal number or zero.
 .Fn issignal
 returns either a valid signal number or zero.
 .Sh SEE ALSO
-.Xr gsignal 9 ,
 .Xr pgsignal 9 ,
 .Xr psignal 9
 .Sh AUTHORS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308071424.377EOBhZ025762>