[userns:userns-always-map-user-v44 77/99] include/linux/user_namespace.h:70:6: error: 'flags' undecl

From: Fengguang Wu <hidden>
Date: 2012-08-07 00:54:20

Hi Eric,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git userns-always-map-user-v44
head:   6558c48b60a8ae06e86ad4193a8cc0cc56b3b32d
commit: 7009ced73f927b12d46b1be4e6921921fcea4b42 [77/99] userns: Implement unshare of the user namespace
config: x86_64-randconfig-x580 (attached as .config)

All related error/warning messages:

In file included from include/linux/init_task.h:11:0,
                 from kernel/sched/core.c:73:
include/linux/user_namespace.h: In function 'unshare_userns':
include/linux/user_namespace.h:70:6: error: 'flags' undeclared (first use in this function)
include/linux/user_namespace.h:70:6: note: each undeclared identifier is reported only once for each function it appears in

vim +70 include/linux/user_namespace.h
    67	static inline int unshare_userns(unsigned long unshare_flags,
    68					 struct cred **new_cred)
    69	{
  > 70		if (flags & CLONE_NEWUSER)
    71			return -EINVAL;
    72		return 0;
    73	}

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu [off-list ref]                     Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help