Telekomunikasi Sains    
   
Daftar Isi
(Sebelumnya) Bin (computational geometry)Binary code (Berikutnya)

Binary blob

In the context of open source software, a binary blob is a closed source binary-only driver without publicly available source code. The term usually refers to closed-source kernel module loaded into the kernel of an open source operating system, and is usually not applied to code running outside the kernel, such as BIOS code, firmware images, or userland programs. The term Blob was first used in database management system to describe a collection of binary data stored as single entity.

When computer hardware vendors provide complete technical documentation for their products, operating system developers are able to write hardware device drivers to be included in the operating system kernels. However, some vendors, such as NVIDIA, do not provide complete documentation for some of their products and instead provide binary-only drivers (binary blobs); this practice is most common for accelerated graphics drivers, networking devices and RAID controllers.[1]

Contents

Acceptance

Some projects try to create a free operating system, and will not accept binary blobs if they cannot get documentation for hardware or source code for device drivers. Such projects include NetBSD, FreeBSD, DragonFly BSD, and most GNU/Linux distributions.[2]

The OpenBSD project has a notable policy of not accepting any binary blobs into its source tree, citing not only the potential for undetectable or irreparable security flaws, but also the encroachment onto the openness and freedom of its software.[3]

The Free Software Foundation (FSF) is actively campaigning against binary blobs.[4] It also considers OpenBSD's policy flawed, as 'blobs' in the BSD community refer to what it considers non-free drivers, and not non-free firmware.[5]

The Debian project includes both free and non-free binary firmware blobs from the Linux kernel, but it clearly marks and separates the non-free packages[6] according to the Debian Social Contract.

For OpenBSD, project leader Theo de Raadt defends the policy of only asking for distribution rights for microcode firmware blobs. "Once they are distributed... at least the device works." Implying that the alternative would be for the members of his small project to code free firmware themselves in the assembly language of many chipsets, he pleads "don't load us up with more tasks." Despite this he favours chipsets that run without firmware and speaks warmly of Asian designs which he describes as slower to market but more mature.[3]

In the Linux kernel development community, Linus Torvalds has made strong statements on the issue of binary-only modules, asserting: "I refuse to even consider tying my hands over some binary-only module", and continuing: "I want people to know that when they use binary-only modules, it's THEIR problem".[7] In 2008, 176 Linux kernel developers signed a Position Statement on Linux Kernel Modules that stated "We, the undersigned Linux kernel developers, consider any closed-source Linux kernel module or driver to be harmful and undesirable... We have repeatedly found them to be detrimental to Linux users, businesses, and the greater Linux ecosystem."[8]

Legality

Prominent Linux kernel developer Greg Kroah-Hartman has stated that it is illegal to redistribute closed source modules for the GPL-licensed Linux kernel.[9]

Problems

There are a number of reasons why binary blobs can cause problems.[10]

Firstly, their precise operation is not known and bugs cannot be detected by auditing source code, but are frequently only diagnosed by painstaking detective work when a system begins to behave unexpectedly. Such undetected bugs may also silently expose users and systems to security hazards. The fitness for purpose of the driver thus cannot be checked, and even if a bug is found there is no way to fix it.

Secondly because the source code is not available the driver cannot be improved by its users, nor ported from one architecture to another not originally supported, nor adapted to operate slight variants of the hardware.

Finally, users are forced to trust vendors or malicious third parties not to put backdoors and spyware into the blob. Again on the theme of trust, the hardware vendor can decide not to support some operating systems, or to abandon driver maintenance at any time, or simply go out of business leaving the driver in limbo.

Use via wrappers

A wrapper is software which allows one operating system to use a binary blob driver written for another operating system. Examples of wrappers are NdisWrapper for Linux, and Project Evil for FreeBSD and NetBSD. These wrappers allow these operating systems to use network drivers written for Microsoft Windows by implementing Microsoft's NDIS API.

Device firmware

Firmware, the software required by the onboard microcontrollers that accompany some hardware, is generally not considered to be a binary blob. In many devices, firmware is stored in non-volatile onboard flash memory, but to decrease costs and ease upgrades, some devices contain only static RAM and require the host operating system to upload firmware each time they are connected (especially USB devices). Although the firmware is thus present in the operating system driver, it is merely copied to the device and not executed by the CPU, lessening concerns about hidden security flaws. The OpenBSD project accepts binary firmware images and will redistribute these images if the license permits.[11]

BIOS

The BIOS, which functions as a bootloader and supports legacy real mode applications, is a crucial component of many IBM-compatible computers. The BIOS is always 16-bit, often has networking functions, and can be a security backdoor (sometimes deliberate,[12][13] and the operating system has no control over this backdoor).[14] The FSF promotes coreboot in its campaign for free BIOS firmware.[15]

See also

References

  1. ^ "Debian packages built from the source package 'firmware-nonfree' - Binary firmware for various drivers in the Linux kernel". 2010. http://packages.debian.org/source/sid /firmware-nonfree. Retrieved 2010-03-25.
  2. ^ Matzan, Jem (15 June 2005). "BSD cognoscenti on Linux". NewsForge. http://os.newsforge.com/os/05/06/09/2 132233.shtml?tid=8&tid=2. Retrieved 2006-07-07. See Christos Zoulas's response to "Is sharing between Free/Open/NetBSD and the Linux kernel a common occurrence? And if so, does it go both ways?"
  3. ^ a b Andrews, Jeremy (2006-05-02), "Interview: Theo de Raadt", KernelTrap (Jeremy Andrews), http://kerneltrap.org/node/6550
  4. ^ "Protest against ATI nearly led to the arrest of RMS". Free Software Foundation. 27 April 2006. http://www.fsf.org/blogs/community/rm s-ati-protest.html. Retrieved 2006-10-10.
  5. ^ "Explaining Why We Don't Endorse Other Systems". GNU Project. July 13, 2011. http://www.gnu.org/distros/common-dis tros.html#BSD. Retrieved 2011-09-10.
  6. ^ "Debian firmware-linux packages". 2010. http://packages.debian.org/firmware-l inux. Retrieved 2010-03-25.
  7. ^ Linus Torvalds, kernel mailing list, Feb 7, 1999.
  8. ^ Greg Kroah-Hartman (2008-06). "A position statement on Linux Kernel Modules". The Linux Foundation. http://lwn.net/Articles/287056/.
  9. ^ Greg Kroah-Hartman (2006). "Myths, Lies, and Truths about the Linux kernel". Linux Symposium. http://www.kroah.com/log/linux/ols_20 06_keynote.html. "So, here's the simple answer to this issue: Closed source Linux kernel modules are illegal. That's it, it is very simple. I've had the misfortune of talking to a lot of different IP lawyers over the years about this topic, and every one that I've talked to all agree that there is no way that anyone can create a Linux kernel module, today, that can be closed source. It just violates the GPL due to fun things like derivative works and linking and other stuff. Again, it's very simple. Now no lawyer will ever come out in public and say this, as lawyer really aren't allowed to make public statements like this at all. But if you hire one, and talk to them in the client/lawyer setting, they will advise you of this issue."
  10. ^ Andrews, Jeremy (2006-04-19). "Interview with Jonathan Gray and Damien Bergamini". kerneltrap.org. http://kerneltrap.org/node/6497. Retrieved 2008-01-06.
  11. ^ "OpenBSD Works To Open Wireless Chipsets". KernelTrap. November 2, 2004. http://kerneltrap.org/node/4118. Retrieved 2006-06-23.
  12. ^ http://www.intel.com/content/www/us/e n/architecture-and-technology/vpro/vp ro-technology-general.html
  13. ^ http://www.absolute.com/en/partners/b ios-compatibility.aspx
  14. ^ as per IBM PC specs
  15. ^ "Campaign for Free BIOS". Free Software Foundation. 2006-11-29. http://www.fsf.org/campaigns/free-bio s.html. Retrieved 2007-01-02.

External links

(Sebelumnya) Bin (computational geometry)Binary code (Berikutnya)