]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
Fix handling of backlash character in LINUX_COMPILE_BY name
authorMarcin Nowakowski <marcin.nowakowski.000@gmail.com>
Mon, 25 Apr 2011 12:35:21 +0000 (13:35 +0100)
committerMichal Marek <mmarek@suse.cz>
Fri, 29 Apr 2011 13:55:45 +0000 (15:55 +0200)
When using a domain login, `whoami` returns the login in
user\domain format. This leads to either warnings on unrecognised
escape sequences or escaped characters being generated for the user.
This patch ensures that any backslash is escaped to a double-backslash
to make sure the name is preserved correctly. This patch does not
enforce escaping on the KBUILD_BUILD_USER variable, as this is something
the user has control of and can escape if required.

Signed-off-by: Marcin Nowakowski <marcin.nowakowski.000@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>

No differences found