mirror of
https://github.com/containers/podman.git
synced 2025-12-02 02:58:03 +08:00
Since this will be required by the runc security update I bump it hare already to make the runc bump easier. Note while there is 0.6.0 out we use 0.5.1 intentionally as 0.6 comes with breaking changes that won't build in our dependencies. Also note the lib now contains code licensed under MPL-2 which is not yet approved by the CNCF[1] but because the runc fix requires it we were advised to just go ahead and update it for now. [1] https://github.com/cncf/foundation/issues/1154 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
16 lines
613 B
Go
16 lines
613 B
Go
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
// Copyright (C) 2014-2015 Docker Inc & Go Authors. All rights reserved.
|
|
// Copyright (C) 2017-2025 SUSE LLC. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// Package consts contains the definitions of internal constants used
|
|
// throughout filepath-securejoin.
|
|
package consts
|
|
|
|
// MaxSymlinkLimit is the maximum number of symlinks that can be encountered
|
|
// during a single lookup before returning -ELOOP. At time of writing, Linux
|
|
// has an internal limit of 40.
|
|
const MaxSymlinkLimit = 255
|