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: <CAMP44s25aRcK2bB=WLMkuD45fztFBNug8prArczRqZqzeEvj3A@mail.gmail.com>
Date:	Thu, 1 Aug 2013 12:37:04 -0500
From:	Felipe Contreras <felipe.contreras@...il.com>
To:	Matthew Garrett <mjg59@...f.ucam.org>
Cc:	"Rafael J. Wysocki" <rjw@...k.pl>, Aaron Lu <aaron.lwe@...il.com>,
	linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
	Len Brown <lenb@...nel.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [REGRESSION/PATCH] acpi: blacklist win8 OSI for ASUS Zenbok Prime UX31A

On Wed, Jul 31, 2013 at 1:47 PM, Matthew Garrett <mjg59@...f.ucam.org> wrote:
> On Wed, Jul 31, 2013 at 01:07:57PM -0500, Felipe Contreras wrote:
>> If we can make the software behave consistently for 99% of the
>> machines out there instead of only 90%, that's better.
>
> If we can't make an interface 100% consistent, we shouldn't pretend that
> the interface is 100% consistent. We can't, and so we don't. Setting a
> backlight value of 0 may turn the screen off, and userspace needs to
> deal with that.

This is insanity; we can never guarantee 100% of anything.

Better is better. And 99% is better than 90%

% git grep quirks | wc -l
1585

Moreover, Linux already does quirks, and when there are quirks it
means there's no 100% guarantee of the thing working as it should;
hence the need for quirks, which is never complete, never 100%.

Anyway, screw the users, right? All you care about is that the code
looks good to you.

If we care about the users, we would provide a consistent interface,
where 0 means the same thing on all the backlight drivers. If all we
can do is provide this consistency 99% of the time through quirks,
that is the way to go.

-- 
Felipe Contreras
--
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