]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsns: verify the uniqueness of a namespace in ls->namespaces list
authorMasatake YAMATO <yamato@redhat.com>
Wed, 1 May 2024 18:51:18 +0000 (03:51 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Wed, 1 May 2024 20:01:08 +0000 (05:01 +0900)
commitac282b728594630c17dc6ec5d90dbf56397865f0
treeb9d485a8a249811d19870c20e80edee3f37c2fc0
parent0cc0bcf45726f7c04b7170c82a2f79a35491a804
lsns: verify the uniqueness of a namespace in ls->namespaces list

In read_open_ns_inos(), a namespace is added to the list without
verifying its uniqueness in the list.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
sys-utils/lsns.c