]> git.ipfire.org Git - thirdparty/util-linux.git/commit
ipcs: fallback for overflow
authorKarel Zak <kzak@redhat.com>
Mon, 18 Jan 2021 15:04:18 +0000 (16:04 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 18 Jan 2021 15:04:18 +0000 (16:04 +0100)
commitc52d16098c5fbc12a4edd01ba62e5c4cd5d1a336
tree53f3cefa8b5fd4b8eaa894ef9251f65e9cabe99f
parenta992cc0d98bc45581c3a9f7e216742c4b20fc875
ipcs: fallback for overflow

The previous commit 7a08784ab053d6aa30db990cbec1fd35b34ed00a reduced
number of situation when we need fallback when kbytes calculated for
shmall pages, but there is still possible to see overflows.

This patch add fallback also for kbytes.

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/ipcs.c