sys_personality [kernel/exec_domain.c]
Sets the process execution domain. Linux supports different execution domains, or personalities, for each process. Among other things, execution domains tell Linux how to map signal numbers into signal actions. The execution domain system allows Linux to provide limited support for binaries compiled under other Unix-like operating systems. Arguments
eax | 136
ebx | Personality. If this value is -1 sys_personality will return the current personality. Otherwise, it will make the execution domain referenced by ebx the new execution domain of the current process.
Return values If the system call succeeds and ebx was set to -1 the return value is the current personality, otherwise it is the previous personality. If the system call fails the return value is one of the following errno values:
`-EINVAL` | The kernel was unable to change the personality.
Remarks n/a Compatibility n/a