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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ba8ec54d-586e-4bde-95c6-1dc2a9a937fb@arm.com>
Date: Wed, 18 Jun 2025 14:03:45 +0530
From: Anshuman Khandual <anshuman.khandual@....com>
To: David Hildenbrand <david@...hat.com>, linux-mm@...ck.org
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
 Rasmus Villemoes <linux@...musvillemoes.dk>,
 Sergey Senozhatsky <senozhatsky@...omium.org>, Petr Mladek
 <pmladek@...e.com>, Steven Rostedt <rostedt@...dmis.org>,
 Jonathan Corbet <corbet@....net>, Andrew Morton <akpm@...ux-foundation.org>,
 linux-kernel@...r.kernel.org, linux-doc@...r.kernel.org
Subject: Re: [RFC 1/2] lib/vsprintf: Add support for pte_t



On 18/06/25 1:49 PM, David Hildenbrand wrote:
>> +    case 'p':
>> +        if (fmt[1] == 't' && fmt[2] == 'e') {
>> +            pte_t *pte = (pte_t *)ptr;
>> +
>> +            spec.field_width = 10;
>> +            spec.precision = 8;
>> +            spec.base = 16;
>> +            spec.flags = SPECIAL | SMALL | ZEROPAD;
>> +            if (sizeof(pte_t) == sizeof(u64)) {
>> +                u64 val = pte_val(*pte);
>> +
>> +                return number(buf, end, val, spec);
>> +            }
>> +            WARN_ONCE(1, "Non standard pte_t\n");
> 
> What about 32bit with 32bit pte_t?

Ahh, missed that. Just wondering which all platforms might
care about the 32 bit pte representation.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ