Sebastiaan van Stijn
97073c9437
go.mod: github.com/moby/sys/mountinfo v0.5.0
...
full diff: https://github.com/moby/sys/compare/95edfa939201...mountinfo/v0.5.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-11-05 13:10:26 +01:00
Sebastiaan van Stijn
19d9d0d2a5
go.mod: github.com/moby/sys/signal v0.6.0
...
full diff: https://github.com/moby/sys/compare/8a51b5cc8879...signal/v0.6.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-11-05 13:08:07 +01:00
Sebastiaan van Stijn
9c455ded61
go.mod: github.com/moby/sys/symlink v0.2.0
...
full diff: https://github.com/moby/sys/compare/symlink/v0.1.0...symlink/v0.2.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-11-05 13:05:38 +01:00
Hajime Tazaki
b8f3ebb03b
vendor: update moby/sys for darwin support
...
The mount package of darwin requires to retrive mountinfo to check if
the target of unmount if still mounted or not. Thus pull the upstreamed
version of moby/sys to support this operation.
Signed-off-by: Hajime Tazaki <thehajime@gmail.com >
2021-10-23 07:48:17 +09:00
Kazuyoshi Kato
1d3d08026d
Support SIGRTMIN+n signals
...
systemd uses SIGRTMIN+n signals, but containerd didn't support the signals
since Go's sys/unix doesn't support them.
This change introduces SIGRTMIN+n handling by utilizing moby/sys/signal.
Fixes #5402 .
https://www.freedesktop.org/software/systemd/man/systemd.html#Signals
Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com >
2021-07-26 09:36:43 -07:00
Sebastiaan van Stijn
d629a08ebf
go.mod: github.com/moby/sys/mountinfo v0.4.1
...
full diff: https://github.com/moby/sys/compare/mountinfo/v0.4.0...mountinfo/v0.4.1
Fixes and improvements:
- Fix PrefixFilter() being too greedy
- TestMountedBy*: add missing pre-checks
- Documentation improvements
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-03-10 14:31:33 +01:00
Sebastiaan van Stijn
fb464b94d3
mount: replace mountinfo handling with moby/sys/mountinfo
...
Trying to reduce duplicated effort in maintaining a mountinfo
parser, this patch replaces the local implementation with the
implementation in github.com/moby/sys, which is actively maintained
and contains various optimizations.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-01-08 17:31:50 +01:00
Shengjing Zhu
7e46676e7c
Go mod vendor
...
Signed-off-by: Shengjing Zhu <zhsj@debian.org >
2020-12-01 01:41:25 +08:00
Sebastiaan van Stijn
1146098421
replace pkg/symlink with moby/sys/symlink
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-10-30 00:05:15 +01:00