consolidate kernel-side struct sigaction declarations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
		
					parent
					
						
							
								92a3ce4a1e
							
						
					
				
			
			
				commit
				
					
						574c4866e3
					
				
			
		
					 26 changed files with 48 additions and 81 deletions
				
			
		| 
						 | 
				
			
			@ -93,6 +93,11 @@ typedef unsigned long old_sigset_t;
 | 
			
		|||
 | 
			
		||||
#include <asm-generic/signal-defs.h>
 | 
			
		||||
 | 
			
		||||
#ifdef SA_RESTORER
 | 
			
		||||
#define __ARCH_HAS_SA_RESTORER
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifndef __KERNEL__
 | 
			
		||||
struct sigaction {
 | 
			
		||||
	__sighandler_t sa_handler;
 | 
			
		||||
	unsigned long sa_flags;
 | 
			
		||||
| 
						 | 
				
			
			@ -101,6 +106,7 @@ struct sigaction {
 | 
			
		|||
#endif
 | 
			
		||||
	sigset_t sa_mask;		/* mask last for extensibility */
 | 
			
		||||
};
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
typedef struct sigaltstack {
 | 
			
		||||
	void __user *ss_sp;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue