aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/ipc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-06-04 22:20:22 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-06-05 12:23:19 +0200
commite3d77cf2a3cefdc0b6781c32ca3b878568a5856b (patch)
treee7f2c32360964e604a8e4804cf9b7a26b18ec35b /pkg/ipc
parent26ae0a0eddf244d4273f79e4abda158780c4c645 (diff)
.golangci.yml: enable godot checker
A good one. Lots of fixed comments are contributed by episodic contributors. So it's good to catch these earlier.
Diffstat (limited to 'pkg/ipc')
-rw-r--r--pkg/ipc/ipc.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/ipc/ipc.go b/pkg/ipc/ipc.go
index 9ee7843d3..e5e6a2b30 100644
--- a/pkg/ipc/ipc.go
+++ b/pkg/ipc/ipc.go
@@ -27,7 +27,7 @@ import (
// Configuration flags for Config.Flags.
type EnvFlags uint64
-// Note: New / changed flags should be added to parse_env_flags in executor.cc
+// Note: New / changed flags should be added to parse_env_flags in executor.cc.
const (
FlagDebug EnvFlags = 1 << iota // debug output from executor
FlagSignal // collect feedback signals (coverage)
@@ -43,7 +43,7 @@ const (
FlagEnableDevlinkPCI // setup devlink PCI device
)
-// Per-exec flags for ExecOpts.Flags:
+// Per-exec flags for ExecOpts.Flags.
type ExecFlags uint64
const (
@@ -247,7 +247,7 @@ var rateLimit = time.NewTicker(1 * time.Second)
// output: process output
// info: per-call info
// hanged: program hanged and was killed
-// err0: failed to start the process or bug in executor itself
+// err0: failed to start the process or bug in executor itself.
func (env *Env) Exec(opts *ExecOpts, p *prog.Prog) (output []byte, info *ProgInfo, hanged bool, err0 error) {
// Copy-in serialized program.
progSize, err := p.SerializeForExec(env.in)