/* SPDX-License-Identifier: GPL-2.0-only */ #include #include #include static ssize_t sys_pread(int fd, void *buf, size_t nbyte, off_t offset) { return -ENOSYS; } static ssize_t sys_read(int fd, void *buf, size_t nbyte) { return -ENOSYS; } static ssize_t sys_pwrite(int fd, const void *buf, size_t nbyte, off_t offset) { return -ENOSYS; } static ssize_t sys_write(int fd, const void *buf, size_t nbyte) { return -ENOSYS; } static int sys_open(const char *path, int flags) { return -ENOSYS; } static int sys_close(int fd) { return -ENOSYS; } void vfs_uapi_init() { syscall_insert(sys_pread, SYS_pread); syscall_insert(sys_read, SYS_read); syscall_insert(sys_pwrite, SYS_pwrite); syscall_insert(sys_write, SYS_write); syscall_insert(sys_open, SYS_open); syscall_insert(sys_close, SYS_close); }