arm64: Request to add error code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
i'm new to the list (my first kernel mailing list).
I'd like to request to add a way to distinguish a read from a write pagefault in userspace on arm64(aarch64).
(That's e.g. in a SIGSEGV handler attached with sigaction and SA_SIGINFO)
On arm you can use the bit at 0x800 in uc_mcontext.error_code to know which kind it is, but on arm64 i can't find a way.
(On most other popular architectures you can get that information, too)
I'd suggest to add a flag to siginfo.si_errno, or to make the esr available to the SIGSEGV handler.
Any hints or suggestions?

-- 

Best Regards, André Hentschel
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux