Skip to content

Commit 21e0179

Browse files
committed
linux: fix definition of CLONE_NEWCGROUP
Signed-off-by: Giuseppe Scrivano <[email protected]>
1 parent 684b254 commit 21e0179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcrun/linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ get_private_data (struct libcrun_container_s *container)
192192
# define CLONE_NEWTIME 0x00000080
193193
#endif
194194
#ifndef CLONE_NEWCGROUP
195-
# define CLONE_NEWCGROUP 0
195+
# define CLONE_NEWCGROUP 0x02000000
196196
#endif
197197
#ifndef AT_RECURSIVE
198198
# define AT_RECURSIVE 0x8000

0 commit comments

Comments
 (0)