]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/user_namespace.c
Linux 4.3-rc7
[karo-tx-linux.git] / kernel / user_namespace.c
index f65a0a06a8c067726b76a37418c80919cf59c4d7..88fefa68c5164c88e5ec2487c942b15e3914666b 100644 (file)
@@ -39,6 +39,7 @@ static void set_cred_user_ns(struct cred *cred, struct user_namespace *user_ns)
        cred->cap_inheritable = CAP_EMPTY_SET;
        cred->cap_permitted = CAP_FULL_SET;
        cred->cap_effective = CAP_FULL_SET;
+       cred->cap_ambient = CAP_EMPTY_SET;
        cred->cap_bset = CAP_FULL_SET;
 #ifdef CONFIG_KEYS
        key_put(cred->request_key_auth);