From e875616618844a99bc8b077660a252cf17c0d571 Mon Sep 17 00:00:00 2001 From: Martijn Dekker Date: Sat, 15 Aug 2020 21:37:46 +0100 Subject: [PATCH] shell.3: fix glitch; add missing SH_PRIVILEGED doc --- src/cmd/ksh93/shell.3 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cmd/ksh93/shell.3 b/src/cmd/ksh93/shell.3 index 9adfbf271..587ad2285 100644 --- a/src/cmd/ksh93/shell.3 +++ b/src/cmd/ksh93/shell.3 @@ -214,9 +214,9 @@ commands can be logged. Do not treat end-of-file as exit. .IP \f5SH_INTERACTIVE\fP: -.IP Set for interactive shells. Do not set or unset this option. +.IP \f5SH_MARKDIRS\fP: A \fB/\fP is added to the end of each directory generated by pathname expansion. @@ -243,6 +243,9 @@ Cause the shell to fail with an error of an unset variable is referenced. .IP \f5SH_PRIVILEGED\fP: +This mode is on whenever the effective uid (gid) is not equal to the real +uid (gid). Turning this off causes the effective uid and gid to be set to +the real uid and gid. .IP \f5SH_VERBOSE\fP: Cause each line to be echoed as it is read by the parser.