watch_queue: Add a key/keyring notification facility
[sfrench/cifs-2.6.git] / security / keys / compat.c
index b975f8f11124b7f79112a3bced90673c9f5d7f5a..6ee9d8f6a4a5bba3ef36ada64d7b998531f0f7c1 100644 (file)
@@ -156,6 +156,9 @@ COMPAT_SYSCALL_DEFINE5(keyctl, u32, option,
        case KEYCTL_CAPABILITIES:
                return keyctl_capabilities(compat_ptr(arg2), arg3);
 
+       case KEYCTL_WATCH_KEY:
+               return keyctl_watch_key(arg2, arg3, arg4);
+
        default:
                return -EOPNOTSUPP;
        }