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: <1b519fca-e7e8-8cd0-81ea-8f57346b80d4@virtuozzo.com>
Date:   Thu, 25 Aug 2016 23:05:19 +0300
From:   Dmitry Safonov <dsafonov@...tuozzo.com>
To:     Dmitry Safonov <0x7f454c46@...il.com>
CC:     <linux-kernel@...r.kernel.org>, Ingo Molnar <mingo@...hat.com>,
        "Andy Lutomirski" <luto@...capital.net>,
        Thomas Gleixner <tglx@...utronix.de>,
        "H. Peter Anvin" <hpa@...or.com>, X86 ML <x86@...nel.org>,
        Oleg Nesterov <oleg@...hat.com>,
        Steven Rostedt <rostedt@...dmis.org>, <viro@...iv.linux.org.uk>
Subject: Re: [RFC 1/3] x86/vdso: create vdso file, use it for mapping

On 08/25/2016 10:49 PM, Dmitry Safonov wrote:
> 2016-08-25 18:21 GMT+03:00 Dmitry Safonov <dsafonov@...tuozzo.com>:
>> +static char *vdso_vma_name(struct dentry *dentry, char *buffer, int buflen)
>> +{
>> +       return "[vdso]";
>
> It should be:
> +       return dynamic_dname(dentry, buffer, buflen, "[vdso]");
> returned pointer should be inside buffer.
>

Funny thing: after this fixup, I can easily get vdso blob image with:
[root@...alhost ~]# dd 
if=/proc/11486/map_files/7ffd26596000-7ffd26598000 of=./vdso
16+0 records in
16+0 records out
8192 bytes (8.2 kB) copied, 0.000101732 s, 80.5 MB/s
[root@...alhost ~]# objdump -dS ./vdso | head

./vdso:     file format elf64-x86-64


Disassembly of section .text:

00000000000008d0 <__vdso_clock_gettime>:
  8d0:	55                   	push   %rbp
  8d1:	83 ff 01             	cmp    $0x1,%edi
  8d4:	48 89 e5             	mov    %rsp,%rbp


-- 
              Dmitry

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ