Unix-system-calls-arch-prctl
提供:Dev Guides
[top]#
|http://www.google.com/[Google] | a|
Web | This Site |
選択した読書 Copyright©2014 by finddevguides |
[cols=",,,,,,,",] |
| | Home | | References | | Discussion Forums | | About TP
[width="100%",cols="100%",] |
a| == arch_prctl()-Unix、Linuxシステムコール
[[File:]] image :http://www.finddevguides.com/images/next.gif [next] image:http://www.finddevguides.com/add- this.gif [AddThisソーシャルブックマークボタン]
広告
NAME
arch_prctl-アーキテクチャ固有のスレッド状態を設定する
概要
#include <asm/prctl.h> #include <sys/prctl.h> int arch_prctl(int code, unsigned long addr) |
説明
x86-64のサブ機能は次のとおりです。
Tag | Description |
---|---|
ARCH_SET_FS | Set the 64bit base for the FS register toaddr. |
ARCH_GET_FS | Return the 64bit base value for theFS register of the current thread in theunsigned long pointed to by the address parameter |
ARCH_SET_GS | Set the 64bit base for the GS register to addr. |
ARCH_GET_GS | Return the 64bit base value for the GS register of the current thread in the unsigned long pointed to by the address parameter. |
エラー
Tag | Description |
---|---|
EFAULT | addr points to an unmapped address or is outside the process address space. |
EINVAL | code is not a valid subcommand. |
EPERM | addr is outside the process address space. |
著者
Andi Kleenによって書かれたmanページ。
準拠
関連項目
[[File:]] image :http://www.finddevguides.com/images/next.gif [next] [[File:]]
広告
|
[cols="^",] |
|Advertisements