JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... _SOURCE /* feature_test_macros (7) 参照 */ #include < sys/mman.h > int pkey_mprotect(void * addr , size_t len , int prot , int pkey ); 説明 mprotect () は、区間 [ addr , addr + len -1] のアドレス範囲 ... at grows downward (which should be a stack segment or a segment mapped with the MAP_GROWSDOWN flag set). Like mprotect (), pkey_mprotect () changes the protection on the pages specified by addr and len . The pkey argument specifies the protection key ... (see pkeys (7)) to assign to the memory. The protection key must be allocated with pkey_alloc (2) before it is passed to pkey_mprote ... ... _SOURCE /* feature_test_macros (7) 参照 */ #include < sys/mman.h > int pkey_mprotect(void * addr , size_t len , int prot , int pkey ); 説明 mprotect () は、区間 [ addr , addr + len -1] のアドレス範囲 ... at grows downward (which should be a stack segment or a segment mapped with the MAP_GROWSDOWN flag set). Like mprotect (), pkey_mprotect () changes the protection on the pages specified by addr and len . The pkey argument specifies the protection key ... (see pkeys (7)) to assign to the memory. The protection key must be allocated with pkey_alloc (2) before it is passed to pkey_mprote ... ... occurred (since Linux 3.19) */ void *si_upper; /* Upper bound when address violation occurred (since Linux 3.19) */ int si_pkey; /* Protection key on PTE that caused fault (since Linux 4.6) */ void *si_call_addr; /* Address of system call instruction ... る。 The SEGV_BNDERR suberror of SIGSEGV populates si_lower and si_upper . The SEGV_PKUERR suberror of SIGSEGV populates si_pkey . * SIGIO / SIGPOLL (2 つの名前は Linux では同義語) では si_band と si_fd が設定される。 si_band イベントは、 poll (2) が ... inux 3.19 以降) Failed address bound checks. SEGV_PKUERR (Linux 4.6 以降) Access was denied by memory protection keys. See pkeys (7). The protection key which applied to this access is available via si_pkey . SIGBUS シグナルの場合、 si_code には以下の ... ... occurred (since Linux 3.19) */ void *si_upper; /* Upper bound when address violation occurred (since Linux 3.19) */ int si_pkey; /* Protection key on PTE that caused fault (since Linux 4.6) */ void *si_call_addr; /* Address of system call instruction ... る。 The SEGV_BNDERR suberror of SIGSEGV populates si_lower and si_upper . The SEGV_PKUERR suberror of SIGSEGV populates si_pkey . * SIGIO / SIGPOLL (2 つの名前は Linux では同義語) では si_band と si_fd が設定される。 si_band イベントは、 poll (2) が ... inux 3.19 以降) Failed address bound checks. SEGV_PKUERR (Linux 4.6 以降) Access was denied by memory protection keys. See pkeys (7). The protection key which applied to this access is available via si_pkey . SIGBUS シグナルの場合、 si_code には以下の ... ... -64 のみ pidfd_getfd (2) 5.6 pidfd_send_signal (2) 5.1 pidfd_open (2) 5.3 pipe (2) 1.0 pipe2 (2) 2.6.27 pivot_root (2) 2.4 pkey_alloc (2) 4.8 pkey_free (2) 4.8 pkey_mprotect (2) 4.8 poll (2) 2.0.36; 2.2 ppoll (2) 2.6.16 prctl (2) 2.2 pread64 (2) 2.2 ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。