File tree 8 files changed +295
-43
lines changed
8 files changed +295
-43
lines changed Original file line number Diff line number Diff line change @@ -638,6 +638,12 @@ itself.
638
638
.PP
639
639
If the \fB \f C rro\fR option is specified then the mount is made recursively read-only.
640
640
641
+ .SH idmap mount options
642
+ .PP
643
+ If the \fB \f C idmap\fR option is specified then the mount is ID mapped using the container
644
+ target user namespace. This is an experimental feature and can change at any time
645
+ without notice.
646
+
641
647
.SH Automatically create user namespace
642
648
.PP
643
649
When running as user different than root, an user namespace is
Original file line number Diff line number Diff line change @@ -507,6 +507,12 @@ itself.
507
507
508
508
If the ` rro ` option is specified then the mount is made recursively read-only.
509
509
510
+ ## idmap mount options
511
+
512
+ If the ` idmap ` option is specified then the mount is ID mapped using the container
513
+ target user namespace. This is an experimental feature and can change at any time
514
+ without notice.
515
+
510
516
## Automatically create user namespace
511
517
512
518
When running as user different than root, an user namespace is
Original file line number Diff line number Diff line change @@ -543,8 +543,12 @@ libcrun_container_free (libcrun_container_t *ctr)
543
543
if (ctr == NULL )
544
544
return ;
545
545
546
+ if (ctr -> cleanup_private_data )
547
+ ctr -> cleanup_private_data (ctr -> private_data );
548
+
546
549
if (ctr -> container_def )
547
550
free_runtime_spec_schema_config_schema (ctr -> container_def );
551
+
548
552
free (ctr );
549
553
}
550
554
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ struct libcrun_container_s
74
74
bool use_intermediate_userns ;
75
75
76
76
void * private_data ;
77
+ void (* cleanup_private_data ) (void * private_data );
77
78
struct libcrun_context_s * context ;
78
79
};
79
80
You can’t perform that action at this time.
0 commit comments