Skip to contentSkip to conversation

binfmt_script.c: make struct script_format static (fwd) (fwd)

PATCH Adrian Bunk 1 participant 1 message Dec 14, 2004

lore
Share & tools
lore
#0 lore raw

The trivial patch by Chris Wright <[email protected]> forwarded below still applies against 2.6.10-rc3-mm1.

Please apply.

----- Forwarded message from Chris Wright <[email protected]> -----

Date: Tue, 7 Dec 2004 12:07:10 -0800
From: Chris Wright <[email protected]>
To: Adrian Bunk <[email protected]>
Cc: Andrew Morton <[email protected]>, [email protected]
Subject: Re: [2.6 patch] binfmt_script.c: make struct script_format static (fwd)

Quoted 4 lines · * Adrian Bunk ([email protected]) wrote:

The patch forwarded below still applies and compiles against 2.6.10-rc2-mm4.

Please apply.

Yup, also binfmt_em86.c (are there any users of it?).

thanks,
-chris

Signature · 22 lines
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net


Make em86_format static.

Signed-off-by: Chris Wright <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>

===== fs/binfmt_em86.c 1.8 vs edited =====
--- 1.8/fs/binfmt_em86.c	2004-05-10 04:25:55 -07:00
+++ edited/fs/binfmt_em86.c	2004-12-07 12:06:00 -08:00
@@ -95,7 +95,7 @@ static int load_em86(struct linux_binprm
 	return search_binary_handler(bprm, regs);
 }
 
-struct linux_binfmt em86_format = {
+static struct linux_binfmt em86_format = {
 	.module		= THIS_MODULE,
 	.load_binary	= load_em86,
 };

----- End forwarded message -----