Penguin
Diff: personality(2)
EditPageHistoryDiffInfoLikePages

Differences between current version and predecessor to the previous major change of personality(2).

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 2 Last edited on Sunday, March 16, 2003 6:23:09 pm by PerryLorier
Older page: version 1 Last edited on Monday, June 3, 2002 6:53:01 pm by perry Revert
@@ -1,58 +1,21 @@
-PERSONALITY  
-!!!PERSONALITY  
-NAME  
-SYNOPSIS  
-DESCRIPTION  
-RETURN VALUE  
-ERRORS  
-FILES  
-CONFORMING TO  
-----  
 !!NAME 
+personality - set the process execution domain  
  
-  
-personality - set the process execution domain  
 !!SYNOPSIS 
+ __int personality(unsigned long__ ''persona''__);__  
  
-  
-__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.  
  
-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. 
+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.  
  
-  
-__EINVAL__  
-  
-  
-''persona'' does not refer to a valid execution  
-domain.  
 !!FILES 
+''/usr/include/linux/personality.h''  
  
-  
-''/usr/include/linux/personality.h''  
 !!CONFORMING TO 
-  
-  
- __personality__ is Linux-specific and should not be used  
- in programs intended to be portable.  
-----  
+__personality__ is Linux-specific and should not be used in programs intended to be portable. 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.