diff options
| author | Kris Kennaway <kris@FreeBSD.org> | 2000-11-19 10:30:42 +0000 |
|---|---|---|
| committer | Kris Kennaway <kris@FreeBSD.org> | 2000-11-19 10:30:42 +0000 |
| commit | 7853d5d839629d86ff4691f50bb441ef7d002b01 (patch) | |
| tree | 70bbd37ab97915797f09c297424f2e565790e3a6 | |
| parent | dc3f2db745dda4cefe446c91cf1f06a0f220ecd5 (diff) | |
Notes
| -rw-r--r-- | lib/libc/sys/getpid.2 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/getpid.2 b/lib/libc/sys/getpid.2 index 1d94d8234fa8..1eb77410c50f 100644 --- a/lib/libc/sys/getpid.2 +++ b/lib/libc/sys/getpid.2 @@ -53,8 +53,12 @@ returns the process ID of the calling process. -The ID is guaranteed to be unique and is -useful for constructing temporary file names. +Though the ID is guaranteed to be unique, it should +.Em NOT +be used for constructing temporary file names, for +security reasons; see +.Xr mkstemp 3 +instead. .Pp .Fn Getppid returns the process ID of the parent |
