lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210818175204.GA15391@legohost>
Date:   Wed, 18 Aug 2021 20:52:04 +0300
From:   Oleg <lego12239@...dex.ru>
To:     netdev@...r.kernel.org
Subject: reading /proc/net/tcp

Hi, all.

Could anybody clarify what happen if some connection is disappeared between
two read() calls against a line from /proc/net/tcp for this connection?

For example, i read the line(from /proc/net/tcp):

1: 0C00A8C0:E24E E29BCA74:01BB 01 00000000:00000000 00:00000000 00000000  1000        0 57498 1 0000000031ee2ba7 56 4 30 10 -1 

with 2 read(fd, buf, 80) calls.

-- 
Олег Неманов (Oleg Nemanov)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ