[PATCH] Keys: Add possessor permissions to keys [try #3]
[deliverable/linux.git] / security / keys / request_key_auth.c
index f22264632229ca79108a1e232461ecda378cc1e8..1ecd3d3fa9f895850a66e35c446b5ab506e85aab 100644 (file)
@@ -126,7 +126,7 @@ struct key *request_key_auth_new(struct key *target, struct key **_rkakey)
 
        rkakey = key_alloc(&key_type_request_key_auth, desc,
                           current->fsuid, current->fsgid,
-                          KEY_USR_VIEW, 1);
+                          KEY_POS_VIEW | KEY_USR_VIEW, 1);
        if (IS_ERR(rkakey)) {
                key_put(keyring);
                kleave("= %ld", PTR_ERR(rkakey));
This page took 0.056139 seconds and 5 git commands to generate.