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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 31 Mar 2007 22:55:43 +0200
From:	Adrian Bunk <bunk@...sta.de>
To:	Andrew Morton <akpm@...ux-foundation.org>,
	Miklos Szeredi <mszeredi@...e.cz>
Cc:	linux-kernel@...r.kernel.org
Subject: [-mm patch] make struct proc_fdinfo_file_operations static

On Fri, Mar 30, 2007 at 01:05:59AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.21-rc5-mm2:
>...
> +add-file-position-info-to-proc.patch
> 
>  /proc feature work
>...


This patch makes the needlessly global
struct proc_fdinfo_file_operations static.

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

--- linux-2.6.21-rc5-mm3/fs/proc/base.c.old	2007-03-31 22:07:21.000000000 +0200
+++ linux-2.6.21-rc5-mm3/fs/proc/base.c	2007-03-31 22:07:30.000000000 +0200
@@ -1515,7 +1515,7 @@
 	return err;
 }
 
-const struct file_operations proc_fdinfo_file_operations = {
+static const struct file_operations proc_fdinfo_file_operations = {
 	.open		= nonseekable_open,
 	.read		= proc_fdinfo_read,
 };

-
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