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-next>] [day] [month] [year] [list]
Date:	Sun, 6 Aug 2006 20:57:23 -0600
From:	Matthew Wilcox <matthew@....cx>
To:	Greg KH <greg@...ah.com>
Cc:	linux-kernel@...r.kernel.org
Subject: dev_printk() is now GPL-only


Does dev_driver_string() really need to be GPL-only?  Up to this point,
proprietary modules have been entitled to call dev_printk(), but now:

#define dev_printk(level, dev, format, arg...)  \
        printk(level "%s %s: " format , dev_driver_string(dev) , (dev)->bus_id , ## arg)

with

EXPORT_SYMBOL_GPL(dev_driver_string);

means that they're not allowed to.

On a related note, one might wonder if

        return dev->driver ? dev->driver->name :
	                        (dev->bus ? dev->bus->name : "");

really qualifies for the full weight of copyright enforcement, and query
whether using it makes your driver a derived work.  Particularly since
all one is doing is asking the kernel for a nice printk prefix and know
nothing about the innards of the device model.

-
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