Ignore:
Timestamp:
Nov 1, 2018, 12:13:45 PM (5 years ago)
Author:
alain
Message:

Introduce sys_place_fork() function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/syscalls/sys_exec.c

    r566 r584  
    196196
    197197#if DEBUG_SYSCALLS_ERROR
    198 printk("\n[ERROR] in %s : pathname too long\n", __FUNCTION__ );
     198printk("\n[ERROR] in %s : thread[%x,%x] pathname too long\n",
     199__FUNCTION__, pid, this->trdid );
    199200#endif
    200201        this->errno = ENFILE;
     
    207208#if DEBUG_SYS_EXEC
    208209if( DEBUG_SYS_EXEC < tm_start )
    209 printk("\n[DBG] %s : thread %x in process %x enter for path <%s> / cycle = %d\n",
    210 __FUNCTION__, this->trdid, pid, exec_info.path, (uint32_t)tm_start );
     210printk("\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 );
    211212#endif
    212213
     
    218219
    219220#if DEBUG_SYSCALLS_ERROR
    220 printk("\n[ERROR] in %s : thread %x in process %x cannot access args\n",
    221 __FUNCTION__ , this->trdid, pid );
     221printk("\n[ERROR] in %s : thread[%x,%x] cannot access args for <%s>\n",
     222__FUNCTION__, pid, this->trdid, exec_info.path );
    222223#endif
    223224            this->errno = EINVAL;
     
    233234
    234235#if DEBUG_SYSCALLS_ERROR
    235 printk("\n[ERROR] in %s : thread %x in process %x cannot access envs\n",
    236 __FUNCTION__ , this->trdid, pid );
     236printk("\n[ERROR] in %s : thread[%x,%x] cannot access envs for <%s>\n",
     237__FUNCTION__ , pid, this->trdid, exec_info.path );
    237238#endif
    238239            this->errno = EINVAL;
     
    248249
    249250#if DEBUG_SYSCALLS_ERROR
    250 printk("\n[ERROR] in %s : thread %x in process %x cannot create process for <%s>\n",
    251 __FUNCTION__, this->trdid, pid, exec_info.path );
     251printk("\n[ERROR] in %s : thread[%x,%x] cannot create process for <%s>\n",
     252__FUNCTION__, pid, this->trdid, exec_info.path );
    252253#endif
    253254        this->errno = error;
Note: See TracChangeset for help on using the changeset viewer.