2014-11-04 08:53:29

by Chen Hanxiao

[permalink] [raw]
Subject: [PATCH] sched: updated comments of CLONE_NEWUTS and CLONE_NEWIPC

Remove question mark:
s/New utsname group?/New utsname namespace

Unified style for IPC:
s/New ipcs/New ipc namespace

Signed-off-by: Chen Hanxiao <[email protected]>
---
include/uapi/linux/sched.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h
index b932be9..cc89dde 100644
--- a/include/uapi/linux/sched.h
+++ b/include/uapi/linux/sched.h
@@ -23,8 +23,8 @@
#define CLONE_CHILD_SETTID 0x01000000 /* set the TID in the child */
/* 0x02000000 was previously the unused CLONE_STOPPED (Start in stopped state)
and is now available for re-use. */
-#define CLONE_NEWUTS 0x04000000 /* New utsname group? */
-#define CLONE_NEWIPC 0x08000000 /* New ipcs */
+#define CLONE_NEWUTS 0x04000000 /* New utsname namespace */
+#define CLONE_NEWIPC 0x08000000 /* New ipc namespace */
#define CLONE_NEWUSER 0x10000000 /* New user namespace */
#define CLONE_NEWPID 0x20000000 /* New pid namespace */
#define CLONE_NEWNET 0x40000000 /* New network namespace */
--
1.9.3


2014-11-04 09:03:31

by Serge Hallyn

[permalink] [raw]
Subject: Re: [PATCH] sched: updated comments of CLONE_NEWUTS and CLONE_NEWIPC

Quoting Chen Hanxiao ([email protected]):
> Remove question mark:
> s/New utsname group?/New utsname namespace
>
> Unified style for IPC:
> s/New ipcs/New ipc namespace
>
> Signed-off-by: Chen Hanxiao <[email protected]>

Acked-by: Serge E. Hallyn <[email protected]>

> ---
> include/uapi/linux/sched.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h
> index b932be9..cc89dde 100644
> --- a/include/uapi/linux/sched.h
> +++ b/include/uapi/linux/sched.h
> @@ -23,8 +23,8 @@
> #define CLONE_CHILD_SETTID 0x01000000 /* set the TID in the child */
> /* 0x02000000 was previously the unused CLONE_STOPPED (Start in stopped state)
> and is now available for re-use. */
> -#define CLONE_NEWUTS 0x04000000 /* New utsname group? */
> -#define CLONE_NEWIPC 0x08000000 /* New ipcs */
> +#define CLONE_NEWUTS 0x04000000 /* New utsname namespace */
> +#define CLONE_NEWIPC 0x08000000 /* New ipc namespace */
> #define CLONE_NEWUSER 0x10000000 /* New user namespace */
> #define CLONE_NEWPID 0x20000000 /* New pid namespace */
> #define CLONE_NEWNET 0x40000000 /* New network namespace */
> --
> 1.9.3
>
> _______________________________________________
> Containers mailing list
> [email protected]
> https://lists.linuxfoundation.org/mailman/listinfo/containers

Subject: [tip:sched/core] sched: Update comments about CLONE_NEWUTS and CLONE_NEWIPC

Commit-ID: f622b429dadf83c3cc2d70f57f407ad85684eb36
Gitweb: http://git.kernel.org/tip/f622b429dadf83c3cc2d70f57f407ad85684eb36
Author: Chen Hanxiao <[email protected]>
AuthorDate: Tue, 4 Nov 2014 16:51:22 +0800
Committer: Ingo Molnar <[email protected]>
CommitDate: Sun, 16 Nov 2014 10:58:53 +0100

sched: Update comments about CLONE_NEWUTS and CLONE_NEWIPC

Remove question mark:

s/New utsname group?/New utsname namespace

Unified style for IPC:

s/New ipcs/New ipc namespace

Signed-off-by: Chen Hanxiao <[email protected]>
Acked-by: Serge E. Hallyn <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
---
include/uapi/linux/sched.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h
index b932be9..cc89dde 100644
--- a/include/uapi/linux/sched.h
+++ b/include/uapi/linux/sched.h
@@ -23,8 +23,8 @@
#define CLONE_CHILD_SETTID 0x01000000 /* set the TID in the child */
/* 0x02000000 was previously the unused CLONE_STOPPED (Start in stopped state)
and is now available for re-use. */
-#define CLONE_NEWUTS 0x04000000 /* New utsname group? */
-#define CLONE_NEWIPC 0x08000000 /* New ipcs */
+#define CLONE_NEWUTS 0x04000000 /* New utsname namespace */
+#define CLONE_NEWIPC 0x08000000 /* New ipc namespace */
#define CLONE_NEWUSER 0x10000000 /* New user namespace */
#define CLONE_NEWPID 0x20000000 /* New pid namespace */
#define CLONE_NEWNET 0x40000000 /* New network namespace */