selftests/proc: Drop define _GNU_SOURCE
tools/testing/selftests/proc/proc-empty-vm.c
Quoted 5 lines
tools/testing/selftests/proc/proc-empty-vm.c +0
-2-#undef _GNU_SOURCE -#define _GNU_SOURCE
No! Don't do this. It makes individual test program non-standalone.
Right now you can copy it to some other machine which triggers test fauilure, compile and start debugging instead of remembering which stupid compile flags it requires.
NAK for /proc, sorry. I'd like to keep #define.