> Why would you have an LSM hook just for the unshare() syscall given that clone() exposes nearly the same functionality? My trace of thought was like this: Clone creates new process, so we have two options: - do one more hook here also (or have a joint hook) and then also add the info about this process into the hardchroot info list or - do not add this child process to the list and therefore we don't need updated pointers on fs for it, but just treat it as a child (since it would be chrooted to the same location unless it calls unshare, chroot, pivot_root or similar). I went with the second approach to minimize the hooks changes needed and number of processes to store in internal list.