Commit Graph

2166 Commits (v3.22.10)
 

Author SHA1 Message Date
shirou e0ec1b9cda
Merge pull request #1238 from scop/spelling
Spelling and grammar fixes
3 years ago
Ville Skyttä 1e56c6f421 Spelling and grammar fixes 3 years ago
shirou 696bb11b1e
Merge pull request #1235 from scop/refactor/parentwithcontext-ppidwithcontext
[process] implement ParentWithContext using PpidWithContext
3 years ago
shirou 50cad0760c
Merge branch 'master' into refactor/parentwithcontext-ppidwithcontext 3 years ago
shirou 34e74aaccb
Merge pull request #1229 from PierreF/darwin-drop-callps-step2
Darwin drop callps step2
3 years ago
Matthieu MOREL 8ba220d241 enable contextcheck linter 3 years ago
shirou 6918006d35
Merge pull request #1233 from Kogelvis/almalinux_support
Let almalinux be part of the rhel family
3 years ago
shirou 5ba00db577
Merge pull request #1231 from shirou/feature/process_linux_Children_fix_error_check
[process][linux] Fix error handling on Children.
3 years ago
shirou 72100d4b16
Merge pull request #1234 from shirou/dependabot/go_modules/github.com/google/go-cmp-0.5.7
Bump github.com/google/go-cmp from 0.5.6 to 0.5.7
3 years ago
Ville Skyttä 0306525d78 [process] implement ParentWithContext using PpidWithContext
Removes need for redundant ParentWithContext implementations. It had led
to it being unsupported on FreeBSD and OpenBSD even though
PpidWithContext was available for them, and different implementations
for getting the parent info used in ParentWithContext and
PpidWithContext on Darwin and Linux.
3 years ago
dependabot[bot] 5d930b5b84
Bump github.com/google/go-cmp from 0.5.6 to 0.5.7
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.6...v0.5.7)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Lammert Hellinga 001699bed7 Let almalinux be part of the rhel family 3 years ago
shirou 35fbe38505 [process][linux] Fix error handling on Children.
If pgrep returns error, `CallPgrepWithContext` always returns empty pids. So this Children always returns ErrorNoChildren. This PR fixes that handling.
3 years ago
shirou 511da82e94
Merge pull request #1224 from scop/feat/solaris-loadavg
[load][solaris] implement AvgWithContext
3 years ago
shirou 29058848ba
Merge pull request #1217 from scop/feat/freebsd-disk-serial
[disk][freebsd] implement SerialNumberWithContext
3 years ago
Pierre Fersing 43e50e1d7d Reduce call to ps for process package on darwin 3 years ago
Pierre Fersing 60eae48e6a Drop test for Darwin Pids() 3 years ago
Pierre Fersing b9b3dbe67a Avoid ps command and use KProc on MacOS 3 years ago
Lomanic 1ccce7b91c
Merge pull request #1223 from shirou/feature/remove_codecov
remove codecov
3 years ago
Ville Skyttä 31c410026d [disk][freebsd] handle SerialNumberWithContext scanner errors 3 years ago
Ville Skyttä d92d114f90 [load][solaris] implement AvgWithContext 3 years ago
shirou 59e366d674 remove codecov 3 years ago
Ville Skyttä 0d33df272b [disk][freebsd] return empty serial on `(null)` geom disk ident 3 years ago
shirou a3ae4bc40d
Merge pull request #1221 from shirou/feature/process_win_fix_dup_handle
[process][windows] fix release handle
3 years ago
shirou dcac9d9b01 [process][windows] fix release handle 3 years ago
shirou fdfd273cf0
Merge pull request #1218 from scop/feat/freebsd-process-start
[process][freebsd] implement createTimeWithContext
3 years ago
shirou 64a13e4c18
Merge pull request #1219 from Lomanic/issue1216
[process][windows] Fix #1216 fix compilation on arm/arm64
3 years ago
shirou b4808b3e94
Merge pull request #1204 from YangKeao/fix-unstable-boottime
fix unstable boot time because of float conversion
3 years ago
shirou c56b5223c5
Merge pull request #1215 from Lomanic/issue1198
[net][linux] Fix #1198 "f.ReadDir undefined" on Go 1.15 by redefining a custom readDir according to go version
3 years ago
Lomanic 01cf95a92d [process][windows] Fix #1216 fix compilation on arm/arm64
go build ./... with GOARCH=arm64 is otherwise failing with the following:

process\process_windows.go:412:11: undefined: readProcessMemory
process\process_windows.go:425:11: undefined: readProcessMemory
process\process_windows.go:896:32: undefined: PROCESS_MEMORY_COUNTERS
process\process_windows.go:897:10: undefined: PROCESS_MEMORY_COUNTERS
process\process_windows.go:910:50: undefined: PROCESS_MEMORY_COUNTERS
process\process_windows.go:950:21: undefined: queryPebAddress
process\process_windows.go:955:9: undefined: readProcessMemory
process\process_windows.go:961:8: undefined: readProcessMemory
process\process_windows.go:969:21: undefined: queryPebAddress
process\process_windows.go:974:9: undefined: readProcessMemory
process\process_windows.go:974:9: too many errors
3 years ago
Ville Skyttä 41e2595443 [process][freebsd] implement createTimeWithContext 3 years ago
Ville Skyttä df68a56e2d [disk][freebsd] implement SerialNumberWithContext 3 years ago
Lomanic d826e14e27 [net][linux] Fix #1198 "f.ReadDir undefined" on Go 1.15 by redefining a custom readDir according to go version
Using os.File.Readdir pre Go 1.16 and os.File.ReadDir post Go 1.16
3 years ago
shirou 2f8da0a394
Merge pull request #1205 from mmorel-35/master
enable more linters, report coverage and cache mods
3 years ago
Matthieu MOREL fe2fab4938
Update test.yml 3 years ago
Lomanic 0bd6ae1cf1
Merge pull request #1207 from makazeu/patch-1
Fix a typo in comment
3 years ago
Matthieu MOREL a9e4ce7cf9
enable goimports linter 3 years ago
Matthieu MOREL e6e3f9399b
enable importas linter 3 years ago
Matthieu MOREL 0f342652ad
enable nakedret linter 3 years ago
Matthieu MOREL 803be09d63
enable megacheck linter 3 years ago
Makazeu 521fafd945
Fix a typo in comment 3 years ago
Matthieu MOREL 2252055b93
enable codecoverage 3 years ago
Matthieu MOREL 5c5245372d
enable predeclared linter 3 years ago
Matthieu MOREL f8c685e717
enable caching in workflows 3 years ago
Matthieu MOREL 851bffc0f1
enable gosec linter 3 years ago
Matthieu MOREL 5801744ecc
enable asciicheck linter 3 years ago
Matthieu MOREL 227e7b8b8c
enable nolintlint linter 3 years ago
Matthieu MOREL 4671e649aa
enable revive linter 3 years ago
Matthieu MOREL 982ee3bc2b
enable misspell linter 3 years ago
Matthieu MOREL e232c1083c
enable gofumpt linter 3 years ago