spiegel_podman/pkg
Matthew Heon 4004f646cd Add basic deadlock detection for container start/remove
We can easily tell if we're going to deadlock by comparing lock
IDs before actually taking the lock. Add a few checks for this in
common places where deadlocks might occur.

This does not yet cover pod operations, where detection is more
difficult (and costly) due to the number of locks being involved
being higher than 2.

Also, add some error wrapping on the Podman side, so we can tell
people to use `system renumber` when it occurs.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-02-24 09:29:34 -05:00
..
adapter Add basic deadlock detection for container start/remove 2020-02-24 09:29:34 -05:00
annotations Add ContainerManager annotation to created containers 2019-09-10 09:37:14 +02:00
api add more image tests for go bindings 2020-02-21 16:11:39 -06:00
apparmor apparmor: allow receiving of signals from 'podman kill' 2020-01-24 15:34:47 +01:00
bindings add more image tests for go bindings 2020-02-21 16:11:39 -06:00
capabilities add pkg/capabilities 2020-02-14 12:00:45 +01:00
cgroups stats: add SystemUsage 2020-02-12 11:58:29 +01:00
channelwriter account for varlink calls that dont use more 2019-07-10 08:50:05 -05:00
criu Add helper function to read out CRIU version 2018-10-23 12:52:03 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
errorhandling first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
hooks make lint: include unit tests 2020-01-14 10:51:59 +01:00
inspect inspect image healthchecks 2020-01-27 08:36:25 -06:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
logs first pass of corrections for golangci-lint 2019-07-10 15:52:17 -05:00
lookup execuser: look at the source for /etc/{passwd,group} overrides 2019-09-21 22:11:09 +02:00
namespaces namespaces: by default create cgroupns on cgroups v2 2019-11-05 17:29:01 +01:00
netns network: hide EPERM warning when rootless 2019-10-01 08:51:58 +02:00
network display file name of bad cni conf 2020-01-28 16:21:59 -06:00
registrar Update registrar unit tests to match them of cri-o 2019-04-04 08:53:32 +02:00
registries podman: mirror information 2019-12-12 19:53:46 -03:00
resolvconf Use host's resolv.conf if no network namespace enabled 2018-11-27 15:28:09 -05:00
rootless rootless: check if the conmon process is valid 2020-02-17 19:11:41 +01:00
rootlessport rootlessport: drop Pdeathsig in favor of Kill 2020-02-12 18:48:42 +01:00
seccomp apiv2 container create using specgen 2020-02-19 15:20:15 -06:00
signal add pkg/signal 2020-02-14 15:04:14 +01:00
spec Remove ImageVolumes from database 2020-02-21 09:37:30 -05:00
specgen Remove ImageVolumes from database 2020-02-21 09:37:30 -05:00
sysinfo Setup a reasonable default for pids-limit 4096 2019-10-04 16:09:13 -04:00
systemd Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
tracing make lint: include pkg/tracing 2020-01-14 09:54:48 +01:00
trust codespell: spelling corrections 2019-11-13 08:15:00 +11:00
util add pkg/signal 2020-02-14 15:04:14 +01:00
varlinkapi Add network options to podman pod create 2020-02-19 11:29:30 -05:00