Quoting shea@xxxxxxxxxxxx (shea@xxxxxxxxxxxx):Hi All,I'm looking at 3.9. file_ns_capable() is declared in capability.h, which gets
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.
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.
Do you have any custom patches applied by chance?
-serge