Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415025 - sys-kernel/hardened-sources-2.6.32-r108 fails to compile: security/commoncap.c:527:22: error: ‘PER_CLEAR_ON_SETID’ undeclared
Summary: sys-kernel/hardened-sources-2.6.32-r108 fails to compile: security/commoncap....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-07 15:23 UTC by Dennis Schridde
Modified: 2012-06-22 00:38 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (r106) (build.log,27.35 KB, text/plain)
2012-06-02 22:59 UTC, Dennis Schridde
Details
config (r106) (hardened-sources-2.6.32-r106.config,45.67 KB, text/plain)
2012-06-02 23:03 UTC, Dennis Schridde
Details
build.log (r108) (build.log,26.76 KB, text/plain)
2012-06-11 10:20 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2012-05-07 15:23:05 UTC
security/commoncap.c: In function ‘cap_bprm_set_creds’:
security/commoncap.c:527:22: error: ‘PER_CLEAR_ON_SETID’ undeclared (first use in this function)
security/commoncap.c:527:22: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [security/commoncap.o] Error 1

Config should be the same as in attachment #308147 [details].

Reproducible: Always
Comment 1 Agostino Sarubbo gentoo-dev 2012-05-07 15:49:27 UTC
can you add full log?
Comment 2 Dennis Schridde 2012-05-07 20:13:44 UTC
(In reply to comment #1)
> can you add full log?
Is "make clean && make > build.log" enough, or is that not "full"?
Comment 3 Dennis Schridde 2012-06-02 22:59:30 UTC
Created attachment 313981 [details]
build.log (r106)

Persists in r106.
Comment 4 Dennis Schridde 2012-06-02 23:03:02 UTC
Created attachment 313983 [details]
config (r106)
Comment 5 Anthony Basile gentoo-dev 2012-06-10 19:49:37 UTC
Is this still there on the latest?
Comment 6 Dennis Schridde 2012-06-11 10:20:11 UTC
Created attachment 314963 [details]
build.log (r108)

Persists in r108, config is the same as with r106, build.log attached.
Comment 7 Brad Spengler 2012-06-11 21:27:47 UTC
Hi, sorry today was the first day I saw this.  I've fixed it and will release new patches tonight.  security/commoncap.c just needed an #include <linux/personality.h> -- it was included through some different header on architectures other than ia64.

-Brad
Comment 8 Dennis Schridde 2012-06-11 22:57:16 UTC
(In reply to comment #7)
Thanks!
Comment 9 Dennis Schridde 2012-06-22 00:38:07 UTC
Fixed in r111 (or earlier).