[go] syscall: add CLONE_NEWCGROUP for linux kernel >=4.6

70 views
Skip to first unread message

Jessica Frazelle (Gerrit)

unread,
Jun 9, 2016, 6:04:42 PM6/9/16
to Ian Lance Taylor, Rob Pike, golang-co...@googlegroups.com
Jessica Frazelle would like you to review this change by Jess Frazelle:
https://go-review.googlesource.com/23964

syscall: add CLONE_NEWCGROUP for linux kernel >=4.6

Change-Id: I5cc7e71b88d085a9413dcb41516ec952210a6fc4
---
M src/syscall/zerrors_linux_386.go
M src/syscall/zerrors_linux_amd64.go
M src/syscall/zerrors_linux_arm.go
M src/syscall/zerrors_linux_arm64.go
M src/syscall/zerrors_linux_mips64.go
M src/syscall/zerrors_linux_mips64le.go
M src/syscall/zerrors_linux_ppc64.go
M src/syscall/zerrors_linux_ppc64le.go
8 files changed, 8 insertions(+), 0 deletions(-)



diff --git a/src/syscall/zerrors_linux_386.go
b/src/syscall/zerrors_linux_386.go
index d433a4f..5ee276d 100644
--- a/src/syscall/zerrors_linux_386.go
+++ b/src/syscall/zerrors_linux_386.go
@@ -154,6 +154,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x02000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/src/syscall/zerrors_linux_amd64.go
b/src/syscall/zerrors_linux_amd64.go
index dd86a3b..1523c16 100644
--- a/src/syscall/zerrors_linux_amd64.go
+++ b/src/syscall/zerrors_linux_amd64.go
@@ -154,6 +154,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x02000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/src/syscall/zerrors_linux_arm.go
b/src/syscall/zerrors_linux_arm.go
index 2a9c0f9..4d04490 100644
--- a/src/syscall/zerrors_linux_arm.go
+++ b/src/syscall/zerrors_linux_arm.go
@@ -154,6 +154,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x02000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/src/syscall/zerrors_linux_arm64.go
b/src/syscall/zerrors_linux_arm64.go
index 35d9ace..2687320 100644
--- a/src/syscall/zerrors_linux_arm64.go
+++ b/src/syscall/zerrors_linux_arm64.go
@@ -198,6 +198,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x02000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/src/syscall/zerrors_linux_mips64.go
b/src/syscall/zerrors_linux_mips64.go
index e6399dd..b4a9dba 100644
--- a/src/syscall/zerrors_linux_mips64.go
+++ b/src/syscall/zerrors_linux_mips64.go
@@ -195,6 +195,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x02000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/src/syscall/zerrors_linux_mips64le.go
b/src/syscall/zerrors_linux_mips64le.go
index e6399dd..b4a9dba 100644
--- a/src/syscall/zerrors_linux_mips64le.go
+++ b/src/syscall/zerrors_linux_mips64le.go
@@ -195,6 +195,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x02000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/src/syscall/zerrors_linux_ppc64.go
b/src/syscall/zerrors_linux_ppc64.go
index 1c769cd..d35d66b 100644
--- a/src/syscall/zerrors_linux_ppc64.go
+++ b/src/syscall/zerrors_linux_ppc64.go
@@ -197,6 +197,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x02000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/src/syscall/zerrors_linux_ppc64le.go
b/src/syscall/zerrors_linux_ppc64le.go
index 73727a4..dd2ed71 100644
--- a/src/syscall/zerrors_linux_ppc64le.go
+++ b/src/syscall/zerrors_linux_ppc64le.go
@@ -198,6 +198,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x02000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000

--
https://go-review.googlesource.com/23964

Jessica Frazelle (Gerrit)

unread,
Jun 9, 2016, 7:27:27 PM6/9/16
to golang-co...@googlegroups.com
Jessica Frazelle has posted comments on this change.

syscall: add CLONE_NEWCGROUP for linux kernel >=4.6

Patch Set 1:

Crap I just read the top of these files sorry. They are generated.

--
https://go-review.googlesource.com/23964
Gerrit-Reviewer: Jessica Frazelle <m...@jessfraz.com>
Gerrit-HasComments: No

Jessica Frazelle (Gerrit)

unread,
Jun 9, 2016, 7:32:02 PM6/9/16
to golang-co...@googlegroups.com
Jessica Frazelle has abandoned this change.

Change subject: syscall: add CLONE_NEWCGROUP for linux kernel >=4.6
......................................................................


Abandoned

Ian Lance Taylor (Gerrit)

unread,
Jun 9, 2016, 8:21:33 PM6/9/16
to Jessica Frazelle, golang-co...@googlegroups.com
Ian Lance Taylor has posted comments on this change.

syscall: add CLONE_NEWCGROUP for linux kernel >=4.6

Patch Set 1:

> Crap I just read the top of these files sorry. They are generated.

Also the syscall package is more or less frozen. New values should be
added to golang.org/x/sys/unix instead.

--
https://go-review.googlesource.com/23964
Gerrit-Reviewer: Jessica Frazelle <m...@jessfraz.com>
Gerrit-HasComments: No

Jessica Frazelle (Gerrit)

unread,
Jun 9, 2016, 8:43:36 PM6/9/16
to Ian Lance Taylor, Rob Pike, golang-co...@googlegroups.com
Jessica Frazelle would like you to review this change by Jess Frazelle:
https://go-review.googlesource.com/23965

syscall: add CLONE_NEWCGROUP for linux kernel >=4.6

Change-Id: I827a97ad2b43f9b33281d0da36fe4cfdf24b928f
---
M unix/zerrors_linux_386.go
M unix/zerrors_linux_amd64.go
M unix/zerrors_linux_arm.go
M unix/zerrors_linux_arm64.go
M unix/zerrors_linux_mips64.go
M unix/zerrors_linux_mips64le.go
M unix/zerrors_linux_ppc64.go
M unix/zerrors_linux_ppc64le.go
8 files changed, 8 insertions(+), 0 deletions(-)



diff --git a/unix/zerrors_linux_386.go b/unix/zerrors_linux_386.go
index 80b7381..8f92012 100644
--- a/unix/zerrors_linux_386.go
+++ b/unix/zerrors_linux_386.go
@@ -216,6 +216,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x2000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/unix/zerrors_linux_amd64.go b/unix/zerrors_linux_amd64.go
index 64cc0b7..49b6c35 100644
--- a/unix/zerrors_linux_amd64.go
+++ b/unix/zerrors_linux_amd64.go
@@ -216,6 +216,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x2000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/unix/zerrors_linux_arm.go b/unix/zerrors_linux_arm.go
index 1cc76a7..f036758 100644
--- a/unix/zerrors_linux_arm.go
+++ b/unix/zerrors_linux_arm.go
@@ -212,6 +212,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x2000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/unix/zerrors_linux_arm64.go b/unix/zerrors_linux_arm64.go
index 47027b7..16dcbc9 100644
--- a/unix/zerrors_linux_arm64.go
+++ b/unix/zerrors_linux_arm64.go
@@ -222,6 +222,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x2000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/unix/zerrors_linux_mips64.go b/unix/zerrors_linux_mips64.go
index 98056fe..36535b2 100644
--- a/unix/zerrors_linux_mips64.go
+++ b/unix/zerrors_linux_mips64.go
@@ -221,6 +221,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x2000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/unix/zerrors_linux_mips64le.go b/unix/zerrors_linux_mips64le.go
index e5debb6..112f05d 100644
--- a/unix/zerrors_linux_mips64le.go
+++ b/unix/zerrors_linux_mips64le.go
@@ -221,6 +221,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x2000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/unix/zerrors_linux_ppc64.go b/unix/zerrors_linux_ppc64.go
index 5b90d07..8b42ca2 100644
--- a/unix/zerrors_linux_ppc64.go
+++ b/unix/zerrors_linux_ppc64.go
@@ -223,6 +223,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x2000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000
diff --git a/unix/zerrors_linux_ppc64le.go b/unix/zerrors_linux_ppc64le.go
index 0861bd5..e8d12b5 100644
--- a/unix/zerrors_linux_ppc64le.go
+++ b/unix/zerrors_linux_ppc64le.go
@@ -222,6 +222,7 @@
CLONE_FILES = 0x400
CLONE_FS = 0x200
CLONE_IO = 0x80000000
+ CLONE_NEWCGROUP = 0x2000000
CLONE_NEWIPC = 0x8000000
CLONE_NEWNET = 0x40000000
CLONE_NEWNS = 0x20000

--
https://go-review.googlesource.com/23965

Ian Lance Taylor (Gerrit)

unread,
Jun 9, 2016, 8:59:41 PM6/9/16
to Jessica Frazelle, golang-co...@googlegroups.com
Ian Lance Taylor has posted comments on this change.

syscall: add CLONE_NEWCGROUP for linux kernel >=4.6

Patch Set 1:

(1 comment)

https://go-review.googlesource.com/#/c/23965/1//COMMIT_MSG
Commit Message:

Line 7: syscall: add CLONE_NEWCGROUP for linux kernel >=4.6
s/syscall/unix/


--
https://go-review.googlesource.com/23965
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-HasComments: Yes

Jessica Frazelle (Gerrit)

unread,
Jun 9, 2016, 9:07:17 PM6/9/16
to Ian Lance Taylor, golang-co...@googlegroups.com
Jessica Frazelle uploaded a new patch set:
https://go-review.googlesource.com/23965

unix: add CLONE_NEWCGROUP for linux kernel >=4.6

Change-Id: I827a97ad2b43f9b33281d0da36fe4cfdf24b928f
---
M unix/zerrors_linux_386.go
M unix/zerrors_linux_amd64.go
M unix/zerrors_linux_arm.go
M unix/zerrors_linux_arm64.go
M unix/zerrors_linux_mips64.go
M unix/zerrors_linux_mips64le.go
M unix/zerrors_linux_ppc64.go
M unix/zerrors_linux_ppc64le.go
8 files changed, 8 insertions(+), 0 deletions(-)


Gobot Gobot (Gerrit)

unread,
Jun 9, 2016, 9:17:55 PM6/9/16
to Jessica Frazelle, Ian Lance Taylor, golang-co...@googlegroups.com
Gobot Gobot has posted comments on this change.

unix: add CLONE_NEWCGROUP for linux kernel >=4.6

Patch Set 2:

TryBots beginning. Status page: http://farmer.golang.org/try?commit=c3fadd1f

--
https://go-review.googlesource.com/23965
Gerrit-Reviewer: Gobot Gobot <go...@golang.org>
Gerrit-Reviewer: Ian Lance Taylor <ia...@golang.org>
Gerrit-HasComments: No

Ian Lance Taylor (Gerrit)

unread,
Jun 9, 2016, 9:19:02 PM6/9/16
to Jessica Frazelle, golang-co...@googlegroups.com
Ian Lance Taylor has posted comments on this change.

unix: add CLONE_NEWCGROUP for linux kernel >=4.6

Patch Set 2: Run-TryBot+1 Code-Review+2

Thanks.

--
https://go-review.googlesource.com/23965

Gobot Gobot (Gerrit)

unread,
Jun 9, 2016, 9:19:41 PM6/9/16
to Jessica Frazelle, Ian Lance Taylor, golang-co...@googlegroups.com
Gobot Gobot has posted comments on this change.

unix: add CLONE_NEWCGROUP for linux kernel >=4.6

Patch Set 2: TryBot-Result+1

TryBots are happy.

Ian Lance Taylor (Gerrit)

unread,
Jun 9, 2016, 9:22:12 PM6/9/16
to Jessica Frazelle, golang-...@googlegroups.com, Gobot Gobot, golang-co...@googlegroups.com
Ian Lance Taylor has submitted this change and it was merged.

unix: add CLONE_NEWCGROUP for linux kernel >=4.6

Change-Id: I827a97ad2b43f9b33281d0da36fe4cfdf24b928f
Reviewed-on: https://go-review.googlesource.com/23965
Reviewed-by: Ian Lance Taylor <ia...@golang.org>
Run-TryBot: Ian Lance Taylor <ia...@golang.org>
TryBot-Result: Gobot Gobot <go...@golang.org>
---
M unix/zerrors_linux_386.go
M unix/zerrors_linux_amd64.go
M unix/zerrors_linux_arm.go
M unix/zerrors_linux_arm64.go
M unix/zerrors_linux_mips64.go
M unix/zerrors_linux_mips64le.go
M unix/zerrors_linux_ppc64.go
M unix/zerrors_linux_ppc64le.go
8 files changed, 8 insertions(+), 0 deletions(-)

Approvals:
Ian Lance Taylor: Looks good to me, approved; Run TryBots
Gobot Gobot: TryBots succeeded
Reply all
Reply to author
Forward
0 new messages