tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ping(8) picking up another ping's echo replies
On 14 February 2018 at 02:00, Edgar Fuß <ef%math.uni-bonn.de@localhost> wrote:
>> If the original concern was disclosing the endian-ness, then why not
>> just hton the pid? :)
> The PID was originally hton()d. The commit message doesn't make sense to me.
OpenBSD even uses
ident = getpid() & 0xFFFF;
with the commit message "getpid() is going to be OK in a few minutes" in 1.21
The later change made pids random.
--
Eitan Adler
Home |
Main Index |
Thread Index |
Old Index