Laurent Vivier 
		ae68ad9fee 
		
	 
	
	
	linux-user: fix conversion of flock/flock64 l_type field ... 
			As l_type values (F_RDLCK, F_WRLCK, F_UNLCK, F_EXLCK, F_SHLCK)
are not bitmasks, we can't use target_to_host_bitmask() and
host_to_target_bitmask() to convert them.
Introduce target_to_host_flock() and host_to_target_flock()
to convert values between host and target.
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Message-Id: <20180509231123.20864-5-laurent@vivier.eu> 
		
	 
		2018-05-11 19:05:19 +02:00 
	 
	
	
		 
	
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:40:19 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-30 09:48:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-02-18 18:52:32 +01:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-30 09:48:07 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-11 19:05:12 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-11 19:05:12 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-30 09:47:57 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-30 09:47:55 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:25:29 +02:00 
		 
	
		
			
			
			
			
			
			2017-01-22 18:14:10 -08:00 
		 
	
		
			
			
			
			
			
			2007-10-14 16:27:31 +00:00 
		 
	
		
			
			
			
			
			
			2016-09-21 14:27:19 +03:00 
		 
	
		
			
			
			
			
			
			2018-02-18 18:52:32 +01:00 
		 
	
		
			
			
			
			
			
			2016-07-19 15:22:33 +03:00 
		 
	
		
			
			
			
			
			
			2016-01-29 15:07:22 +00:00 
		 
	
		
			
			
			
			
			
			2016-01-29 15:07:22 +00:00 
		 
	
		
			
			
			
			
			
			2018-04-30 09:48:32 +02:00 
		 
	
		
			
			
			
			
			
			2018-04-30 09:47:55 +02:00 
		 
	
		
			
			
			
			
			
			2018-03-13 11:30:22 -07:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:25:29 +02:00 
		 
	
		
			
			
			
			
			
			2016-05-27 14:49:51 +03:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2018-05-03 18:29:15 +02:00 
		 
	
		
			
			
			
			
			
			2017-01-23 09:52:39 -08:00 
		 
	
		
			
			
			
			
			
			2017-10-16 16:00:56 +03:00 
		 
	
		
			
			
			
			
			
			2017-05-29 14:56:08 +03:00 
		 
	
		
			
			
			
			
			
			2018-05-11 19:05:05 +02:00 
		 
	
		
			
			
			
			
			
			2017-02-16 15:29:30 +01:00 
		 
	
		
			
			
			
			
			
			2018-05-11 19:05:19 +02:00 
		 
	
		
			
			
			
			
			
			2011-02-09 10:33:54 +02:00 
		 
	
		
			
			
			
			
			
			2017-08-01 12:13:07 +01:00 
		 
	
		
			
			
			
			
			
			2016-03-22 22:20:17 +01:00 
		 
	
		
			
			
			
			
			
			2016-01-29 15:07:22 +00:00 
		 
	
		
			
			
			
			
			
			2016-07-12 16:20:46 +02:00 
		 
	
		
			
			
			
			
			
			2016-01-29 15:07:22 +00:00