On Mon, 26 Apr 2021, Steffen Nurpmeso wrote:
RVP wrote in <alpine.NEB.2.22.394.2104250922580.15127%otaku.sdf.org@localhost>: ... |There should be a removal of the dirs. on the user's final session |logout, I think. This is impossible to do with pam that i never liked (nor understood, in FreeBSD ~twenty years ago),
Use POSIX shm_open+sem_open? That should let you do proper reference counting w/o a server. You'll have to pull in -lrt on Linux & NetBSD for this though... -RVP