seccomp: Add missing compat_ioctl for notify
[platform/kernel/linux-starfive.git] / kernel / seccomp.c
index 29022c1..ec5c606 100644 (file)
@@ -1225,6 +1225,7 @@ static const struct file_operations seccomp_notify_ops = {
        .poll = seccomp_notify_poll,
        .release = seccomp_notify_release,
        .unlocked_ioctl = seccomp_notify_ioctl,
+       .compat_ioctl = seccomp_notify_ioctl,
 };
 
 static struct file *init_listener(struct seccomp_filter *filter)