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: <adak5gy70hh.fsf@cisco.com>
Date:	Mon, 09 Jun 2008 14:38:18 -0700
From:	Roland Dreier <rdreier@...co.com>
To:	steiner@....com
Cc:	akpm@...l.org, linux-kernel@...r.kernel.org, mingo@...e.hu,
	tglx@...utronix.de, holt@....com, andrea@...ranet.com
Subject: Re: [patch 03/11] GRU Driver - driver internal header files

 > +/*
 > + * Structure used to pass TLB flush parameters to the driver
 > + */
 > +struct gru_flush_tlb_req {
 > +	unsigned long	gseg;
 > +	unsigned long	vaddr;
 > +	size_t		len;
 > +};

This and other data structures you pass into the kernel via ioctl() are
not 32/64 clean.  So a 32-bit process (which can easily run on a 64-bit
x86-64 kernel) will end up sending garbage to the kernel.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ