Changeset 637 for trunk/kernel/syscalls/sys_exec.c
- Timestamp:
- Jul 18, 2019, 2:06:55 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_exec.c
r635 r637 89 89 90 90 // copy the array of pointers to kernel buffer 91 hal_copy_from_uspace( local_cxy, 92 k_pointers, 91 hal_copy_from_uspace( XPTR( local_cxy , k_pointers ), 93 92 u_pointers, 94 93 CONFIG_PPM_PAGE_SIZE ); … … 109 108 110 109 // copy the user string to kernel buffer 111 hal_copy_from_uspace( local_cxy, 112 k_buf_ptr, 110 hal_copy_from_uspace( XPTR( local_cxy , k_buf_ptr ), 113 111 k_pointers[index], 114 112 length ); … … 199 197 200 198 // copy pathname in exec_info structure (kernel space) 201 hal_strcpy_from_uspace( exec_info.path , pathname , CONFIG_VFS_MAX_PATH_LENGTH ); 199 hal_strcpy_from_uspace( XPTR( local_cxy , exec_info.path ), 200 pathname, 201 CONFIG_VFS_MAX_PATH_LENGTH ); 202 202 203 203 #if DEBUG_SYS_EXEC
Note: See TracChangeset
for help on using the changeset viewer.