[PATCH] autofs4: translate pids to the right namespace for the daemon

2013-05-07 Thread Ian Kent
From: Miklos Szeredi The PID and the TGID of the process tringgering the mount are sent to the daemon. Currently the global pid values are sent (ones valid in the initial pid namespace) but this is wrong if the autofs daemon itself is not running in the initial pid namespace. So send the pid

[PATCH] autofs4: translate pids to the right namespace for the daemon

2013-05-07 Thread Ian Kent
From: Miklos Szeredi mszer...@suse.cz The PID and the TGID of the process tringgering the mount are sent to the daemon. Currently the global pid values are sent (ones valid in the initial pid namespace) but this is wrong if the autofs daemon itself is not running in the initial pid namespace.