Page 1 of 1
3.10.4 && grsecurity/gracl error
Posted:
Wed Jul 31, 2013 5:21 am
by rolan
Attempting to build kernel 3.10.4 (with most recent grsec for 3.10.3 ok)
Stock slackware current gcc version 4.8.1 (GCC)
...
CC grsecurity/grsum.o
CC grsecurity/gracl.o
grsecurity/gracl.c: In function ‘copy_user_glob’:
grsecurity/gracl.c:1126:3: error: implicit declaration of function ‘copy_acl_object_label_normal’ [-Werror=implicit-function-declaration]
if (copy_acl_object_label(g_tmp, *guser))
^
grsecurity/gracl.c: In function ‘count_user_subjs’:
grsecurity/gracl.c:1196:3: error: implicit declaration of function ‘copy_acl_subject_label_normal’ [-Werror=implicit-function-declaration]
if (copy_acl_subject_label(&s_tmp, userp))
^
grsecurity/gracl.c: In function ‘copy_user_allowedips’:
grsecurity/gracl.c:1219:3: error: implicit declaration of function ‘copy_role_allowed_ip_normal’ [- Werror=implicit-function-declaration]
if (copy_role_allowed_ip(rtmp, ruserip))
...
grsecurity/gracl.c:3290:27: error: lvalue required as left operand of assignment
get_gr_arg_wrapper_size = &get_gr_arg_wrapper_size_normal;
cc1: all warnings being treated as errors
make[1]: *** [grsecurity/gracl.o] Error 1
make: *** [grsecurity] Error 2
Re: 3.10.4 && grsecurity/gracl error
Posted:
Wed Jul 31, 2013 5:26 am
by rolan
Addendum: using grsecurity-2.9.1-3.10.4-201307302312.patch
Re: 3.10.4 && grsecurity/gracl error
Posted:
Wed Jul 31, 2013 5:35 am
by rolan
At a second thought (what I was thinking to *economize*?!), here
there is the complete listing:
...
CC grsecurity/grsum.o
CC grsecurity/gracl.o
grsecurity/gracl.c: In function ‘copy_user_glob’:
grsecurity/gracl.c:1126:3: error: implicit declaration of function ‘copy_acl_object_label_normal’ [-Werror=implicit-function-declaration]
if (copy_acl_object_label(g_tmp, *guser))
^
grsecurity/gracl.c: In function ‘count_user_subjs’:
grsecurity/gracl.c:1196:3: error: implicit declaration of function ‘copy_acl_subject_label_normal’ [-Werror=implicit-function-declaration]
if (copy_acl_subject_label(&s_tmp, userp))
^
grsecurity/gracl.c: In function ‘copy_user_allowedips’:
grsecurity/gracl.c:1219:3: error: implicit declaration of function ‘copy_role_allowed_ip_normal’ [-Werror=implicit-function-declaration]
if (copy_role_allowed_ip(rtmp, ruserip))
^
grsecurity/gracl.c: In function ‘copy_user_transitions’:
grsecurity/gracl.c:1254:3: error: implicit declaration of function ‘copy_role_transition_normal’ [-Werror=implicit-function-declaration]
if (copy_role_transition(rtmp, rusertp))
^
grsecurity/gracl.c: In function ‘do_copy_user_subj’:
grsecurity/gracl.c:1341:2: error: implicit declaration of function ‘copy_gr_hash_struct’ [-Werror=implicit-function-declaration]
if (copy_gr_hash_struct(&ghash, s_tmp->hash))
^
grsecurity/gracl.c:1422:3: error: implicit declaration of function ‘copy_pointer_from_array_normal’ [-Werror=implicit-function-declaration]
if (copy_pointer_from_array(&i_utmp2, i_num, s_tmp->ips))
^
grsecurity/gracl.c:1425:3: error: implicit declaration of function ‘copy_acl_ip_label_normal’ [-Werror=implicit-function-declaration]
if (copy_acl_ip_label(*(i_tmp + i_num), i_utmp2))
^
grsecurity/gracl.c: In function ‘copy_user_acl’:
grsecurity/gracl.c:1500:3: error: implicit declaration of function ‘copy_sprole_pw_normal’ [-Werror=implicit-function-declaration]
if (copy_sprole_pw(sptmp, i, arg->sprole_pws))
^
grsecurity/gracl.c:1525:3: error: implicit declaration of function ‘copy_acl_role_label_normal’ [-Werror=implicit-function-declaration]
if (copy_acl_role_label(r_tmp, r_utmp2))
^
grsecurity/gracl.c: At top level:
grsecurity/gracl.c:3150:12: error: static declaration of ‘copy_acl_object_label_normal’ follows non-static declaration
static int copy_acl_object_label_normal(struct acl_object_label *obj, const struct acl_object_label *userp)
^
grsecurity/gracl.c:133:31: note: previous implicit declaration of ‘copy_acl_object_label_normal’ was here
#define copy_acl_object_label copy_acl_object_label_normal
^
grsecurity/gracl.c:1126:7: note: in expansion of macro ‘copy_acl_object_label’
if (copy_acl_object_label(g_tmp, *guser))
^
grsecurity/gracl.c:3158:12: error: static declaration of ‘copy_acl_ip_label_normal’ follows non-static declaration
static int copy_acl_ip_label_normal(struct acl_ip_label *ip, const struct acl_ip_label *userp)
^
grsecurity/gracl.c:136:27: note: previous implicit declaration of ‘copy_acl_ip_label_normal’ was here
#define copy_acl_ip_label copy_acl_ip_label_normal
^
grsecurity/gracl.c:1425:7: note: in expansion of macro ‘copy_acl_ip_label’
if (copy_acl_ip_label(*(i_tmp + i_num), i_utmp2))
^
grsecurity/gracl.c:3166:12: error: static declaration of ‘copy_acl_subject_label_normal’ follows non-static declaration
static int copy_acl_subject_label_normal(struct acl_subject_label *subj, const struct acl_subject_label *userp)
^
grsecurity/gracl.c:134:32: note: previous implicit declaration of ‘copy_acl_subject_label_normal’ was here
#define copy_acl_subject_label copy_acl_subject_label_normal
^
grsecurity/gracl.c:1196:7: note: in expansion of macro ‘copy_acl_subject_label’
if (copy_acl_subject_label(&s_tmp, userp))
^
grsecurity/gracl.c:3174:12: error: static declaration of ‘copy_acl_role_label_normal’ follows non-static declaration
static int copy_acl_role_label_normal(struct acl_role_label *role, const struct acl_role_label *userp)
^
grsecurity/gracl.c:135:29: note: previous implicit declaration of ‘copy_acl_role_label_normal’ was here
#define copy_acl_role_label copy_acl_role_label_normal
^
grsecurity/gracl.c:1525:7: note: in expansion of macro ‘copy_acl_role_label’
if (copy_acl_role_label(r_tmp, r_utmp2))
^
grsecurity/gracl.c:3182:12: error: static declaration of ‘copy_role_allowed_ip_normal’ follows non-static declaration
static int copy_role_allowed_ip_normal(struct role_allowed_ip *roleip, const struct role_allowed_ip *userp)
^
grsecurity/gracl.c:140:30: note: previous implicit declaration of ‘copy_role_allowed_ip_normal’ was here
#define copy_role_allowed_ip copy_role_allowed_ip_normal
^
grsecurity/gracl.c:1219:7: note: in expansion of macro ‘copy_role_allowed_ip’
if (copy_role_allowed_ip(rtmp, ruserip))
^
grsecurity/gracl.c:3190:12: error: static declaration of ‘copy_sprole_pw_normal’ follows non-static declaration
static int copy_sprole_pw_normal(struct sprole_pw *pw, unsigned long idx, const struct sprole_pw *userp)
^
grsecurity/gracl.c:138:24: note: previous implicit declaration of ‘copy_sprole_pw_normal’ was here
#define copy_sprole_pw copy_sprole_pw_normal
^
grsecurity/gracl.c:1500:7: note: in expansion of macro ‘copy_sprole_pw’
if (copy_sprole_pw(sptmp, i, arg->sprole_pws))
^
grsecurity/gracl.c:3206:12: error: static declaration of ‘copy_role_transition_normal’ follows non-static declaration
static int copy_role_transition_normal(struct role_transition *trans, const struct role_transition *userp)
^
grsecurity/gracl.c:139:30: note: previous implicit declaration of ‘copy_role_transition_normal’ was here
#define copy_role_transition copy_role_transition_normal
^
grsecurity/gracl.c:1254:7: note: in expansion of macro ‘copy_role_transition’
if (copy_role_transition(rtmp, rusertp))
^
grsecurity/gracl.c: In function ‘write_grsec_handler’:
grsecurity/gracl.c:3266:26: error: ‘copy_gr_arg_wrapper_compat’ undeclared (first use in this function)
copy_gr_arg_wrapper = ©_gr_arg_wrapper_compat;
^
grsecurity/gracl.c:3266:26: note: each undeclared identifier is reported only once for each function it appears in
grsecurity/gracl.c:3267:18: error: ‘copy_gr_arg_compat’ undeclared (first use in this function)
copy_gr_arg = ©_gr_arg_compat;
^
grsecurity/gracl.c:3268:28: error: ‘copy_acl_object_label_compat’ undeclared (first use in this function)
copy_acl_object_label = ©_acl_object_label_compat;
^
grsecurity/gracl.c:3269:29: error: ‘copy_acl_subject_label_compat’ undeclared (first use in this function)
copy_acl_subject_label = ©_acl_subject_label_compat;
^
grsecurity/gracl.c:3270:26: error: ‘copy_acl_role_label_compat’ undeclared (first use in this function)
copy_acl_role_label = ©_acl_role_label_compat;
^
grsecurity/gracl.c:3271:24: error: ‘copy_acl_ip_label_compat’ undeclared (first use in this function)
copy_acl_ip_label = ©_acl_ip_label_compat;
^
grsecurity/gracl.c:3272:27: error: ‘copy_role_allowed_ip_compat’ undeclared (first use in this function)
copy_role_allowed_ip = ©_role_allowed_ip_compat;
^
grsecurity/gracl.c:3273:27: error: ‘copy_role_transition_compat’ undeclared (first use in this function)
copy_role_transition = ©_role_transition_compat;
^
grsecurity/gracl.c:3274:21: error: ‘copy_sprole_pw_compat’ undeclared (first use in this function)
copy_sprole_pw = ©_sprole_pw_compat;
^
grsecurity/gracl.c:3275:3: error: ‘copy_gr_hash_struct’ undeclared (first use in this function)
copy_gr_hash_struct = ©_gr_hash_struct_compat;
^
grsecurity/gracl.c:3275:26: error: ‘copy_gr_hash_struct_compat’ undeclared (first use in this function)
copy_gr_hash_struct = ©_gr_hash_struct_compat;
^
grsecurity/gracl.c:3276:30: error: ‘copy_pointer_from_array_compat’ undeclared (first use in this function)
copy_pointer_from_array = ©_pointer_from_array_compat;
^
grsecurity/gracl.c:3277:30: error: ‘get_gr_arg_wrapper_size_compat’ undeclared (first use in this function)
get_gr_arg_wrapper_size = &get_gr_arg_wrapper_size_compat;
^
grsecurity/gracl.c:3279:23: error: lvalue required as left operand of assignment
copy_gr_arg_wrapper = ©_gr_arg_wrapper_normal;
^
grsecurity/gracl.c:3280:15: error: lvalue required as left operand of assignment
copy_gr_arg = ©_gr_arg_normal;
^
grsecurity/gracl.c:3281:25: error: lvalue required as left operand of assignment
copy_acl_object_label = ©_acl_object_label_normal;
^
grsecurity/gracl.c:3282:26: error: lvalue required as left operand of assignment
copy_acl_subject_label = ©_acl_subject_label_normal;
^
grsecurity/gracl.c:3283:23: error: lvalue required as left operand of assignment
copy_acl_role_label = ©_acl_role_label_normal;
^
grsecurity/gracl.c:3284:21: error: lvalue required as left operand of assignment
copy_acl_ip_label = ©_acl_ip_label_normal;
^
grsecurity/gracl.c:3285:24: error: lvalue required as left operand of assignment
copy_role_allowed_ip = ©_role_allowed_ip_normal;
^
grsecurity/gracl.c:3286:24: error: lvalue required as left operand of assignment
copy_role_transition = ©_role_transition_normal;
^
grsecurity/gracl.c:3287:18: error: lvalue required as left operand of assignment
copy_sprole_pw = ©_sprole_pw_normal;
^
grsecurity/gracl.c:3289:27: error: lvalue required as left operand of assignment
copy_pointer_from_array = ©_pointer_from_array_normal;
^
grsecurity/gracl.c:3290:27: error: lvalue required as left operand of assignment
get_gr_arg_wrapper_size = &get_gr_arg_wrapper_size_normal;
^
cc1: all warnings being treated as errors
make[1]: *** [grsecurity/gracl.o] Error 1
make: *** [grsecurity] Error 2
Re: 3.10.4 && grsecurity/gracl error
Posted:
Wed Jul 31, 2013 7:03 am
by spender
This will be fixed tonight, thanks for the report.
For now you can modify grsecurity/gracl.c:
Find this sequence:
- Code: Select all
pax_open_kernel();
if (compat) {
change it to:
- Code: Select all
#ifdef CONFIG_COMPAT
pax_open_kernel();
if (compat) {
then find below it:
- Code: Select all
get_gr_arg_wrapper_size = &get_gr_arg_wrapper_size_normal;
}
pax_close_kernel();
and change it to:
- Code: Select all
get_gr_arg_wrapper_size = &get_gr_arg_wrapper_size_normal;
}
pax_close_kernel();
#endif
-Brad
Re: 3.10.4 && grsecurity/gracl error
Posted:
Wed Jul 31, 2013 7:04 am
by Hawk
Same here with gcc 4.7.3, vanilla 3.10.4 + grsecurity-2.9.1-3.10.4-201307302312.patch, but only on i686.
x86_64 having same config (besides architecture related options) is compiling just fine.
Re: 3.10.4 && grsecurity/gracl error
Posted:
Thu Aug 01, 2013 12:22 am
by rolan
grsecurity-2.9.1-3.10.4-201307311627.patch (equivalent to given manual
directives), still getting:
...
CC grsecurity/gracl.o
grsecurity/gracl.c: In function ‘copy_user_glob’:
grsecurity/gracl.c:1126:3: error: implicit declaration of function ‘copy_acl_object_label_normal’ [-Werror=implicit-function-declaration]
if (copy_acl_object_label(g_tmp, *guser))
^
grsecurity/gracl.c: In function ‘count_user_subjs’:
grsecurity/gracl.c:1196:3: error: implicit declaration of function ‘copy_acl_subject_label_normal’ [-Werror=implicit-function-declaration]
if (copy_acl_subject_label(&s_tmp, userp))
^
grsecurity/gracl.c: In function ‘copy_user_allowedips’:
grsecurity/gracl.c:1219:3: error: implicit declaration of function ‘copy_role_allowed_ip_normal’ [-Werror=implicit-function-declaration]
if (copy_role_allowed_ip(rtmp, ruserip))
^
grsecurity/gracl.c: In function ‘copy_user_transitions’:
grsecurity/gracl.c:1254:3: error: implicit declaration of function ‘copy_role_transition_normal’ [-Werror=implicit-function-declaration]
if (copy_role_transition(rtmp, rusertp))
^
grsecurity/gracl.c: In function ‘do_copy_user_subj’:
grsecurity/gracl.c:1341:2: error: implicit declaration of function ‘copy_gr_hash_struct’ [-Werror=implicit-function-declaration]
if (copy_gr_hash_struct(&ghash, s_tmp->hash))
^
grsecurity/gracl.c:1422:3: error: implicit declaration of function ‘copy_pointer_from_array_normal’ [-Werror=implicit-function-declaration]
if (copy_pointer_from_array(&i_utmp2, i_num, s_tmp->ips))
^
grsecurity/gracl.c:1425:3: error: implicit declaration of function ‘copy_acl_ip_label_normal’ [-Werror=implicit-function-declaration]
if (copy_acl_ip_label(*(i_tmp + i_num), i_utmp2))
^
grsecurity/gracl.c: In function ‘copy_user_acl’:
grsecurity/gracl.c:1500:3: error: implicit declaration of function ‘copy_sprole_pw_normal’ [-Werror=implicit-function-declaration]
if (copy_sprole_pw(sptmp, i, arg->sprole_pws))
^
grsecurity/gracl.c:1525:3: error: implicit declaration of function ‘copy_acl_role_label_normal’ [-Werror=implicit-function-declaration]
if (copy_acl_role_label(r_tmp, r_utmp2))
^
grsecurity/gracl.c: At top level:
grsecurity/gracl.c:3150:12: error: static declaration of ‘copy_acl_object_label_normal’ follows non-static declaration
static int copy_acl_object_label_normal(struct acl_object_label *obj, const struct acl_object_label *userp)
^
grsecurity/gracl.c:133:31: note: previous implicit declaration of ‘copy_acl_object_label_normal’ was here
#define copy_acl_object_label copy_acl_object_label_normal
^
grsecurity/gracl.c:1126:7: note: in expansion of macro ‘copy_acl_object_label’
if (copy_acl_object_label(g_tmp, *guser))
^
grsecurity/gracl.c:3158:12: error: static declaration of ‘copy_acl_ip_label_normal’ follows non-static declaration
static int copy_acl_ip_label_normal(struct acl_ip_label *ip, const struct acl_ip_label *userp)
^
grsecurity/gracl.c:136:27: note: previous implicit declaration of ‘copy_acl_ip_label_normal’ was here
#define copy_acl_ip_label copy_acl_ip_label_normal
^
grsecurity/gracl.c:1425:7: note: in expansion of macro ‘copy_acl_ip_label’
if (copy_acl_ip_label(*(i_tmp + i_num), i_utmp2))
^
grsecurity/gracl.c:3166:12: error: static declaration of ‘copy_acl_subject_label_normal’ follows non-static declaration
static int copy_acl_subject_label_normal(struct acl_subject_label *subj, const struct acl_subject_label *userp)
^
grsecurity/gracl.c:134:32: note: previous implicit declaration of ‘copy_acl_subject_label_normal’ was here
#define copy_acl_subject_label copy_acl_subject_label_normal
^
grsecurity/gracl.c:1196:7: note: in expansion of macro ‘copy_acl_subject_label’
if (copy_acl_subject_label(&s_tmp, userp))
^
grsecurity/gracl.c:3174:12: error: static declaration of ‘copy_acl_role_label_normal’ follows non-static declaration
static int copy_acl_role_label_normal(struct acl_role_label *role, const struct acl_role_label *userp)
^
grsecurity/gracl.c:135:29: note: previous implicit declaration of ‘copy_acl_role_label_normal’ was here
#define copy_acl_role_label copy_acl_role_label_normal
^
grsecurity/gracl.c:1525:7: note: in expansion of macro ‘copy_acl_role_label’
if (copy_acl_role_label(r_tmp, r_utmp2))
^
grsecurity/gracl.c:3182:12: error: static declaration of ‘copy_role_allowed_ip_normal’ follows non-static declaration
static int copy_role_allowed_ip_normal(struct role_allowed_ip *roleip, const struct role_allowed_ip *userp)
^
grsecurity/gracl.c:140:30: note: previous implicit declaration of ‘copy_role_allowed_ip_normal’ was here
#define copy_role_allowed_ip copy_role_allowed_ip_normal
^
grsecurity/gracl.c:1219:7: note: in expansion of macro ‘copy_role_allowed_ip’
if (copy_role_allowed_ip(rtmp, ruserip))
^
grsecurity/gracl.c:3190:12: error: static declaration of ‘copy_sprole_pw_normal’ follows non-static declaration
static int copy_sprole_pw_normal(struct sprole_pw *pw, unsigned long idx, const struct sprole_pw *userp)
^
grsecurity/gracl.c:138:24: note: previous implicit declaration of ‘copy_sprole_pw_normal’ was here
#define copy_sprole_pw copy_sprole_pw_normal
^
grsecurity/gracl.c:1500:7: note: in expansion of macro ‘copy_sprole_pw’
if (copy_sprole_pw(sptmp, i, arg->sprole_pws))
^
grsecurity/gracl.c:3206:12: error: static declaration of ‘copy_role_transition_normal’ follows non-static declaration
static int copy_role_transition_normal(struct role_transition *trans, const struct role_transition *userp)
^
grsecurity/gracl.c:139:30: note: previous implicit declaration of ‘copy_role_transition_normal’ was here
#define copy_role_transition copy_role_transition_normal
^
grsecurity/gracl.c:1254:7: note: in expansion of macro ‘copy_role_transition’
if (copy_role_transition(rtmp, rusertp))
^
grsecurity/gracl.c: In function ‘write_grsec_handler’:
grsecurity/gracl.c:3254:6: error: unused variable ‘compat’ [-Werror=unused-variable]
int compat = is_compat_task();
^
grsecurity/gracl.c: At top level:
grsecurity/gracl.c:3150:12: error: ‘copy_acl_object_label_normal’ defined but not used [-Werror=unused-function]
static int copy_acl_object_label_normal(struct acl_object_label *obj, const struct acl_object_label *userp)
^
grsecurity/gracl.c:3158:12: error: ‘copy_acl_ip_label_normal’ defined but not used [-Werror=unused-function]
static int copy_acl_ip_label_normal(struct acl_ip_label *ip, const struct acl_ip_label *userp)
^
grsecurity/gracl.c:3166:12: error: ‘copy_acl_subject_label_normal’ defined but not used [-Werror=unused-function]
static int copy_acl_subject_label_normal(struct acl_subject_label *subj, const struct acl_subject_label *userp)
^
grsecurity/gracl.c:3174:12: error: ‘copy_acl_role_label_normal’ defined but not used [-Werror=unused-function]
static int copy_acl_role_label_normal(struct acl_role_label *role, const struct acl_role_label *userp)
^
grsecurity/gracl.c:3182:12: error: ‘copy_role_allowed_ip_normal’ defined but not used [-Werror=unused-function]
static int copy_role_allowed_ip_normal(struct role_allowed_ip *roleip, const struct role_allowed_ip *userp)
^
grsecurity/gracl.c:3190:12: error: ‘copy_sprole_pw_normal’ defined but not used [-Werror=unused-function]
static int copy_sprole_pw_normal(struct sprole_pw *pw, unsigned long idx, const struct sprole_pw *userp)
^
grsecurity/gracl.c:3198:12: error: ‘copy_gr_hash_struct_normal’ defined but not used [-Werror=unused-function]
static int copy_gr_hash_struct_normal(struct gr_hash_struct *hash, const struct gr_hash_struct *userp)
^
grsecurity/gracl.c:3206:12: error: ‘copy_role_transition_normal’ defined but not used [-Werror=unused-function]
static int copy_role_transition_normal(struct role_transition *trans, const struct role_transition *userp)
^
cc1: all warnings being treated as errors
make[1]: *** [grsecurity/gracl.o] Error 1
make: *** [grsecurity] Error 2
Re: 3.10.4 && grsecurity/gracl error
Posted:
Thu Aug 01, 2013 11:01 am
by Hawk
Still fails on i686 (x86_64 builds fine). Here are all errors I'm getting
http://pastebin.com/XSf7USr1
Re: 3.10.4 && grsecurity/gracl error
Posted:
Thu Aug 01, 2013 12:14 pm
by KDE
I have same/similar error as rolan with gcc 4.7.3 on Gentoo x86_64
- Code: Select all
grsecurity/gracl.c: In function 'copy_user_glob':
grsecurity/gracl.c:1126:3: error: implicit declaration of function 'copy_acl_object_label_normal' [-Werror=implicit-function-declaration]
grsecurity/gracl.c: In function 'count_user_subjs':
grsecurity/gracl.c:1196:3: error: implicit declaration of function 'copy_acl_subject_label_normal' [-Werror=implicit-function-declaration]
grsecurity/gracl.c: In function 'copy_user_allowedips':
grsecurity/gracl.c:1219:3: error: implicit declaration of function 'copy_role_allowed_ip_normal' [-Werror=implicit-function-declaration]
grsecurity/gracl.c: In function 'copy_user_transitions':
grsecurity/gracl.c:1254:3: error: implicit declaration of function 'copy_role_transition_normal' [-Werror=implicit-function-declaration]
grsecurity/gracl.c: In function 'do_copy_user_subj':
grsecurity/gracl.c:1341:2: error: implicit declaration of function 'copy_gr_hash_struct' [-Werror=implicit-function-declaration]
grsecurity/gracl.c:1422:3: error: implicit declaration of function 'copy_pointer_from_array_normal' [-Werror=implicit-function-declaration]
grsecurity/gracl.c:1425:3: error: implicit declaration of function 'copy_acl_ip_label_normal' [-Werror=implicit-function-declaration]
grsecurity/gracl.c: In function 'copy_user_acl':
grsecurity/gracl.c:1500:3: error: implicit declaration of function 'copy_sprole_pw_normal' [-Werror=implicit-function-declaration]
grsecurity/gracl.c:1525:3: error: implicit declaration of function 'copy_acl_role_label_normal' [-Werror=implicit-function-declaration]
CC fs/proc/kmsg.o
grsecurity/gracl.c: At top level:
grsecurity/gracl.c:3150:12: error: static declaration of 'copy_acl_object_label_normal' follows non-static declaration
grsecurity/gracl.c:1126:7: note: previous implicit declaration of 'copy_acl_object_label_normal' was here
grsecurity/gracl.c:3158:12: error: static declaration of 'copy_acl_ip_label_normal' follows non-static declaration
grsecurity/gracl.c:1425:7: note: previous implicit declaration of 'copy_acl_ip_label_normal' was here
grsecurity/gracl.c:3166:12: error: static declaration of 'copy_acl_subject_label_normal' follows non-static declaration
grsecurity/gracl.c:1196:7: note: previous implicit declaration of 'copy_acl_subject_label_normal' was here
grsecurity/gracl.c:3174:12: error: static declaration of 'copy_acl_role_label_normal' follows non-static declaration
grsecurity/gracl.c:1525:7: note: previous implicit declaration of 'copy_acl_role_label_normal' was here
grsecurity/gracl.c:3182:12: error: static declaration of 'copy_role_allowed_ip_normal' follows non-static declaration
grsecurity/gracl.c:1219:7: note: previous implicit declaration of 'copy_role_allowed_ip_normal' was here
grsecurity/gracl.c:3190:12: error: static declaration of 'copy_sprole_pw_normal' follows non-static declaration
grsecurity/gracl.c:1500:7: note: previous implicit declaration of 'copy_sprole_pw_normal' was here
grsecurity/gracl.c:3206:12: error: static declaration of 'copy_role_transition_normal' follows non-static declaration
grsecurity/gracl.c:1254:7: note: previous implicit declaration of 'copy_role_transition_normal' was here
grsecurity/gracl.c: In function 'write_grsec_handler':
grsecurity/gracl.c:3254:6: error: unused variable 'compat' [-Werror=unused-variable]
grsecurity/gracl.c: At top level:
grsecurity/gracl.c:3150:12: error: 'copy_acl_object_label_normal' defined but not used [-Werror=unused-function]
grsecurity/gracl.c:3158:12: error: 'copy_acl_ip_label_normal' defined but not used [-Werror=unused-function]
grsecurity/gracl.c:3166:12: error: 'copy_acl_subject_label_normal' defined but not used [-Werror=unused-function]
grsecurity/gracl.c:3174:12: error: 'copy_acl_role_label_normal' defined but not used [-Werror=unused-function]
grsecurity/gracl.c:3182:12: error: 'copy_role_allowed_ip_normal' defined but not used [-Werror=unused-function]
grsecurity/gracl.c:3190:12: error: 'copy_sprole_pw_normal' defined but not used [-Werror=unused-function]
grsecurity/gracl.c:3198:12: error: 'copy_gr_hash_struct_normal' defined but not used [-Werror=unused-function]
grsecurity/gracl.c:3206:12: error: 'copy_role_transition_normal' defined but not used [-Werror=unused-function]
cc1: all warnings being treated as errors
Re: 3.10.4 && grsecurity/gracl error
Posted:
Thu Aug 01, 2013 6:58 pm
by spender
Thanks for the reports, it's fixed in the latest patch.
-Brad
Re: 3.10.4 && grsecurity/gracl error
Posted:
Fri Aug 02, 2013 6:52 am
by rolan
grsecurity-2.9.1-3.10.4-201308011855.patch working!, good job.
Re: 3.10.4 && grsecurity/gracl error
Posted:
Fri Aug 02, 2013 11:52 am
by Hawk
Builds and worsk fine here as well. Thanks.