summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
authorRobb Manes <robbmanes@protonmail.com>2022-02-16 15:08:41 -0500
committerRobb Manes <robbmanes@protonmail.com>2022-02-16 15:47:02 -0500
commit90066af62e08da7a2795d163f181e4a4b2225869 (patch)
tree2f887c7b4df3a1df1e9e1208c56d060b9a9be134 /libpod/container.go
parentf918a9418f5eeb00b289c127142953da2c394867 (diff)
downloadpodman-90066af62e08da7a2795d163f181e4a4b2225869.tar.gz
podman-90066af62e08da7a2795d163f181e4a4b2225869.tar.bz2
podman-90066af62e08da7a2795d163f181e4a4b2225869.zip
Calculate device major/minor using bitshift
Previously, devices with a major/minor number >256 would fail to be detected. Switch to using bitwise conversion (similar to sys/sysmacros in C). [NO NEW TESTS NEEDED] Signed-off-by: Robb Manes <robbmanes@protonmail.com>
Diffstat (limited to 'libpod/container.go')
0 files changed, 0 insertions, 0 deletions