include: unpexport SELINUX_* consts from include/global.h
globals.h shouldn't be cluttered with extension specific things, that aren't even used by external modules/drivers. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1328>
This commit is contained in:
		
							parent
							
								
									537293ff4e
								
							
						
					
					
						commit
						a57b449485
					
				|  | @ -136,4 +136,12 @@ typedef struct { | ||||||
|     CARD32 pad6; |     CARD32 pad6; | ||||||
| } SELinuxListItemsReply; | } SELinuxListItemsReply; | ||||||
| 
 | 
 | ||||||
|  | #ifdef XSELINUX | ||||||
|  | #define SELINUX_MODE_DEFAULT    0 | ||||||
|  | #define SELINUX_MODE_DISABLED   1 | ||||||
|  | #define SELINUX_MODE_PERMISSIVE 2 | ||||||
|  | #define SELINUX_MODE_ENFORCING  3 | ||||||
|  | extern int selinuxEnforcingState; | ||||||
|  | #endif | ||||||
|  | 
 | ||||||
| #endif                          /* _XSELINUX_H */ | #endif                          /* _XSELINUX_H */ | ||||||
|  |  | ||||||
|  | @ -34,12 +34,4 @@ extern _X_EXPORT sig_atomic_t inSignalContext; | ||||||
| extern _X_EXPORT Bool PanoramiXExtensionDisabledHack; | extern _X_EXPORT Bool PanoramiXExtensionDisabledHack; | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #ifdef XSELINUX |  | ||||||
| #define SELINUX_MODE_DEFAULT    0 |  | ||||||
| #define SELINUX_MODE_DISABLED   1 |  | ||||||
| #define SELINUX_MODE_PERMISSIVE 2 |  | ||||||
| #define SELINUX_MODE_ENFORCING  3 |  | ||||||
| extern _X_EXPORT int selinuxEnforcingState; |  | ||||||
| #endif |  | ||||||
| 
 |  | ||||||
| #endif                          /* !_XSERV_GLOBAL_H_ */ | #endif                          /* !_XSERV_GLOBAL_H_ */ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue