Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC fs/proc/cmdline.o
- fs/proc/cmdline.c: In function 'cmdline_proc_show':
- fs/proc/cmdline.c:9:2: error: implicit declaration of function 'current_uid' [-Werror=implicit-function-declaration]
- if (uid_eq(current_uid(), GLOBAL_ROOT_UID) ||
- ^
- fs/proc/cmdline.c:9:6: error: incompatible type for argument 1 of 'uid_eq'
- if (uid_eq(current_uid(), GLOBAL_ROOT_UID) ||
- ^
- In file included from include/linux/stat.h:19:0,
- from include/linux/fs.h:10,
- from fs/proc/cmdline.c:1:
- include/linux/uidgid.h:48:20: note: expected 'kuid_t' but argument is of type 'int'
- static inline bool uid_eq(kuid_t left, kuid_t right)
- ^
- fs/proc/cmdline.c:11:3: error: implicit declaration of function 'in_group_p' [-Werror=implicit-function-declaration]
- in_group_p(grsec_proc_gid)
- ^
- fs/proc/cmdline.c:11:14: error: 'grsec_proc_gid' undeclared (first use in this function)
- in_group_p(grsec_proc_gid)
- ^
- fs/proc/cmdline.c:11:14: note: each undeclared identifier is reported only once for each function it appears in
- cc1: some warnings being treated as errors
- scripts/Makefile.build:257: recipe for target 'fs/proc/cmdline.o' failed
- make[4]: *** [fs/proc/cmdline.o] Error 1
- scripts/Makefile.build:404: recipe for target 'fs/proc' failed
- make[3]: *** [fs/proc] Error 2
- make[3]: *** Waiting for unfinished jobs....
Advertisement
Add Comment
Please, Sign In to add comment