aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/sysctl_deprecated.go
blob: 3c76be2cd0a11262b0fd8a83b5b3c27a5bf4cca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package container

import "hakurei.app/message"

// OverflowUid is the old function signature of [OverflowUID].
//
// Deprecated: This function will be removed in 0.5.
func OverflowUid(_ message.Msg) int { return OverflowUID() }

// OverflowGid is the old function signature of [OverflowGID].
//
// Deprecated: This function will be removed in 0.5.
func OverflowGid(_ message.Msg) int { return OverflowGID() }

// LastCap returns the highest valid capability of the running kernel. Exports
// CAP_LAST_CAP from the kernel.
//
// Deprecated: This function will be unexported in 0.5.
func LastCap(_ message.Msg) uintptr { return lastcap() }