Re: [PATCH] fs/proc: add compile time info

From: Florian Eckert
Date: Mon Sep 12 2022 - 05:58:51 EST


Hello Masahiro,

thanks for your feedback.

https://patchwork.kernel.org/project/linux-kbuild/patch/20220828024003.28873-6-masahiroy@xxxxxxxxxx/
lands, nobody cannot reference KBUILD_BUILD_TIMESTAMP,
then this whack-a-mole game will end.

I was not aware of that problem. Thanks for the link.

I understood that this is a bad idea to create the timestamp for proc like this!
But how does it look in principle to offer the build timestamp in proc for reading?
You have only made your point about creating the timestamp but not about reading it out via the proc directory.

So far the timestamp is only readable as a string via dmesg.

Best regards

Florian