mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
Travis CI stopped providing CI minutes for open-source projects some time ago and we have migrated to GitHub actions. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
7 lines
156 B
Python
Executable file
7 lines
156 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
import ctypes
|
|
libc = ctypes.CDLL(None)
|
|
|
|
# libc may not have memfd_create (e.g., centos)
|
|
libc.memfd_create("test".encode('utf8'), 0)
|