Penguin
Blame: personality(2)
EditPageHistoryDiffInfoLikePages
Annotated edit history of personality(2) version 2 showing authors affecting page license. View with all changes included.
Rev Author # Line
1 perry 1 !!NAME
2 PerryLorier 2 personality - set the process execution domain
1 perry 3
4 !!SYNOPSIS
2 PerryLorier 5 __int personality(unsigned long__ ''persona''__);__
1 perry 6
7 !!DESCRIPTION
2 PerryLorier 8 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.
1 perry 9
2 PerryLorier 10 __personality__ will make the execution domain referenced by ''persona'' the new execution domain of the current process.
1 perry 11
12 !!RETURN VALUE
2 PerryLorier 13 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.
1 perry 14 !!ERRORS
2 PerryLorier 15 ;[EINVAL]: ''persona'' does not refer to a valid execution domain.
1 perry 16
17 !!FILES
2 PerryLorier 18 ''/usr/include/linux/personality.h''
1 perry 19
20 !!CONFORMING TO
2 PerryLorier 21 __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.

PHP Warning

lib/blame.php:177: Warning: Invalid argument supplied for foreach() (...repeated 6 times)