Changeset 637 for trunk/kernel/syscalls/sys_chdir.c
- Timestamp:
- Jul 18, 2019, 2:06:55 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_chdir.c
r610 r637 2 2 * sys_chdir.c - kernel function implementing the "chdir" syscall. 3 3 * 4 * Author Alain Greiner (2016,2017,2018 )4 * Author Alain Greiner (2016,2017,2018, 2019) 5 5 * 6 6 * Copyright (c) UPMC Sorbonne Universites … … 75 75 76 76 // copy pathname in kernel space 77 hal_strcpy_from_uspace( kbuf , pathname , CONFIG_VFS_MAX_PATH_LENGTH ); 77 hal_strcpy_from_uspace( XPTR( local_cxy , kbuf ), 78 pathname, 79 CONFIG_VFS_MAX_PATH_LENGTH ); 78 80 79 81 #if DEBUG_SYS_CHDIR
Note: See TracChangeset
for help on using the changeset viewer.