File: modify_ldt.2

package info (click to toggle)
manpages-ja 0.4.0.0.20000115-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 8,760 kB
  • ctags: 3
  • sloc: sh: 6,269; perl: 155; makefile: 55
file content (111 lines) | stat: -rw-r--r-- 3,030 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
.\" Hey Emacs! This file is -*- nroff -*- source.
.\"
.\" Copyright (c) 1995 Michael Chastain (mec@duracef.shout.net), 22 July 1995.
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
.\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
.\"         all rights reserved.
.\" Translated Sun Feb 23 16:35:28 JST 1997
.\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
.\"
.\"WORD:	ldt			ldt
.\"WORD:	local descriptor table	롦ǥץơ֥
.\"WORD:	processer		ץå
.\"WORD:	entry			ȥ
.\"
.TH MODIFY_LDT 2 "22 July 1995" "Linux 1.3.6" "Linux Programmer's Manual"
.SH ̾
modify_ldt \- ldt ޤϼ
.SH 
.nf
.B #include <linux/ldt.h>
.B #include <linux/unistd.h>
.sp
.B _syscall3( int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount )
.sp
.BI "int modify_ldt(int " "func" ", void *" "ptr" ", unsigned long " "bytecount" ");"
.fi
.SH 
.B modify_ldt
ϥץΥ롦ǥץơ֥(local descriptor table)(ldt)
ɤ߽񤭤롣
ldt  i386 ץåǻѤץȤΥơ֥Ǥ롣
Υơ֥˴ؤƤΤܤ Intel 386 processor handbook 
Ȥ뤳ȡ
.PP
.I func
 0 ʤС
.B modify_ldt
 ldt 
.IR ptr 
ؤƤɤ߹ࡣ
ɤ߹Хȿϼºݤ ldt Υ
.I bytecount
꾮Ǥ롣
.PP
.I func
 1 ʤС
.B modify_ldt
 ldt ȥΰĤѹ롣
.I ptr

.I modify_ldt_ldt_s
¤Τؤ
.I bytecount
Ϥι¤Τ礭ʤФʤʤ
.SH ֤
ϡ
.B modify_ldt
(ɤ߹ߤξ)ºݤɤ߹Хȿ
ޤ(񤭹ߤξ)֤
Ԥ
.B modify_ldt
 \-1 ֤
.IR errno 
ꤹ롣
.SH 顼
.TP
.B ENOSYS
.I func
 0 Ǥ 1 Ǥʤ
.TP
.B EINVAL
.I ptr
 0 Ǥ롢
ޤ
.I func
 1 
.I bytecount

.IR modify_ldt_ldt_s 
¤ΤΥʤ
.I func
 1 ǿ ldt ȥ꤬ͤǤ롣
.TP
.B EFAULT
.I ptr
ɥ쥹֤γؤƤ롣
.SH 
Υ Linux ͭǤꡢܿտޤץǤ
ѤƤϤʤ
.SH Ϣ
.BR vm86 (2)