diff options
| author | espie <> | 2016-02-05 18:09:19 +0000 |
|---|---|---|
| committer | espie <> | 2016-02-05 18:09:19 +0000 |
| commit | b0da4200672d59fc9ea66c08b5f36d7848ea6a37 (patch) | |
| tree | 8036e3e3f595be5393aab401f4a393ebcc6a9a2f /src/lib/libc/stdlib | |
| parent | e4c0bcd220ad855573e4c0ced2e868becf4d563d (diff) | |
| download | openbsd-b0da4200672d59fc9ea66c08b5f36d7848ea6a37.tar.gz openbsd-b0da4200672d59fc9ea66c08b5f36d7848ea6a37.tar.bz2 openbsd-b0da4200672d59fc9ea66c08b5f36d7848ea6a37.zip | |
be more forceful about not using these.
improvements sthen@, jmc@. okay millert@, jca@ jmc@
Diffstat (limited to 'src/lib/libc/stdlib')
| -rw-r--r-- | src/lib/libc/stdlib/system.3 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/system.3 b/src/lib/libc/stdlib/system.3 index 878bb0a9d2..bdd94c0115 100644 --- a/src/lib/libc/stdlib/system.3 +++ b/src/lib/libc/stdlib/system.3 | |||
| @@ -29,9 +29,9 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 30 | .\" SUCH DAMAGE. |
| 31 | .\" | 31 | .\" |
| 32 | .\" $OpenBSD: system.3,v 1.13 2013/07/18 10:14:50 schwarze Exp $ | 32 | .\" $OpenBSD: system.3,v 1.14 2016/02/05 18:09:19 espie Exp $ |
| 33 | .\" | 33 | .\" |
| 34 | .Dd $Mdocdate: July 18 2013 $ | 34 | .Dd $Mdocdate: February 5 2016 $ |
| 35 | .Dt SYSTEM 3 | 35 | .Dt SYSTEM 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -107,3 +107,10 @@ string. | |||
| 107 | Shell meta-characters present will be honored by the | 107 | Shell meta-characters present will be honored by the |
| 108 | .Xr sh 1 | 108 | .Xr sh 1 |
| 109 | command interpreter. | 109 | command interpreter. |
| 110 | .Pp | ||
| 111 | It is often simpler to bypass the shell and run an external command using | ||
| 112 | .Xr fork 2 , | ||
| 113 | .Xr execlp 3 , | ||
| 114 | and | ||
| 115 | .Xr waitpid 2 | ||
| 116 | directly instead of having to sanitize a string for shell consumption. | ||
