mirror of
https://github.com/containerd/containerd.git
synced 2026-11-06 21:37:23 +00:00
This disables the slow_chown feature (nobody in their right mind is going to be choosing erofs and want to slowly chown each file), indicates that we support idmaps if the kernel supports it, and makes sure to chown the upperdir. This is more or less exactly how the overlay snapshotter does things, minus the slow_chown part (which has discussions about dropping altogether at some point anyways). Signed-off-by: Andrew Halaney <ahalaney@netflix.com>
24 lines
698 B
Go
24 lines
698 B
Go
//go:build !linux
|
|
|
|
/*
|
|
Copyright The containerd Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
package plugin
|
|
|
|
func supportsIDMappedMounts() (bool, error) {
|
|
return false, nil
|
|
}
|