Sebastiaan van Stijn 9bc8d63c9f 
	
	
	cri/server: use containerd/oci instead of libcontainer/devices ... 
			Looks like we had our own copy of the "getDevices" code already, so use
that code (which also matches the code that's used to _generate_ the spec,
so a better match).
Moving the code to a separate file, I also noticed that the _unix and _linux
code was _exactly_ the same (baring some `//nolint:` comments), so also
removing the duplicated code.
With this patch applied, we removed the dependency on the libcontainer/devices
package (leaving only libcontainer/user).
Signed-off-by: Sebastiaan van Stijn <github@gone.nl > 
		
	 
		2021-04-08 23:25:21 +02:00 
	 
	
	
	
		 
	
	
		
			
			
			
			
			
			2020-12-22 13:22:16 +08:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-03-03 16:46:41 +08:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-04-08 23:25:21 +02:00 
		 
	
		
			
			
			
			
			
			2021-04-07 21:25:36 +09:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-02-04 07:05:11 -05:00 
		 
	
		
			
			
			
			
			
			2021-03-24 22:40:22 -07:00 
		 
	
		
			
			
			
			
			
			2021-02-04 07:05:11 -05:00 
		 
	
		
			
			
			
			
			
			2021-02-18 16:39:28 -08:00 
		 
	
		
			
			
			
			
			
			2021-02-18 11:06:59 +08:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-01-06 13:09:03 -05:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-01-24 13:43:38 +08:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-12-22 13:22:16 +08:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-03-05 00:00:10 +08:00 
		 
	
		
			
			
			
			
			
			2021-03-05 00:00:10 +08:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-02-17 21:33:49 +08:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-08 17:30:17 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-01-24 13:43:38 +08:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-01-08 17:32:01 +01:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-12-15 20:05:25 +09:00 
		 
	
		
			
			
			
			
			
			2021-03-25 13:13:33 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-04-08 15:11:33 +05:30 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-03-12 22:42:22 +00:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-01-26 14:57:54 -05:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-01-24 13:43:38 +08:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-03-22 20:15:24 +01:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-12 17:59:08 -07:00 
		 
	
		
			
			
			
			
			
			2021-01-26 12:10:39 +01:00 
		 
	
		
			
			
			
			
			
			2021-04-07 21:25:36 +09:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-03-24 22:40:22 -07:00 
		 
	
		
			
			
			
			
			
			2021-01-26 12:10:39 +01:00 
		 
	
		
			
			
			
			
			
			2021-01-26 12:10:39 +01:00 
		 
	
		
			
			
			
			
			
			2021-02-10 18:33:14 +01:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-01-24 13:43:38 +08:00 
		 
	
		
			
			
			
			
			
			2021-03-23 11:29:53 +01:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2021-02-10 17:14:17 +09:00 
		 
	
		
			
			
			
			
			
			2020-10-08 17:30:17 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-08 17:30:17 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 13:09:37 -07:00 
		 
	
		
			
			
			
			
			
			2020-10-07 14:45:57 -07:00