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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1303206199-852-1-git-send-email-miklos@szeredi.hu>
Date:	Tue, 19 Apr 2011 11:43:18 +0200
From:	Miklos Szeredi <miklos@...redi.hu>
To:	viro@...IV.linux.org.uk
Cc:	linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
	apw@...onical.com, nbd@...nwrt.org, neilb@...e.de,
	hramrach@...trum.cz, Miklos Szeredi <mszeredi@...e.cz>
Subject: [PATCH 1/2] ovl: fix missing include

From: Miklos Szeredi <mszeredi@...e.cz>

  CC [M]  fs/overlayfs/copy_up.o
fs/overlayfs/copy_up.c: In function 'ovl_read_symlink':
fs/overlayfs/copy_up.c:135:2: error: implicit declaration of function 'get_fs'
fs/overlayfs/copy_up.c:135:9: error: incompatible types when assigning to type 'mm_segment_t' from type 'int'
fs/overlayfs/copy_up.c:136:2: error: implicit declaration of function 'set_fs'
fs/overlayfs/copy_up.c:136:2: error: implicit declaration of function 'get_ds'

Reported-by: Michal Suchanek <hramrach@...trum.cz>
Signed-off-by: Miklos Szeredi <mszeredi@...e.cz>
---
 fs/overlayfs/copy_up.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/overlayfs/copy_up.c b/fs/overlayfs/copy_up.c
index fb9962c..308a80a 100644
--- a/fs/overlayfs/copy_up.c
+++ b/fs/overlayfs/copy_up.c
@@ -13,6 +13,7 @@
 #include <linux/splice.h>
 #include <linux/xattr.h>
 #include <linux/security.h>
+#include <linux/uaccess.h>
 #include "overlayfs.h"
 
 #define OVL_COPY_UP_CHUNK_SIZE (1 << 20)
-- 
1.7.1

--
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