Differential D21741 Diff 62726 head/devel/etcd33/files/patch-cmd_vendor_github.com_coreos_go-systemd_util_util__cgo.go
Changeset View
Changeset View
Standalone View
Standalone View
head/devel/etcd33/files/patch-cmd_vendor_github.com_coreos_go-systemd_util_util__cgo.go
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- cmd/vendor/github.com/coreos/go-systemd/util/util_cgo.go.orig | |||||
+++ cmd/vendor/github.com/coreos/go-systemd/util/util_cgo.go | |||||
@@ -127,7 +127,7 @@ | |||||
switch { | |||||
case errno >= 0: | |||||
ret = false | |||||
- case serrno == syscall.ENOENT, serrno == syscall.ENXIO, serrno == syscall.ENODATA: | |||||
+ case serrno == syscall.ENOENT, serrno == syscall.ENXIO: | |||||
// Since the implementation of sessions in systemd relies on | |||||
// the `pam_systemd` module, using the sd_pid_get_owner_uid | |||||
// heuristic alone can result in false positives if that module |