lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 21 Feb 2010 00:02:29 +0000 From: "Dr. David Alan Gilbert" <linux@...blig.org> To: Andi Kleen <andi@...stfloor.org> Cc: "Nikita V. Youshchenko" <yoush@...msu.su>, LKML <linux-kernel@...r.kernel.org> Subject: Re: Extended error reporting to user space? * Andi Kleen (andi@...stfloor.org) wrote: > > I'd wondered about some form of halfway house where the error > > value is expanded but could be truncated for compatibility - i.e. > > Who would do the truncation? I'd assumed something like the code in entry*.S or equivalent for existing syscalls, but have another entry that would pass it through to a newer libc that new how to handle it. > > if at the moment we had: > > > > return -EINVAL; > > > > it would become: > > > > return ERRORNUM(EINVAL, BADLENGTH); > > x86 only has about 12 bits in the current ABI btw. Ah yes I can see that now, hmm. Dave -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \ \ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex / \ _________________________|_____ http://www.treblig.org |_______/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists