From af2f9184e03015dc3b188ea437bbf496638000ce Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 11 Sep 2021 18:04:57 +0200 Subject: replace `user_ptr` with a linux-style `__user` annotation --- src/shared/vfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/vfs.h') diff --git a/src/shared/vfs.h b/src/shared/vfs.h index 9419b11..69891bc 100644 --- a/src/shared/vfs.h +++ b/src/shared/vfs.h @@ -20,7 +20,7 @@ struct vfs_op { int path_len; } open; struct { - user_ptr buf; + char __user *buf; int buf_len; int id; // filled in by the kernel } rw; -- cgit v1.2.3