Differential D21741 Diff 62460 devel/etcd33/files/patch-cmd_vendor_github.com_coreos_go-systemd_util_util__cgo.go
Changeset View
Changeset View
Standalone View
Standalone View
devel/etcd33/files/patch-cmd_vendor_github.com_coreos_go-systemd_util_util__cgo.go
- This file was moved from devel/etcd33/files/patch-.._src_github.com_coreos_go-systemd_util_util__cgo.go.
--- ../src/github.com/coreos/go-systemd/util/util_cgo.go.orig | --- cmd/vendor/github.com/coreos/go-systemd/util/util_cgo.go.orig | ||||
+++ ../src/github.com/coreos/go-systemd/util/util_cgo.go | +++ cmd/vendor/github.com/coreos/go-systemd/util/util_cgo.go | ||||
@@ -127,7 +127,7 @@ | @@ -127,7 +127,7 @@ | ||||
switch { | switch { | ||||
case errno >= 0: | case errno >= 0: | ||||
ret = false | ret = false | ||||
- case serrno == syscall.ENOENT, serrno == syscall.ENXIO, serrno == syscall.ENODATA: | - case serrno == syscall.ENOENT, serrno == syscall.ENXIO, serrno == syscall.ENODATA: | ||||
+ case serrno == syscall.ENOENT, serrno == syscall.ENXIO: | + case serrno == syscall.ENOENT, serrno == syscall.ENXIO: | ||||
// Since the implementation of sessions in systemd relies on | // Since the implementation of sessions in systemd relies on | ||||
// the `pam_systemd` module, using the sd_pid_get_owner_uid | // the `pam_systemd` module, using the sd_pid_get_owner_uid | ||||
// heuristic alone can result in false positives if that module | // heuristic alone can result in false positives if that module |