forked from mirrors/linux
		
	 575b1967e1
			
		
	
	
		575b1967e1
		
	
	
	
	
		
			
			Since userspace is expected to call timerfd syscalls directly with these flags/ioctls, make sure we export them so they don't have to duplicate the values themselves. Link: http://lkml.kernel.org/r/20161219064052.7196-1-vapier@gentoo.org Signed-off-by: Mike Frysinger <vapier@gentoo.org> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			469 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			469 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  *  include/linux/timerfd.h
 | |
|  *
 | |
|  *  Copyright (C) 2007  Davide Libenzi <davidel@xmailserver.org>
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #ifndef _LINUX_TIMERFD_H
 | |
| #define _LINUX_TIMERFD_H
 | |
| 
 | |
| #include <uapi/linux/timerfd.h>
 | |
| 
 | |
| #define TFD_SHARED_FCNTL_FLAGS (TFD_CLOEXEC | TFD_NONBLOCK)
 | |
| /* Flags for timerfd_create.  */
 | |
| #define TFD_CREATE_FLAGS TFD_SHARED_FCNTL_FLAGS
 | |
| /* Flags for timerfd_settime.  */
 | |
| #define TFD_SETTIME_FLAGS (TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET)
 | |
| 
 | |
| #endif /* _LINUX_TIMERFD_H */
 |