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, 14 Oct 2007 13:04:31 +0200 (CEST)
From:	Jiri Kosina <jkosina@...e.cz>
To:	Andrew Morton <akpm@...ux-foundation.org>,
	Hidehiro Kawai <hidehiro.kawai.ez@...achi.com>
Cc:	linux-kernel@...r.kernel.org
Subject: [PATCH] remove GPL restriction from set_dumpable()

From: Jiri Kosina <jkosina@...e.cz>

remove GPL restriction from set_dumpable()

Commit 6c5d5238 introduced a set_dumpable() function that replaced the 
direct access to mm_struct->dumpable. I don't think there is any reason to 
restrict this function to EXPORT_SYMBOL_GPL() -- previously any module 
could modify current->mm->dumpable without any resitrictions, so it makes 
a little sense to turn this into 'internal interface' at once.

There in fact are 3rd party modules that modify the dumpable flag, and 
this patch should fix the situation for them once again (for example 
vmware).

Signed-off-by: Jiri Kosina <jkosina@...e.cz>

diff --git a/fs/exec.c b/fs/exec.c
index 073b0b8..a204720 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1699,7 +1699,7 @@ void set_dumpable(struct mm_struct *mm, int value)
 		break;
 	}
 }
-EXPORT_SYMBOL_GPL(set_dumpable);
+EXPORT_SYMBOL(set_dumpable);
 
 int get_dumpable(struct mm_struct *mm)
 {
-
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