+ add-process_session-helper-routine-deprecate-old-field-tidy-2.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     add-process_session-helper-routine-deprecate-old-field-tidy tidy
has been added to the -mm tree.  Its filename is
     add-process_session-helper-routine-deprecate-old-field-tidy-2.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: add-process_session-helper-routine-deprecate-old-field-tidy tidy
From: Oleg Nesterov <oleg@xxxxxxxxxx>

Cedric Le Goater wrote:
>
> -	.session	= 1,						\
> +	.tty_old_pgrp   = 0,						\
> +	{ .session      = 1},						\

Any reason to initialize .tty_old_pgrp explicitly? This gives a false
positive from grep...


Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/linux/init_task.h |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -puN include/linux/init_task.h~add-process_session-helper-routine-deprecate-old-field-tidy-2 include/linux/init_task.h
--- a/include/linux/init_task.h~add-process_session-helper-routine-deprecate-old-field-tidy-2
+++ a/include/linux/init_task.h
@@ -67,8 +67,7 @@
 	.cpu_timers	= INIT_CPU_TIMERS(sig.cpu_timers),		\
 	.rlim		= INIT_RLIMITS,					\
 	.pgrp		= 1,						\
-	.tty_old_pgrp   = 0,						\
-	{ .__session      = 1},						\
+	{ .__session	= 1 },						\
 }
 
 extern struct nsproxy init_nsproxy;
_

Patches currently in -mm which might be from oleg@xxxxxxxxxx are

tty-signal-tty-locking.patch
do_task_stat-dont-take-tty_mutex.patch
do_acct_process-dont-take-tty_mutex.patch
trivial-make-set_special_pids-static.patch
sys_unshare-remove-a-broken-clone_sighand-code.patch
add-process_session-helper-routine-deprecate-old-field-tidy-2.patch
sys_setpgid-eliminate-unnecessary-do_each_task_pidpidtype_pgid.patch
session_of_pgrp-kill-unnecessary-do_each_task_pidpidtype_pgid.patch
pidhash-temporary-debug-checks.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux