diff --git a/headers/private/kernel/ksyscalls.h b/headers/private/kernel/ksyscalls.h index b3ea9fc62b..f809224718 100755 --- a/headers/private/kernel/ksyscalls.h +++ b/headers/private/kernel/ksyscalls.h @@ -150,7 +150,8 @@ enum { SYSCALL_SET_REAL_TIME_CLOCK, SYSCALL_DEBUG_OUTPUT, SYSCALL_GET_SYSTEM_INFO, /* 140 */ - SYSCALL_RENAME_THREAD + SYSCALL_RENAME_THREAD, + SYSCALL_DIR_NODE_REF_TO_PATH, }; int syscall_dispatcher(unsigned long call_num, void *arg_buffer, uint64 *call_ret); diff --git a/headers/private/kernel/syscalls.h b/headers/private/kernel/syscalls.h index 4931e183b4..fe1a2f2404 100644 --- a/headers/private/kernel/syscalls.h +++ b/headers/private/kernel/syscalls.h @@ -85,6 +85,7 @@ extern status_t _kern_unmount(const char *path); extern status_t _kern_read_fs_info(dev_t device, struct fs_info *info); extern status_t _kern_write_fs_info(dev_t device, const struct fs_info *info, int mask); extern status_t _kern_sync(void); +extern status_t _kern_dir_node_ref_to_path(dev_t device, ino_t inode, char *userPath, size_t pathLength); extern int _kern_open_entry_ref(dev_t device, ino_t inode, const char *name, int omode); extern int _kern_open(const char *path, int omode); extern int _kern_open_dir_node_ref(dev_t device, ino_t inode); diff --git a/headers/private/kernel/vfs.h b/headers/private/kernel/vfs.h index 5caac0ef4c..4ce7f6d3a0 100755 --- a/headers/private/kernel/vfs.h +++ b/headers/private/kernel/vfs.h @@ -89,6 +89,7 @@ status_t _user_unmount(const char *path); status_t _user_read_fs_info(dev_t device, struct fs_info *info); status_t _user_write_fs_info(dev_t device, const struct fs_info *info, int mask); status_t _user_sync(void); +status_t _user_dir_node_ref_to_path(dev_t device, ino_t inode, char *userPath, size_t pathLength); int _user_open_entry_ref(dev_t device, ino_t inode, const char *name, int omode); int _user_open(const char *path, int omode); int _user_open_dir_node_ref(dev_t device, ino_t inode);