On Sat, May 11, 2013 at 2:26 PM, richard -rw- weinberger <richard.weinber...@gmail.com> wrote: > On Sat, May 11, 2013 at 1:01 PM, Sergei Trofimovich <sly...@gmail.com> wrote: >>> With this change: >>> >>> diff --git a/fs/namespace.c b/fs/namespace.c >>> index 7b1ca9b..289211d 100644 >>> --- a/fs/namespace.c >>> +++ b/fs/namespace.c >>> @@ -2236,6 +2236,8 @@ int copy_mount_string(const void __user *data, char >>> **where) >>> return 0; >>> } >>> >>> + printk(" here: size is %ul\n", (unsigned long)data); >> >> Be careful, it's long->int truncation. I guess you want '%lu' instead of >> '%ul'. > > Toralf, please use the attached patch. > Maybe it helps us. > In theory we call kmalloc() with at most PAGE_SIZE, which is okay.
fixing -ENOATTACHMENT... -- Thanks, //richard
debug.patch
Description: Binary data
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel