This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add support for Linux error EHWPOISON
- From: KOSAKI Motohiro <kosaki dot motohiro at gmail dot com>
- To: libc-alpha at sourceware dot org
- Cc: kosaki dot motohiro at gmail dot com
- Date: Mon, 20 Feb 2012 16:36:30 -0500
- Subject: Re: [PATCH] Add support for Linux error EHWPOISON
- Authentication-results: mr.google.com; spf=pass (google.com: domain of kosaki.motohiro@gmail.com designates 10.68.208.136 as permitted sender) smtp.mail=kosaki.motohiro@gmail.com; dkim=pass header.i=kosaki.motohiro@gmail.com
- References: <m2ty2mokc3.fsf@igel.home>
> +@comment errno.h
> +@comment Linux: Memory page has hardware error
> +@deftypevr Macro int EHWPOISON
> +@comment errno ???/???
Just note. Several syscalls (e.g. ptrace, mlock, futex) take a
memory address argument and kernel might detect a memory which
pointed by it are corrupted. At that time, kernel return EHWPOISON.
But, I'm not sure texinfo should describe such very detail and
internal thing or not. just fyi.