Document ttydev and bump plugin version to 1.22
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
.\"
|
.\"
|
||||||
.TH "SUDO_PLUGIN" "5" "July 10, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
|
.TH "SUDO_PLUGIN" "5" "November 25, 2023" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
|
||||||
.nh
|
.nh
|
||||||
.if n .ad l
|
.if n .ad l
|
||||||
.SH "NAME"
|
.SH "NAME"
|
||||||
@@ -674,10 +674,17 @@ process or 0 if there is no terminal present.
|
|||||||
Only available starting with API version 1.2.
|
Only available starting with API version 1.2.
|
||||||
.TP 6n
|
.TP 6n
|
||||||
tty=string
|
tty=string
|
||||||
The path to the user's terminal device.
|
The path to the user's terminal device, if one exists.
|
||||||
If the user has no terminal device associated with the session,
|
This entry is only present if the user has a terminal device
|
||||||
the value will be empty, as in
|
associated with the session.
|
||||||
\(oqtty=\(cq.
|
.TP 6n
|
||||||
|
ttydev=dev_t
|
||||||
|
The number of the user's terminal device, if one exists,
|
||||||
|
in the form of a
|
||||||
|
\fIdev_t\fR.
|
||||||
|
This entry is only present if the user has a terminal device
|
||||||
|
associated with the session.
|
||||||
|
Only available starting with API version 1.22.
|
||||||
.TP 6n
|
.TP 6n
|
||||||
uid=uid_t
|
uid=uid_t
|
||||||
The real user-ID of the user invoking
|
The real user-ID of the user invoking
|
||||||
@@ -5474,6 +5481,13 @@ The
|
|||||||
entry was added to the
|
entry was added to the
|
||||||
\fIcommand_info\fR
|
\fIcommand_info\fR
|
||||||
list.
|
list.
|
||||||
|
.TP 6n
|
||||||
|
Version 1.22 (sudo 1.9.16)
|
||||||
|
The
|
||||||
|
\fIttydev\fR
|
||||||
|
entry was added to the
|
||||||
|
\fIuser_info\fR
|
||||||
|
list.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
sudo.conf(@mansectform@),
|
sudo.conf(@mansectform@),
|
||||||
sudoers(@mansectform@),
|
sudoers(@mansectform@),
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||||
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
.\"
|
.\"
|
||||||
.Dd July 10, 2023
|
.Dd November 25, 2023
|
||||||
.Dt SUDO_PLUGIN @mansectform@
|
.Dt SUDO_PLUGIN @mansectform@
|
||||||
.Os Sudo @PACKAGE_VERSION@
|
.Os Sudo @PACKAGE_VERSION@
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -600,10 +600,16 @@ device associated with the
|
|||||||
process or 0 if there is no terminal present.
|
process or 0 if there is no terminal present.
|
||||||
Only available starting with API version 1.2.
|
Only available starting with API version 1.2.
|
||||||
.It tty=string
|
.It tty=string
|
||||||
The path to the user's terminal device.
|
The path to the user's terminal device, if one exists.
|
||||||
If the user has no terminal device associated with the session,
|
This entry is only present if the user has a terminal device
|
||||||
the value will be empty, as in
|
associated with the session.
|
||||||
.Ql tty= .
|
.It ttydev=dev_t
|
||||||
|
The number of the user's terminal device, if one exists,
|
||||||
|
in the form of a
|
||||||
|
.Vt dev_t .
|
||||||
|
This entry is only present if the user has a terminal device
|
||||||
|
associated with the session.
|
||||||
|
Only available starting with API version 1.22.
|
||||||
.It uid=uid_t
|
.It uid=uid_t
|
||||||
The real user-ID of the user invoking
|
The real user-ID of the user invoking
|
||||||
.Nm sudo .
|
.Nm sudo .
|
||||||
@@ -4857,6 +4863,12 @@ The
|
|||||||
entry was added to the
|
entry was added to the
|
||||||
.Fa command_info
|
.Fa command_info
|
||||||
list.
|
list.
|
||||||
|
.It Version 1.22 (sudo 1.9.16)
|
||||||
|
The
|
||||||
|
.Em ttydev
|
||||||
|
entry was added to the
|
||||||
|
.Fa user_info
|
||||||
|
list.
|
||||||
.El
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr sudo.conf @mansectform@ ,
|
.Xr sudo.conf @mansectform@ ,
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
/* API version major/minor */
|
/* API version major/minor */
|
||||||
#define SUDO_API_VERSION_MAJOR 1
|
#define SUDO_API_VERSION_MAJOR 1
|
||||||
#define SUDO_API_VERSION_MINOR 21
|
#define SUDO_API_VERSION_MINOR 22
|
||||||
#define SUDO_API_MKVERSION(x, y) (((x) << 16) | (y))
|
#define SUDO_API_MKVERSION(x, y) (((x) << 16) | (y))
|
||||||
#define SUDO_API_VERSION SUDO_API_MKVERSION(SUDO_API_VERSION_MAJOR, SUDO_API_VERSION_MINOR)
|
#define SUDO_API_VERSION SUDO_API_MKVERSION(SUDO_API_VERSION_MAJOR, SUDO_API_VERSION_MINOR)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user