hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/security/tomoyo/mount.c
....@@ -6,6 +6,7 @@
66 */
77
88 #include <linux/slab.h>
9
+#include <uapi/linux/mount.h>
910 #include "common.h"
1011
1112 /* String table for special mount operations. */
....@@ -48,6 +49,7 @@
4849 {
4950 const struct tomoyo_mount_acl *acl =
5051 container_of(ptr, typeof(*acl), head);
52
+
5153 return tomoyo_compare_number_union(r->param.mount.flags,
5254 &acl->flags) &&
5355 tomoyo_compare_name_union(r->param.mount.type,
....@@ -88,6 +90,7 @@
8890 struct tomoyo_path_info rdir;
8991 int need_dev = 0;
9092 int error = -ENOMEM;
93
+
9194 r->obj = &obj;
9295
9396 /* Get fstype. */