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: <ea8d860a0808131248g31ffb10g37b14dc8af89038c@mail.gmail.com>
Date:	Wed, 13 Aug 2008 20:48:19 +0100
From:	"Marcin Obara" <marcin_obara@...rs.sourceforge.net>
To:	"Greg KH" <greg@...ah.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Intel Management Engine Interface

2008/8/13 Greg KH <greg@...ah.com>:
>> GET_VERSION is called frequently
>
> Why?  Shouldn't it only be called once?
Once per connection. But you can have many clients connecting.

>> With ioctl - only one file handle is used, and userspace client logic
>> is simpler.
>
> But the kernel is messier and we are trying to not add any more ioctls
> to it.  Especially for trivial things like the version number of the
> hardware device.
It's rather protocol version (=running software version) supported by
hardware device.
Hmmm, I just didn't know that there is something wrong with ioctls.

>> Normal flow looks like:
>>
>> open
>> ioctl(GET_VERSION)
>
> Great, do an additional open/read/close here for the version, I think
> you will find it pretty trivial to do :)
Right, it's trivial.... but will make userspace source code messier and bigger.

Btw. I know we have powerful CPUs... but small wasting resources is
still wasting resources... so we still need new CPUs :-).

Regards
Marcin
--
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