Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RunningInUserNS (0.16 sec)

  1. pkg/kubelet/userns/inuserns/inuserns_linux.go

    limitations under the License.
    */
    
    package inuserns
    
    import libcontaineruserns "github.com/opencontainers/runc/libcontainer/userns"
    
    // RunningInUserNS detects whether the current process is running in a user namespace.
    func RunningInUserNS() bool {
    	return libcontaineruserns.RunningInUserNS()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 09 01:42:20 UTC 2024
    - 833 bytes
    - Viewed (0)
  2. pkg/kubelet/userns/inuserns/inuserns_others.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package inuserns
    
    // RunningInUserNS detects whether the current process is running in a user namespace.
    func RunningInUserNS() bool {
    	return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 09 01:42:20 UTC 2024
    - 758 bytes
    - Viewed (0)
  3. pkg/kubelet/util/swap/swap_util.go

    func IsTmpfsNoswapOptionSupported(mounter mount.Interface, mountPath string) bool {
    	isTmpfsNoswapOptionSupportedHelper := func() bool {
    		if sysruntime.GOOS == "windows" {
    			return false
    		}
    
    		if inuserns.RunningInUserNS() {
    			// Turning off swap in unprivileged tmpfs mounts unsupported
    			// https://github.com/torvalds/linux/blob/v6.8/mm/shmem.c#L4004-L4011
    			// https://github.com/kubernetes/kubernetes/issues/125137
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 10:07:06 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top