- reenable FORTIFY_SOURCE=3 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxcfs?expand=0&rev=43
14 lines
344 B
Diff
14 lines
344 B
Diff
Index: lxcfs-4.0.12/src/utils.h
|
|
===================================================================
|
|
--- lxcfs-4.0.12.orig/src/utils.h
|
|
+++ lxcfs-4.0.12/src/utils.h
|
|
@@ -46,6 +46,8 @@ static inline int pidfd_open(pid_t pid,
|
|
{
|
|
return syscall(__NR_pidfd_open, pid, flags);
|
|
}
|
|
+#else
|
|
+#include <sys/pidfd.h>
|
|
#endif
|
|
|
|
#if !HAVE_PIDFD_SEND_SIGNAL
|