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]
Message-Id: <1454889049-2303819-1-git-send-email-green@linuxhacker.ru>
Date:	Sun,  7 Feb 2016 18:50:49 -0500
From:	green@...uxhacker.ru
To:	David Airlie <airlied@...ux.ie>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:	dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
	Oleg Drokin <green@...uxhacker.ru>
Subject: [PATCH] drm: Export debugfs functionality for GPL code only

From: Oleg Drokin <green@...uxhacker.ru>

drm_debugfs_create_files and drm_debugfs_remove_files
should only be available for GPL-code only as per Greg-KH

Signed-off-by: Oleg Drokin <green@...uxhacker.ru>
---
 drivers/gpu/drm/drm_debugfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
index 3bcf8e6..17ae4ae 100644
--- a/drivers/gpu/drm/drm_debugfs.c
+++ b/drivers/gpu/drm/drm_debugfs.c
@@ -128,7 +128,7 @@ fail:
 	drm_debugfs_remove_files(files, count, minor);
 	return ret;
 }
-EXPORT_SYMBOL(drm_debugfs_create_files);
+EXPORT_SYMBOL_GPL(drm_debugfs_create_files);
 
 /**
  * Initialize the DRI debugfs filesystem for a device
@@ -209,7 +209,7 @@ int drm_debugfs_remove_files(const struct drm_info_list *files, int count,
 	mutex_unlock(&minor->debugfs_lock);
 	return 0;
 }
-EXPORT_SYMBOL(drm_debugfs_remove_files);
+EXPORT_SYMBOL_GPL(drm_debugfs_remove_files);
 
 /**
  * Cleanup the debugfs filesystem resources.
-- 
2.1.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ