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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 15 May 2016 11:05:16 -0700 From: Linus Torvalds <torvalds@...ux-foundation.org> To: David Miller <davem@...emloft.net> Cc: Eric Dumazet <eric.dumazet@...il.com>, Willy Tarreau <w@....eu>, Network Development List <netdev@...r.kernel.org> Subject: Re: [PATCH] nf_conntrack: avoid kernel pointer value leak in slab name On Sat, May 14, 2016 at 2:31 PM, Linus Torvalds <torvalds@...ux-foundation.org> wrote: > > "u64" is indeed "unsigned long long" on x86 and many other > architectures, but on alpha and ia64 it's just "unsigned long". Actually, I take that back. In the kernel, it seems to always be "unsigned long long", even on alpha and ia64. We do have a "int-l64.h" file that typedef's __u64 to be just unsigned long, and yes, that file is included for alpha and ia64, but it seems that that only happens when __KERNEL__ is not defined. So it does seem like using "%ull" and u64 is fine. Not in general, but inside the kernel it's ok. Linus
Powered by blists - more mailing lists