[PATCH] add-process_session-helper-routine-deprecate-old-field-tidy

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

 



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...

--- rc2-mm2/include/linux/init_task.h~	2006-10-22 19:28:17.000000000 +0400
+++ rc2-mm2/include/linux/init_task.h	2006-10-24 22:24:04.000000000 +0400
@@ -66,8 +66,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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux