Added new syscall _kern_normalize_path() to normalize a path.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23929 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -143,6 +143,8 @@ extern dev_t _kern_next_device(int32 *_cookie);
|
||||
extern status_t _kern_sync(void);
|
||||
extern status_t _kern_entry_ref_to_path(dev_t device, ino_t inode,
|
||||
const char *leaf, char *userPath, size_t pathLength);
|
||||
extern status_t _kern_normalize_path(const char* userPath,
|
||||
bool traverseLink, char* buffer);
|
||||
extern int _kern_open_entry_ref(dev_t device, ino_t inode, const char *name, int openMode, int perms);
|
||||
extern int _kern_open(int fd, const char *path, int openMode, int perms);
|
||||
extern int _kern_open_dir_entry_ref(dev_t device, ino_t inode, const char *name);
|
||||
|
||||
@@ -137,6 +137,8 @@ status_t _user_get_next_fd_info(team_id team, uint32 *cookie, struct fd_info *in
|
||||
size_t infoSize);
|
||||
status_t _user_entry_ref_to_path(dev_t device, ino_t inode, const char *leaf,
|
||||
char *userPath, size_t pathLength);
|
||||
status_t _user_normalize_path(const char* userPath, bool traverseLink,
|
||||
char* buffer);
|
||||
int _user_open_entry_ref(dev_t device, ino_t inode, const char *name, int openMode, int perms);
|
||||
int _user_open(int fd, const char *path, int openMode, int perms);
|
||||
int _user_open_dir_node_ref(dev_t device, ino_t inode);
|
||||
|
||||
Reference in New Issue
Block a user