OSDN Git Service

(split) LDP v3.24 -> v3.29 の定型的な変更内容を反映。
[linuxjm/LDP_man-pages.git] / release / man2 / personality.2
1 .\" Copyright (C) 1995, Thomas K. Dyas <tdyas@eden.rutgers.edu>
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" Created   Sat Aug 21 1995     Thomas K. Dyas <tdyas@eden.rutgers.edu>
24 .\"
25 .\" typo corrected, aeb, 950825
26 .\" added layout change from joey, 960722
27 .\" changed prototype, documented 0xffffffff, aeb, 030101
28 .\" Modified 2004-11-03 patch from Martin Schulze <joey@infodrom.org>
29 .\"
30 .\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
31 .\"         all rights reserved.
32 .\" Translated 1997-02-23, HANATAKA Shinya <hanataka@abyss.rim.or.jp>
33 .\" Updated 2003-04-24, Kentaro Shirakata <argrath@ub32.org>
34 .\" Updated 2007-05-04, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
35 .\"
36 .\"WORD:        process                 ¥×¥í¥»¥¹
37 .\"WORD:        execution domain        ¼Â¹Ô¥É¥á¥¤¥ó
38 .\"WORD:        personality             ¥Ñ¡¼¥½¥Ê¥ê¥Æ¥£
39 .\"WORD:        binary                  ¥Ð¥¤¥Ê¥ê
40 .\"WORD:        operating system        ¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¡¦¥·¥¹¥Æ¥à
41 .\"
42 .TH PERSONALITY 2 2003-01-01 "Linux" "Linux Programmer's Manual"
43 .SH Ì¾Á°
44 personality \- ¥×¥í¥»¥¹¤ò¼Â¹Ô¤¹¤ë¥É¥á¥¤¥ó¤òÀßÄꤹ¤ë
45 .SH ½ñ¼°
46 .B #include <sys/personality.h>
47 .sp
48 .BI "int personality(unsigned long " persona );
49 .SH ÀâÌÀ
50 Linux ¤Ï¡¢¥×¥í¥»¥¹Ëè¤Î°Û¤Ê¤ë¼Â¹Ô¥É¥á¥¤¥ó¡¢¤¹¤Ê¤ï¤Á
51 ¥Ñ¡¼¥½¥Ê¥ê¥Æ¥£ (personality) ¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¡£
52 ¼Â¹Ô¥É¥á¥¤¥ó¤Ï Linux ¤Ë¥·¥°¥Ê¥ëÈÖ¹æ¤Ë¤É¤Î¥·¥°¥Ê¥ë¤ò³ä¤êÉÕ¤±¤ë¤«¤ò
53 ¶µ¤¨¤¿¤ê¤¹¤ë¡£¤Þ¤¿¡¢¼Â¹Ô¥É¥á¥¤¥ó¡¦¥·¥¹¥Æ¥à¤Ë¤è¤ê¡¢
54 Linux ¤Ï¾¤Î UNIX É÷¤Î¥ª¥Ú¥ì¡¼¥Æ¥£¥ó¥°¡¦¥·¥¹¥Æ¥à¤Ç¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿
55 ¥Ð¥¤¥Ê¥ê¤ËÂФ¹¤ë¸ÂÄêŪ¤Ê¥µ¥Ý¡¼¥È¤òÄ󶡤·¤Æ¤¤¤ë¡£
56
57 .B personality ()
58 ´Ø¿ô¤Ï¡¢
59 .I persona
60 ¤¬ 0xffffffff ¤Î¾ì¹ç¤Ï¸½ºß¤Î
61 .B ¥Ñ¡¼¥½¥Ê¥ê¥Æ¥£
62 ¤òÊÖ¤¹¡£
63 ¤½¤ì°Ê³°¤Î¾ì¹ç¡¢
64 .I persona
65 ¤Ë¤è¤ê»²¾È¤µ¤ì¤ë¼Â¹Ô¥É¥á¥¤¥ó¤ò¡¢
66 ¸Æ¤Ó½Ð¤·¸µ¤Î¥×¥í¥»¥¹¤Î¿·¤·¤¤¼Â¹Ô¥É¥á¥¤¥ó¤È¤¹¤ë¡£
67 .SH ÊÖ¤êÃÍ
68 À®¸ù¤·¤¿¾ì¹ç¡¢°ÊÁ°¤Î
69 .I persona
70 ¤¬ÊÖ¤µ¤ì¤ë¡£¥¨¥é¡¼¤Î¾ì¹ç¤Ï¡¢\-1 ¤¬ÊÖ¤µ¤ì¡¢
71 .I errno
72 ¤¬Å¬ÀÚ¤ËÀßÄꤵ¤ì¤ë¡£
73 .SH ¥¨¥é¡¼
74 .TP
75 .B EINVAL
76 ¥«¡¼¥Í¥ë¤¬¥Ñ¡¼¥½¥Ê¥ê¥Æ¥£¤òÊѹ¹¤Ç¤­¤Ê¤«¤Ã¤¿¡£
77 .SH ½àµò
78 .BR personality ()
79 ¤Ï Linux ¸ÇÍ­¤Ç¤¢¤ê¡¢°Ü¿¢¤ò°Õ¿Þ¤·¤¿¥×¥í¥°¥é¥à¤Ç»ÈÍѤ¹¤Ù¤­¤Ç¤Ï¤Ê¤¤¡£