Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
personality(2)
Edit
PageHistory
Diff
Info
LikePages
!!NAME personality - set the process execution domain !!SYNOPSIS __int personality(unsigned long__ ''persona''__);__ !!DESCRIPTION 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. __personality__ will make the execution domain referenced by ''persona'' the new execution domain of the current process. !!RETURN VALUE On success, ''persona'' is made the new execution domain and the previous ''persona'' is returned. On error, -1 is returned, and ''errno'' is set appropriately. !!ERRORS ;[EINVAL]: ''persona'' does not refer to a valid execution domain. !!FILES ''/usr/include/linux/personality.h'' !!CONFORMING TO __personality__ is Linux-specific and should not be used in programs intended to be portable.
2 pages link to
personality(2)
:
Man2p
syscalls(2)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.