]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib: simplify check_status and different_namespace interface
authorTobias Deiminger <tobias.deiminger@linutronix.de>
Wed, 6 May 2026 12:39:39 +0000 (14:39 +0200)
committerAlejandro Colomar <foss+github@alejandro-colomar.es>
Tue, 19 May 2026 12:46:55 +0000 (14:46 +0200)
commit540ff23fd9ee9e2e016dae100dbed927d276acd5
tree1e5c292a0ae3a94d0d9ea41ec2c56157990a7b09
parent38cad1a6b8b8127c7c48b473dbb8284bc038b23d
lib: simplify check_status and different_namespace interface

Change the interface of check_status and different_namespace to take pid
and tid instead of a partially constructed path string.

This is simpler and counters bugs like in the previous commit by design.

Signed-off-by: Tobias Deiminger <tobias.deiminger@linutronix.de>
lib/user_busy.c