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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 02 May 2013 00:31:39 -0400
From:	Shea Levy <>
To:	"Serge E. Hallyn" <>
CC:	"Eric W. Biederman" <>,
	Serge Hallyn <>,
Subject: Re: Linux 3.8.9 Build Failure in user_namespace.c

On 4/29/13 4:56 PM, Serge E. Hallyn wrote:
> Quoting (
>> Hi All,
>> I just hit the following error trying to build 3.8.9:
>> /nix/store/vkvwpn6f7iff6zqrq2d9z2a1945pcsza-linux-3.8.9-source/kernel/user_namespace.c:
>> In function 'map_write':
>> /nix/store/vkvwpn6f7iff6zqrq2d9z2a1945pcsza-linux-3.8.9-source/kernel/user_namespace.c:582:2:
>> error: implicit declaration of function 'file_ns_capable'
>> [-Werror=implicit-function-declaration]
>> cc1: some warnings being treated as errors
>> Below is my .config, below that the build log.
> I'm looking at 3.9.  file_ns_capable() is declared in capability.h, which gets
> included into user_namespace.c through cred.h.  I did also try building with
> CONFIG_SECURITY=n and CONFIG_USER_NS=y as you have it, but build succeeded,
> as I would expect given how it is included.

It turned out to be a commit Greg missed in 3.8.9, it was fixed in 3.8.10.

> Do you have any custom patches applied by chance?
> -serge

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists