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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sun, 14 Oct 2018 02:11:26 +0200
From:   Eugene Syromiatnikov <esyr@...hat.com>
To:     tbhardwa@...eaurora.org
Cc:     "'Zhang, Ning A'" <ning.a.zhang@...el.com>,
        linux-kernel@...r.kernel.org, linux-media@...r.kernel.org
Subject: Re: question about V4L2_MEMORY_USERPTR on 64bit applications

On Fri, Oct 12, 2018 at 10:52:51AM +0530, tbhardwa@...eaurora.org wrote:
> (in 64 bit userspace long is 32-bit)

Not on Linux.

$ cat /tmp/c.c
int main(void)
{
        return sizeof(long);
}
$ gcc /tmp/c.c
$ ./a.out; echo $?
8
$ file ./a.out
./a.out: ELF 64-bit LSB pie executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked, interpreter /lib64/ld64.so.2, for GNU/Linux 3.10.0, BuildID[sha1]=dad78822e741b7900dc7568222822d5d63c31a6c, not stripped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ