From: Andrew Morton Access to task->comm is a bit racy. Cc: Andrew G. Morgan Cc: Andrew Morgan Cc: Casey Schaufler Cc: Chris Wright Cc: James Morris Cc: Serge Hallyn Cc: Stephen Smalley Signed-off-by: Andrew Morton --- kernel/capability.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN kernel/capability.c~add-64-bit-capability-support-to-the-kernel-fix kernel/capability.c --- a/kernel/capability.c~add-64-bit-capability-support-to-the-kernel-fix +++ a/kernel/capability.c @@ -228,7 +228,7 @@ asmlinkage long sys_capset(cap_user_head warned++; printk(KERN_INFO "warning: process `%s' sets w/ old libcap\n", - current->comm); + get_task_comm(current)); } tocopy = _LINUX_CAPABILITY_U32S_1; break; _