public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] binfmt_script.c: make struct script_format static (fwd)
@ 2004-12-07 19:35 Adrian Bunk
  2004-12-07 20:07 ` Chris Wright
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2004-12-07 19:35 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

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

Please apply.



----- Forwarded message from Adrian Bunk <bunk@stusta.de> -----

Date:	Sat, 30 Oct 2004 18:42:48 +0200
From: Adrian Bunk <bunk@stusta.de>
To: linux-kernel@vger.kernel.org
Subject: [2.6 patch] binfmt_script.c: make struct script_format static


The patch below makes struct script_format in fs/binfmt_script.c static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.10-rc1-mm2-full/fs/binfmt_script.c.old	2004-10-30 13:53:00.000000000 +0200
+++ linux-2.6.10-rc1-mm2-full/fs/binfmt_script.c	2004-10-30 13:53:25.000000000 +0200
@@ -96,7 +96,7 @@
 	return search_binary_handler(bprm,regs);
 }
 
-struct linux_binfmt script_format = {
+static struct linux_binfmt script_format = {
 	.module		= THIS_MODULE,
 	.load_binary	= load_script,
 };

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] binfmt_script.c: make struct script_format static (fwd)
  2004-12-07 19:35 [2.6 patch] binfmt_script.c: make struct script_format static (fwd) Adrian Bunk
@ 2004-12-07 20:07 ` Chris Wright
  2004-12-07 20:41   ` Adrian Bunk
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Wright @ 2004-12-07 20:07 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andrew Morton, linux-kernel

* Adrian Bunk (bunk@stusta.de) 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
-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net


Make em86_format static.

Signed-off-by: Chris Wright <chrisw@osdl.org>

===== 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,
 };

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] binfmt_script.c: make struct script_format static (fwd)
  2004-12-07 20:07 ` Chris Wright
@ 2004-12-07 20:41   ` Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2004-12-07 20:41 UTC (permalink / raw)
  To: Chris Wright; +Cc: Andrew Morton, linux-kernel

On Tue, Dec 07, 2004 at 12:07:10PM -0800, Chris Wright wrote:
> * Adrian Bunk (bunk@stusta.de) 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?).

It's Alpha only.
That's why I didn't find this.

> thanks,
> -chris
> 
> Make em86_format static.
> 
> Signed-off-by: Chris Wright <chrisw@osdl.org>
> 
> ===== 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,
>  };

Looks good.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-07 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-07 19:35 [2.6 patch] binfmt_script.c: make struct script_format static (fwd) Adrian Bunk
2004-12-07 20:07 ` Chris Wright
2004-12-07 20:41   ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox