diff options
author | Greg KH <greg@press.(none)> | 2005-04-26 23:52:14 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:52:14 -0700 |
commit | 4d7726399bcaf74105f8f3c27ee37b5dbddc1fee (patch) | |
tree | 47892d4feddea5123b4cde5cc52d30b7dfee7855 /udev_selinux.h | |
parent | cb948532ff3cb7edf1d2eead7a5cce9e8a1a7a97 (diff) |
selinux merge fixups again...
Diffstat (limited to 'udev_selinux.h')
-rw-r--r-- | udev_selinux.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/udev_selinux.h b/udev_selinux.h index 132a9a6550..d9dfeffad0 100644 --- a/udev_selinux.h +++ b/udev_selinux.h @@ -24,15 +24,17 @@ extern void selinux_setfilecon(const char *file, const char *devname, unsigned int mode); extern void selinux_setfscreatecon(const char *file, const char *devname, unsigned int mode); +extern void selinux_resetfscreatecon(void); extern void selinux_init(void); -extern void selinux_restore(void); +extern void selinux_exit(void); #else static inline void selinux_setfilecon(const char *file, const char *devname, unsigned int mode) {} static inline void selinux_setfscreatecon(const char *file, const char *devname, unsigned int mode) {} +static inline void selinux_resetfscreatecon(void) {} static inline void selinux_init(void) {} -static inline void selinux_restore(void) {} +static inline void selinux_exit(void) {} #endif /* USE_SELINUX */ #endif /* _UDEV_USE_SELINUX */ |