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 devsearch
An ordered, colon-separated search path of directories to look An ordered, colon-separated search path of directories to look
in for device nodes. This is used when mapping the process's 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 subdirectories. If terminal devices may be located in a
subdirectory of _/_d_e_v, that path must be explicitly listed in 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: _d_e_v_s_e_a_r_c_h. The default value is:
/dev/pts:/dev/vt:/dev/term:/dev/zcons:/dev/pty:/dev /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 noexec The fully-qualified path to a shared library containing
wrappers for the eexxeeccll(), eexxeeccllee(), eexxeeccllpp(), eexxeecctt(), eexxeeccvv(), wrappers for the eexxeeccll(), eexxeeccllee(), eexxeeccllpp(), eexxeecctt(), eexxeeccvv(),
eexxeeccvvee(), eexxeeccvvPP(), eexxeeccvvpp(), eexxeeccvvppee(), ffeexxeeccvvee(), ppooppeenn(), eexxeeccvvee(), eexxeeccvvPP(), eexxeeccvvpp(), eexxeeccvvppee(), ffeexxeeccvvee(), ppooppeenn(),
@ -427,4 +432,4 @@ DDIISSCCLLAAIIMMEERR
file distributed with ssuuddoo or https://www.sudo.ws/license.html for file distributed with ssuuddoo or https://www.sudo.ws/license.html for
complete details. 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. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" 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 .nh
.if n .ad l .if n .ad l
.SH "NAME" .SH "NAME"
@ -242,7 +242,8 @@ devsearch
.br .br
An ordered, colon-separated search path of directories to look in for An ordered, colon-separated search path of directories to look in for
device nodes. 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 Sudo will
\fInot\fR \fInot\fR
recurse into subdirectories. recurse into subdirectories.
@ -252,6 +253,12 @@ that path must be explicitly listed in
\fIdevsearch\fR. \fIdevsearch\fR.
The default value is: The default value is:
\fR/dev/pts:/dev/vt:/dev/term:/dev/zcons:/dev/pty:/dev\fR \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 .TP 10n
noexec noexec
The fully-qualified path to a shared library containing wrappers 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. .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd May 30, 2017 .Dd June 2, 2017
.Dt SUDO.CONF @mansectform@ .Dt SUDO.CONF @mansectform@
.Os Sudo @PACKAGE_VERSION@ .Os Sudo @PACKAGE_VERSION@
.Sh NAME .Sh NAME
@ -218,7 +218,8 @@ environment variable.
.It devsearch .It devsearch
An ordered, colon-separated search path of directories to look in for An ordered, colon-separated search path of directories to look in for
device nodes. 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 Sudo will
.Em not .Em not
recurse into subdirectories. recurse into subdirectories.
@ -228,6 +229,12 @@ that path must be explicitly listed in
.Em devsearch . .Em devsearch .
The default value is: The default value is:
.Li /dev/pts:/dev/vt:/dev/term:/dev/zcons:/dev/pty:/dev .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 .It noexec
The fully-qualified path to a shared library containing wrappers The fully-qualified path to a shared library containing wrappers
for the for the