summaryrefslogtreecommitdiff
path: root/pkg/systemd/generate/pods.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2021-12-15 16:07:14 +0100
committerPaul Holzinger <pholzing@redhat.com>2021-12-16 15:35:11 +0100
commit459e7841473d7b6343d29091ba98b43afbb0aa6c (patch)
tree45a91181bf95ccc66e58d63aea5a91a833bc4c0d /pkg/systemd/generate/pods.go
parentd1c91c128ea32dae3e9c56c657ea57dfed9f6ad4 (diff)
downloadpodman-459e7841473d7b6343d29091ba98b43afbb0aa6c.tar.gz
podman-459e7841473d7b6343d29091ba98b43afbb0aa6c.tar.bz2
podman-459e7841473d7b6343d29091ba98b43afbb0aa6c.zip
MovePauseProcessToScope do not seed everytime
Instead of using math/rand we can use crypto/rand which we do not have to seed. crypto/rand uses getrandom(2) Also instead of adding an int to the scope name we add a 4 byte hex string. [NO NEW TESTS NEEDED] Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg/systemd/generate/pods.go')
0 files changed, 0 insertions, 0 deletions