2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

devsearch is ignored on BSD, macOS and Solaris

This commit is contained in:
Todd C. Miller 2017-06-02 15:47:35 -06:00
parent 13633ae5ac
commit 7526869d87
3 changed files with 25 additions and 6 deletions

View File

@ -109,12 +109,17 @@ DDEESSCCRRIIPPTTIIOONN
devsearch
An ordered, colon-separated search path of directories to look
in for device nodes. This is used when mapping the process's
tty device number to a device name. Sudo will _n_o_t recurse into
tty device number to a device name on systems that do not
provide such a mechanism. Sudo will _n_o_t recurse into
subdirectories. If terminal devices may be located in a
subdirectory of _/_d_e_v, that path must be explicitly listed in
_d_e_v_s_e_a_r_c_h. The default value is:
/dev/pts:/dev/vt:/dev/term:/dev/zcons:/dev/pty:/dev
This option is ignored on systems that support either the
ddeevvnnaammee() or __ttttyynnaammee__ddeevv() functions, for example BSD, macOS
and Solaris.
noexec The fully-qualified path to a shared library containing
wrappers for the eexxeeccll(), eexxeeccllee(), eexxeeccllpp(), eexxeecctt(), eexxeeccvv(),
eexxeeccvvee(), eexxeeccvvPP(), eexxeeccvvpp(), eexxeeccvvppee(), ffeexxeeccvvee(), ppooppeenn(),
@ -427,4 +432,4 @@ DDIISSCCLLAAIIMMEERR
file distributed with ssuuddoo or https://www.sudo.ws/license.html for
complete details.
Sudo 1.8.21 May 30, 2017 Sudo 1.8.21
Sudo 1.8.21 June 2, 2017 Sudo 1.8.21

View File

@ -16,7 +16,7 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.TH "SUDO.CONF" "5" "May 30, 2017" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.TH "SUDO.CONF" "5" "June 2, 2017" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh
.if n .ad l
.SH "NAME"
@ -242,7 +242,8 @@ devsearch
.br
An ordered, colon-separated search path of directories to look in for
device nodes.
This is used when mapping the process's tty device number to a device name.
This is used when mapping the process's tty device number to a device name
on systems that do not provide such a mechanism.
Sudo will
\fInot\fR
recurse into subdirectories.
@ -252,6 +253,12 @@ that path must be explicitly listed in
\fIdevsearch\fR.
The default value is:
\fR/dev/pts:/dev/vt:/dev/term:/dev/zcons:/dev/pty:/dev\fR
.sp
This option is ignored on systems that support either the
\fBdevname\fR()
or
\fB_ttyname_dev\fR()
functions, for example BSD, macOS and Solaris.
.TP 10n
noexec
The fully-qualified path to a shared library containing wrappers

View File

@ -14,7 +14,7 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd May 30, 2017
.Dd June 2, 2017
.Dt SUDO.CONF @mansectform@
.Os Sudo @PACKAGE_VERSION@
.Sh NAME
@ -218,7 +218,8 @@ environment variable.
.It devsearch
An ordered, colon-separated search path of directories to look in for
device nodes.
This is used when mapping the process's tty device number to a device name.
This is used when mapping the process's tty device number to a device name
on systems that do not provide such a mechanism.
Sudo will
.Em not
recurse into subdirectories.
@ -228,6 +229,12 @@ that path must be explicitly listed in
.Em devsearch .
The default value is:
.Li /dev/pts:/dev/vt:/dev/term:/dev/zcons:/dev/pty:/dev
.Pp
This option is ignored on systems that support either the
.Fn devname
or
.Fn _ttyname_dev
functions, for example BSD, macOS and Solaris.
.It noexec
The fully-qualified path to a shared library containing wrappers
for the