Changeset 584 for trunk/kernel/syscalls/sys_exec.c
- Timestamp:
- Nov 1, 2018, 12:13:45 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_exec.c
r566 r584 196 196 197 197 #if DEBUG_SYSCALLS_ERROR 198 printk("\n[ERROR] in %s : pathname too long\n", __FUNCTION__ ); 198 printk("\n[ERROR] in %s : thread[%x,%x] pathname too long\n", 199 __FUNCTION__, pid, this->trdid ); 199 200 #endif 200 201 this->errno = ENFILE; … … 207 208 #if DEBUG_SYS_EXEC 208 209 if( DEBUG_SYS_EXEC < tm_start ) 209 printk("\n[DBG] %s : thread %x in process %xenter for path <%s> / cycle = %d\n",210 __FUNCTION__, this->trdid, pid, exec_info.path, (uint32_t)tm_start );210 printk("\n[DBG] %s : thread[%x,%x] enter for path <%s> / cycle = %d\n", 211 __FUNCTION__, pid, this->trdid, exec_info.path, (uint32_t)tm_start ); 211 212 #endif 212 213 … … 218 219 219 220 #if DEBUG_SYSCALLS_ERROR 220 printk("\n[ERROR] in %s : thread %x in process %x cannot access args\n",221 __FUNCTION__ , this->trdid, pid);221 printk("\n[ERROR] in %s : thread[%x,%x] cannot access args for <%s>\n", 222 __FUNCTION__, pid, this->trdid, exec_info.path ); 222 223 #endif 223 224 this->errno = EINVAL; … … 233 234 234 235 #if DEBUG_SYSCALLS_ERROR 235 printk("\n[ERROR] in %s : thread %x in process %x cannot access envs\n",236 __FUNCTION__ , this->trdid, pid);236 printk("\n[ERROR] in %s : thread[%x,%x] cannot access envs for <%s>\n", 237 __FUNCTION__ , pid, this->trdid, exec_info.path ); 237 238 #endif 238 239 this->errno = EINVAL; … … 248 249 249 250 #if DEBUG_SYSCALLS_ERROR 250 printk("\n[ERROR] in %s : thread %x in process %xcannot create process for <%s>\n",251 __FUNCTION__, this->trdid, pid, exec_info.path );251 printk("\n[ERROR] in %s : thread[%x,%x] cannot create process for <%s>\n", 252 __FUNCTION__, pid, this->trdid, exec_info.path ); 252 253 #endif 253 254 this->errno = error;
Note: See TracChangeset
for help on using the changeset viewer.