summaryrefslogtreecommitdiff
path: root/udev_selinux.h
diff options
context:
space:
mode:
authorGreg KH <greg@press.(none)>2005-04-26 23:48:29 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 23:48:29 -0700
commit7eb92135c61af77fff62eec5f396b9633a54b245 (patch)
tree323b33417ced8d1215851282ba736a8489856cd2 /udev_selinux.h
parent237415b141ae2f3915160bc43ed76296588299f0 (diff)
more merge fixups, looks like i missed a selinux patch somewhere...
Diffstat (limited to 'udev_selinux.h')
-rw-r--r--udev_selinux.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/udev_selinux.h b/udev_selinux.h
index d9dfeffad0..132a9a6550 100644
--- a/udev_selinux.h
+++ b/udev_selinux.h
@@ -24,17 +24,15 @@
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_exit(void);
+extern void selinux_restore(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_exit(void) {}
+static inline void selinux_restore(void) {}
#endif /* USE_SELINUX */
#endif /* _UDEV_USE_SELINUX */