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] [day] [month] [year] [list]
Message-ID: <20160116100309.GB2129@nanopsycho.orion>
Date:	Sat, 16 Jan 2016 11:03:09 +0100
From:	Jiri Pirko <jiri@...nulli.us>
To:	Edward Cree <ecree@...arflare.com>
Cc:	netdev <netdev@...r.kernel.org>,
	linux-net-drivers <linux-net-drivers@...arflare.com>
Subject: Re: sfc userland MCDI - request for guidance

Fri, Jan 15, 2016 at 06:34:04PM CET, ecree@...arflare.com wrote:
>I have a design problem with a few possible solutions and I'd like some
> guidance on which ones would be likely to be acceptable.
>
>The sfc driver communicates with the hardware using a protocol called MCDI -
> Management Controller to Driver Interface - and for various reasons
> (ranging from test automation to configuration utilities) we would like to
> be able to do this from userspace.  We currently have two ways of handling
> this, neither of which is satisfactory.

It is wrong to send commands to HW directly to userspace. Please, do
proper in-kernel vendor neutral feature abstraction and the implement
in your driver. That is how things work. Userspace->HW bypass
is simply unacceptable.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ