KEYS: Add a new keyctl op to reject a key with a specified error code
[linux-2.6.git] / security / keys / compat.c
index 07a5f35..17c99d0 100644 (file)
@@ -85,6 +85,9 @@ asmlinkage long compat_sys_keyctl(u32 option,
        case KEYCTL_SESSION_TO_PARENT:
                return keyctl_session_to_parent();
 
+       case KEYCTL_REJECT:
+               return keyctl_reject_key(arg2, arg3, arg4, arg5);
+
        default:
                return -EOPNOTSUPP;
        }