*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> personality (2)              
Title
Content
Arch
Section
 

PERSONALITY(2)

Contents


NAME    [Toc]    [Back]

       personality - set the process execution domain

SYNOPSIS    [Toc]    [Back]

       int personality(unsigned long persona);

DESCRIPTION    [Toc]    [Back]

       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    [Toc]    [Back]

       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    [Toc]    [Back]

       EINVAL persona does not refer to a valid execution domain.

FILES    [Toc]    [Back]

       /usr/include/linux/personality.h

CONFORMING TO    [Toc]    [Back]

       personality is Linux-specific  and  should  not	be  used  in  programs
       intended to be portable.



Linux 2.0			  1996-07-22			PERSONALITY(2)
[ Back ]
 Similar pages
Name OS Title
rad_bind_pid Tru64 Attaches or binds a process to a Resource Affinity Domain by process ID (libnuma library)
rad_attach_pid Tru64 Attaches or binds a process to a Resource Affinity Domain by process ID (libnuma library)
pxfsleep IRIX Delays process execution
ptrace Tru64 Trace the execution of a child process
pxfpause IRIX Suspends process execution until signal
sleep OpenBSD suspend process execution for interval of seconds
sleep NetBSD suspend process execution for interval of seconds
nanosleep Tru64 Suspends a process from execution for the specified timer interval (P1003.1b)
nanosleep FreeBSD suspend process execution for an interval measured in nanoseconds
sleep FreeBSD suspend process execution for an interval measured in seconds
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service