Added a syscall to get a path for a directory node_ref.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8278 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-07-02 18:46:36 +00:00
parent 056f3c62e3
commit 63e846d50d
3 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -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);
+1
View File
@@ -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);
+1
View File
@@ -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);