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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20111220113112.7db5cb344aa1f7fc33734cc8@canb.auug.org.au>
Date:	Tue, 20 Dec 2011 11:31:12 +1100
From:	Stephen Rothwell <sfr@...b.auug.org.au>
To:	Al Viro <viro@...IV.linux.org.uk>
Cc:	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: linux-next: build failure after merge of the vfs tree

Hi Al,

After merging the vfs tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

In file included from ipc/util.c:28:0:
include/linux/security.h: In function 'security_real_capable':
include/linux/security.h:1885:2: error: implicit declaration of function '__task_cred' [-Werror=implicit-function-declaration]
include/linux/security.h:1885:2: warning: passing argument 2 of 'cap_capable' makes pointer from integer without a cast [enabled by default]
include/linux/security.h:69:12: note: expected 'const struct cred *' but argument is of type 'int'
include/linux/security.h: In function 'security_real_capable_noaudit':
include/linux/security.h:1897:11: warning: passing argument 2 of 'cap_capable' makes pointer from integer without a cast [enabled by default]
include/linux/security.h:69:12: note: expected 'const struct cred *' but argument is of type 'int'
In file included from kernel/groups.c:7:0:

So security.h needs to include linux/cred.h ...

include/linux/security.h: In function 'security_real_capable':
include/linux/security.h:1885:25: error: dereferencing pointer to incomplete type
include/linux/security.h:1885:25: error: dereferencing pointer to incomplete type
include/linux/security.h:1885:25: error: dereferencing pointer to incomplete type
include/linux/security.h:1885:25: error: dereferencing pointer to incomplete type
include/linux/security.h:1885:25: error: dereferencing pointer to incomplete type

And linux/cred.h needs to include linux/sched.h :-(

Caused by commit ae1a442f9d95 ("trim security.h").

I have used the vfs tree form next-20111216 again today.
-- 
Cheers,
Stephen Rothwell                    sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ