mirror of https://github.com/containers/podman.git
				
				
				
			
		
			
				
	
	
		
			15 lines
		
	
	
		
			347 B
		
	
	
	
		
			Go
		
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			347 B
		
	
	
	
		
			Go
		
	
	
	
| // +build !linux
 | |
| 
 | |
| package cgroups
 | |
| 
 | |
| // IsCgroup2UnifiedMode returns whether we are running in cgroup 2 cgroup2 mode.
 | |
| func IsCgroup2UnifiedMode() (bool, error) {
 | |
| 	return false, nil
 | |
| }
 | |
| 
 | |
| // UserOwnsCurrentSystemdCgroup checks whether the current EUID owns the
 | |
| // current cgroup.
 | |
| func UserOwnsCurrentSystemdCgroup() (bool, error) {
 | |
| 	return false, nil
 | |
| }
 |