Skip to Content [alt-c]


In reply to LibreSSL's PRNG is Unsafe on Linux [Update: LibreSSL fork fix]

Reader Kenny on 2014-07-15 at 23:00:

pid_t is not 16-bits, though often the default /proc/sys/kernel/pid_max is set to a value that fits in an unsigned 16-bit number (likely to keep ancient programs working).

The value can be raised to a little more than 4 million, and on most of the systems I influence, this number is raised as otherwise busy systems run out of id's. With the limit set much higher, the chance of pid reuse is lessened, but not eliminated.


Post a Reply

Your comment will be public. If you would like to contact me privately, please email me. Please keep your comment on-topic, polite, and comprehensible.

(Optional; will be published)

(Optional; will not be published)

(Optional; will be published)

  • Blank lines separate paragraphs.
  • Lines starting with ">" are indented as block quotes.
  • Lines starting with two spaces are reproduced verbatim.
  • Text surrounded by *asterisks* is italicized.
  • Text surrounded by `back ticks` is monospaced.
  • URLs are turned into links.
  • Use the Preview button to check your formatting.