go/doc
Ian Lance Taylor be08e10b3b syscall: if Setctty, require that Ctty be a child descriptor
Ctty was always handled as a child descriptor, but in some cases
passing a parent descriptor would also work. This depended on
unpredictable details of the implementation. Reject those cases to
avoid confusion.

Also reject setting both Setctty and Foreground, as they use Ctty
in incompatible ways. It's unlikely that any programs set both fields,
as they don't make sense together.

Fixes #29458

Change-Id: Ieba2d625711fd4b82c8e65e1feed02fd1fb25e6d
Reviewed-on: https://go-review.googlesource.com/c/go/+/231638
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
2020-05-01 21:57:29 +00:00
..
articles
codewalk
gopher
play
progs
asm.html doc, cmd/internal/obj/arm64: update the directives in the doc 2020-05-01 20:39:53 +00:00
cmd.html
contribute.html
debugging_with_gdb.html doc/debugging_with_gdb: fix the link of delve 2020-04-13 04:26:57 +00:00
diagnostics.html
editors.html
effective_go.html
gccgo_contribute.html
gccgo_install.html
go-logo-black.png
go-logo-blue.png
go-logo-white.png
go1.1.html
go1.2.html
go1.3.html
go1.4.html
go1.5.html
go1.6.html
go1.7.html
go1.8.html
go1.9.html
go1.10.html
go1.11.html
go1.12.html
go1.13.html
go1.14.html
go1.15.html syscall: if Setctty, require that Ctty be a child descriptor 2020-05-01 21:57:29 +00:00
go1.html
go1compat.html
go_faq.html
go_mem.html
go_spec.html
help.html
ie.css
install-source.html
install.html
share.png
tos.html