]> www.infradead.org Git - users/dwmw2/linux.git/commit
um: restore process name
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Oct 2024 14:14:12 +0000 (16:14 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Oct 2024 07:25:55 +0000 (09:25 +0200)
commit031acdcfb566ba18ffb57d51abf357a5e350424b
tree49e7136ee326bf8602c72d938820bebbc17bfe64
parent14d4a7b516e993cf3926758a7ede569d8e119855
um: restore process name

After the execve() to disable ASLR, comm is now "exe",
which is a bit confusing. Use readlink() to get this
to the right name again.

Disable stack frame size warnings on main.o since it's
part of the initial userspace and can use larger stack.

Fixes: 68b9883cc16e ("um: Discover host_task_size from envp")
Link: https://patch.msgid.link/20241010161411.c576e2aeb3e5.I244d4f34b8a8555ee5bec0e1cf5027bce4cc491b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/os-Linux/Makefile
arch/um/os-Linux/main.c