git: 59a1db5be6ee - main - Fix dead refs to pam(8) with pam(3) as well as some other PAM functions.

From: Jens Schweikhardt <schweikh_at_FreeBSD.org>
Date: Fri, 16 Sep 2022 17:33:35 UTC
The branch main has been updated by schweikh:

URL: https://cgit.FreeBSD.org/src/commit/?id=59a1db5be6ee1c47c87ec23e1d2c4b5b08e05408

commit 59a1db5be6ee1c47c87ec23e1d2c4b5b08e05408
Author:     Jens Schweikhardt <schweikh@FreeBSD.org>
AuthorDate: 2022-09-16 17:32:11 +0000
Commit:     Jens Schweikhardt <schweikh@FreeBSD.org>
CommitDate: 2022-09-16 17:33:30 +0000

    Fix dead refs to pam(8) with pam(3) as well as some other PAM functions.
---
 lib/libpam/modules/pam_chroot/pam_chroot.8         |  2 +-
 lib/libpam/modules/pam_deny/pam_deny.8             |  2 +-
 lib/libpam/modules/pam_echo/pam_echo.8             |  2 +-
 lib/libpam/modules/pam_exec/pam_exec.8             | 14 +++++++-------
 lib/libpam/modules/pam_ftpusers/pam_ftpusers.8     |  2 +-
 lib/libpam/modules/pam_group/pam_group.8           |  2 +-
 lib/libpam/modules/pam_guest/pam_guest.8           |  2 +-
 lib/libpam/modules/pam_krb5/pam_krb5.8             |  2 +-
 lib/libpam/modules/pam_ksu/pam_ksu.8               |  2 +-
 lib/libpam/modules/pam_lastlog/pam_lastlog.8       |  6 +++---
 lib/libpam/modules/pam_nologin/pam_nologin.8       |  2 +-
 lib/libpam/modules/pam_opie/pam_opie.8             |  2 +-
 lib/libpam/modules/pam_opieaccess/pam_opieaccess.8 |  2 +-
 lib/libpam/modules/pam_passwdqc/pam_passwdqc.8     |  2 +-
 lib/libpam/modules/pam_permit/pam_permit.8         |  2 +-
 lib/libpam/modules/pam_radius/pam_radius.8         |  2 +-
 lib/libpam/modules/pam_rhosts/pam_rhosts.8         |  2 +-
 lib/libpam/modules/pam_rootok/pam_rootok.8         |  2 +-
 lib/libpam/modules/pam_securetty/pam_securetty.8   |  2 +-
 lib/libpam/modules/pam_self/pam_self.8             |  2 +-
 lib/libpam/modules/pam_ssh/pam_ssh.8               |  2 +-
 lib/libpam/modules/pam_tacplus/pam_tacplus.8       |  2 +-
 lib/libpam/modules/pam_unix/pam_unix.8             |  2 +-
 23 files changed, 31 insertions(+), 31 deletions(-)

diff --git a/lib/libpam/modules/pam_chroot/pam_chroot.8 b/lib/libpam/modules/pam_chroot/pam_chroot.8
index 1bb48008d781..990932413dd3 100644
--- a/lib/libpam/modules/pam_chroot/pam_chroot.8
+++ b/lib/libpam/modules/pam_chroot/pam_chroot.8
@@ -81,7 +81,7 @@ the user's home directory.
 .El
 .Sh SEE ALSO
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
 .Sh AUTHORS
 The
 .Nm
diff --git a/lib/libpam/modules/pam_deny/pam_deny.8 b/lib/libpam/modules/pam_deny/pam_deny.8
index d9544be9b09f..29bd7e1361fd 100644
--- a/lib/libpam/modules/pam_deny/pam_deny.8
+++ b/lib/libpam/modules/pam_deny/pam_deny.8
@@ -77,4 +77,4 @@ authentication attempt was declined.
 .Sh SEE ALSO
 .Xr syslog 3 ,
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
diff --git a/lib/libpam/modules/pam_echo/pam_echo.8 b/lib/libpam/modules/pam_echo/pam_echo.8
index 3066007dca74..c1811181674a 100644
--- a/lib/libpam/modules/pam_echo/pam_echo.8
+++ b/lib/libpam/modules/pam_echo/pam_echo.8
@@ -80,7 +80,7 @@ expands to the character following the
 character.
 .Sh SEE ALSO
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
 .Sh AUTHORS
 The
 .Nm
diff --git a/lib/libpam/modules/pam_exec/pam_exec.8 b/lib/libpam/modules/pam_exec/pam_exec.8
index dbd7c1e17007..c31031fd4aa8 100644
--- a/lib/libpam/modules/pam_exec/pam_exec.8
+++ b/lib/libpam/modules/pam_exec/pam_exec.8
@@ -152,13 +152,13 @@ This is useful in shell scripts for instance.
 .Sh SEE ALSO
 .Xr pam_get_item 3 ,
 .Xr pam.conf 5 ,
-.Xr pam 8 ,
-.Xr pam_sm_acct_mgmt 8 ,
-.Xr pam_sm_authenticate 8 ,
-.Xr pam_sm_chauthtok 8 ,
-.Xr pam_sm_close_session 8 ,
-.Xr pam_sm_open_session 8 ,
-.Xr pam_sm_setcred 8
+.Xr pam 3 ,
+.Xr pam_sm_acct_mgmt 3 ,
+.Xr pam_sm_authenticate 3 ,
+.Xr pam_sm_chauthtok 3 ,
+.Xr pam_sm_close_session 3 ,
+.Xr pam_sm_open_session 3 ,
+.Xr pam_sm_setcred 3
 .Sh AUTHORS
 The
 .Nm
diff --git a/lib/libpam/modules/pam_ftpusers/pam_ftpusers.8 b/lib/libpam/modules/pam_ftpusers/pam_ftpusers.8
index 380e3b026c70..80bbf493c41a 100644
--- a/lib/libpam/modules/pam_ftpusers/pam_ftpusers.8
+++ b/lib/libpam/modules/pam_ftpusers/pam_ftpusers.8
@@ -86,7 +86,7 @@ will succeed if and only if the user is not listed in
 .Sh SEE ALSO
 .Xr ftpusers 5 ,
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
 .Sh AUTHORS
 The
 .Nm
diff --git a/lib/libpam/modules/pam_group/pam_group.8 b/lib/libpam/modules/pam_group/pam_group.8
index 4f368e577c22..477c509201a9 100644
--- a/lib/libpam/modules/pam_group/pam_group.8
+++ b/lib/libpam/modules/pam_group/pam_group.8
@@ -89,7 +89,7 @@ options are mutually exclusive, and that
 will fail if both are specified.
 .Sh SEE ALSO
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
 .Sh AUTHORS
 The
 .Nm
diff --git a/lib/libpam/modules/pam_guest/pam_guest.8 b/lib/libpam/modules/pam_guest/pam_guest.8
index 0b858d673d56..51332492e7f3 100644
--- a/lib/libpam/modules/pam_guest/pam_guest.8
+++ b/lib/libpam/modules/pam_guest/pam_guest.8
@@ -85,7 +85,7 @@ Requires the guest user to type in the guest account name as password.
 .Xr pam_get_item 3 ,
 .Xr pam_getenv 3 ,
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
 .Sh AUTHORS
 The
 .Nm
diff --git a/lib/libpam/modules/pam_krb5/pam_krb5.8 b/lib/libpam/modules/pam_krb5/pam_krb5.8
index bd7ac5b9ca0c..d3617aec6e51 100644
--- a/lib/libpam/modules/pam_krb5/pam_krb5.8
+++ b/lib/libpam/modules/pam_krb5/pam_krb5.8
@@ -210,7 +210,7 @@ file containing Kerberos principals that are allowed access.
 .Xr passwd 1 ,
 .Xr syslog 3 ,
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
 .Sh NOTES
 Applications should not call
 .Fn pam_authenticate
diff --git a/lib/libpam/modules/pam_ksu/pam_ksu.8 b/lib/libpam/modules/pam_ksu/pam_ksu.8
index 614dc9ef78f8..8204fe992495 100644
--- a/lib/libpam/modules/pam_ksu/pam_ksu.8
+++ b/lib/libpam/modules/pam_ksu/pam_ksu.8
@@ -119,4 +119,4 @@ the user is prompted for another password.
 .Xr su 1 ,
 .Xr syslog 3 ,
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
diff --git a/lib/libpam/modules/pam_lastlog/pam_lastlog.8 b/lib/libpam/modules/pam_lastlog/pam_lastlog.8
index cd75fff05df7..a28b4dc1f4e4 100644
--- a/lib/libpam/modules/pam_lastlog/pam_lastlog.8
+++ b/lib/libpam/modules/pam_lastlog/pam_lastlog.8
@@ -86,11 +86,11 @@ Ignore I/O failures.
 .Xr last 1 ,
 .Xr w 1 ,
 .Xr getutxent 3 ,
-.Xr login 3 ,
-.Xr logout 3 ,
+.Xr ulog_login 3 ,
+.Xr ulog_logout 3 ,
 .Xr pam.conf 5 ,
 .Xr lastlogin 8 ,
-.Xr pam 8
+.Xr pam 3
 .Sh AUTHORS
 The
 .Nm
diff --git a/lib/libpam/modules/pam_nologin/pam_nologin.8 b/lib/libpam/modules/pam_nologin/pam_nologin.8
index cc94be555d68..544428412a20 100644
--- a/lib/libpam/modules/pam_nologin/pam_nologin.8
+++ b/lib/libpam/modules/pam_nologin/pam_nologin.8
@@ -87,4 +87,4 @@ login attempt was declined.
 .Xr login.conf 5 ,
 .Xr nologin 5 ,
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
diff --git a/lib/libpam/modules/pam_opie/pam_opie.8 b/lib/libpam/modules/pam_opie/pam_opie.8
index 0b4cae1c4195..bcb9f6244bdf 100644
--- a/lib/libpam/modules/pam_opie/pam_opie.8
+++ b/lib/libpam/modules/pam_opie/pam_opie.8
@@ -124,4 +124,4 @@ default OPIE password database.
 .Xr syslog 3 ,
 .Xr opie 4 ,
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
diff --git a/lib/libpam/modules/pam_opieaccess/pam_opieaccess.8 b/lib/libpam/modules/pam_opieaccess/pam_opieaccess.8
index 87d901187ee9..d9d6a62dbee8 100644
--- a/lib/libpam/modules/pam_opieaccess/pam_opieaccess.8
+++ b/lib/libpam/modules/pam_opieaccess/pam_opieaccess.8
@@ -132,7 +132,7 @@ The presence of this file makes OPIE mandatory for the user.
 .Xr opie 4 ,
 .Xr opieaccess 5 ,
 .Xr pam.conf 5 ,
-.Xr pam 8 ,
+.Xr pam 3 ,
 .Xr pam_opie 8
 .Sh AUTHORS
 The
diff --git a/lib/libpam/modules/pam_passwdqc/pam_passwdqc.8 b/lib/libpam/modules/pam_passwdqc/pam_passwdqc.8
index abdd3907e972..21dd87a5f55f 100644
--- a/lib/libpam/modules/pam_passwdqc/pam_passwdqc.8
+++ b/lib/libpam/modules/pam_passwdqc/pam_passwdqc.8
@@ -251,7 +251,7 @@ is that the former is incompatible with
 .Sh SEE ALSO
 .Xr getpwnam 3 ,
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
 .Sh AUTHORS
 The
 .Nm
diff --git a/lib/libpam/modules/pam_permit/pam_permit.8 b/lib/libpam/modules/pam_permit/pam_permit.8
index c7d98ab48e16..f71693b88bbd 100644
--- a/lib/libpam/modules/pam_permit/pam_permit.8
+++ b/lib/libpam/modules/pam_permit/pam_permit.8
@@ -72,4 +72,4 @@ level.
 .Sh SEE ALSO
 .Xr syslog 3 ,
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
diff --git a/lib/libpam/modules/pam_radius/pam_radius.8 b/lib/libpam/modules/pam_radius/pam_radius.8
index 9d12c0b0b6ce..3cf0f173150b 100644
--- a/lib/libpam/modules/pam_radius/pam_radius.8
+++ b/lib/libpam/modules/pam_radius/pam_radius.8
@@ -127,7 +127,7 @@ The standard RADIUS client configuration file for
 .Sh SEE ALSO
 .Xr passwd 5 ,
 .Xr radius.conf 5 ,
-.Xr pam 8
+.Xr pam 3
 .Sh HISTORY
 The
 .Nm
diff --git a/lib/libpam/modules/pam_rhosts/pam_rhosts.8 b/lib/libpam/modules/pam_rhosts/pam_rhosts.8
index 8adfcc6ed5ae..864c8e579d73 100644
--- a/lib/libpam/modules/pam_rhosts/pam_rhosts.8
+++ b/lib/libpam/modules/pam_rhosts/pam_rhosts.8
@@ -82,7 +82,7 @@ do not automatically fail if the target user's UID is 0.
 .Sh SEE ALSO
 .Xr hosts.equiv 5 ,
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
 .Sh AUTHORS
 The
 .Nm
diff --git a/lib/libpam/modules/pam_rootok/pam_rootok.8 b/lib/libpam/modules/pam_rootok/pam_rootok.8
index 4203fbd246b7..9c42152353f6 100644
--- a/lib/libpam/modules/pam_rootok/pam_rootok.8
+++ b/lib/libpam/modules/pam_rootok/pam_rootok.8
@@ -72,4 +72,4 @@ authentication attempt was declined.
 .Sh SEE ALSO
 .Xr getuid 2 ,
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
diff --git a/lib/libpam/modules/pam_securetty/pam_securetty.8 b/lib/libpam/modules/pam_securetty/pam_securetty.8
index 5825fb452a7a..99a6277455ca 100644
--- a/lib/libpam/modules/pam_securetty/pam_securetty.8
+++ b/lib/libpam/modules/pam_securetty/pam_securetty.8
@@ -89,4 +89,4 @@ authentication attempt was declined.
 .Xr syslog 3 ,
 .Xr pam.conf 5 ,
 .Xr ttys 5 ,
-.Xr pam 8
+.Xr pam 3
diff --git a/lib/libpam/modules/pam_self/pam_self.8 b/lib/libpam/modules/pam_self/pam_self.8
index d021434770c6..937ff6ef67ea 100644
--- a/lib/libpam/modules/pam_self/pam_self.8
+++ b/lib/libpam/modules/pam_self/pam_self.8
@@ -83,7 +83,7 @@ do not automatically fail if the current real user ID is 0.
 .Sh SEE ALSO
 .Xr getuid 2 ,
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
 .Sh AUTHORS
 The
 .Nm
diff --git a/lib/libpam/modules/pam_ssh/pam_ssh.8 b/lib/libpam/modules/pam_ssh/pam_ssh.8
index 1afcfc77e6c1..b847c366517d 100644
--- a/lib/libpam/modules/pam_ssh/pam_ssh.8
+++ b/lib/libpam/modules/pam_ssh/pam_ssh.8
@@ -141,7 +141,7 @@ SSH2 Ed25519 key
 .Sh SEE ALSO
 .Xr ssh-agent 1 ,
 .Xr pam.conf 5 ,
-.Xr pam 8
+.Xr pam 3
 .Sh AUTHORS
 The
 .Nm
diff --git a/lib/libpam/modules/pam_tacplus/pam_tacplus.8 b/lib/libpam/modules/pam_tacplus/pam_tacplus.8
index ee8cc78e0d9f..92534aafb925 100644
--- a/lib/libpam/modules/pam_tacplus/pam_tacplus.8
+++ b/lib/libpam/modules/pam_tacplus/pam_tacplus.8
@@ -105,7 +105,7 @@ The standard TACACS+ client configuration file for
 .Sh SEE ALSO
 .Xr passwd 5 ,
 .Xr tacplus.conf 5 ,
-.Xr pam 8
+.Xr pam 3
 .Sh HISTORY
 The
 .Nm
diff --git a/lib/libpam/modules/pam_unix/pam_unix.8 b/lib/libpam/modules/pam_unix/pam_unix.8
index 03f8feaf4ba9..11643df1072d 100644
--- a/lib/libpam/modules/pam_unix/pam_unix.8
+++ b/lib/libpam/modules/pam_unix/pam_unix.8
@@ -206,7 +206,7 @@ password database.
 .Xr syslog 3 ,
 .Xr nsswitch.conf 5 ,
 .Xr passwd 5 ,
-.Xr pam 8 ,
+.Xr pam 3 ,
 .Xr pw 8 ,
 .Xr yp 8
 .Sh BUGS