looks good, my only complaint would be that the WARN message in fhas_fs_type() doesn't seem clear. I'd offer an alternative but I don't know what you're trying to say :)
Do you think there's any point in enforcing that the filename be 'net' ? (i.e. to avoid playing any sorts of games with a userns) Probably not because is_privileged_over_netns() will trip over it in its setns(netns_fd, CLONE_NEWNET) in that case, right?
Hi,
looks good, my only complaint would be that the WARN message in fhas_fs_type() doesn't seem clear. I'd offer an alternative but I don't know what you're trying to say :)
Do you think there's any point in enforcing that the filename be 'net' ? (i.e. to avoid playing any sorts of games with a userns) Probably not because is_privileged_ over_netns( ) will trip over it in its setns(netns_fd, CLONE_NEWNET) in that case, right?