diff options
author | Kay Sievers <kay@vrfy.org> | 2012-04-17 16:05:03 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-04-17 16:05:28 +0200 |
commit | e9a5ef7cddcfcdb29b5aef3896931132b6fd5165 (patch) | |
tree | ed40d27a53fcbee52aedad4531860aec6edb5c55 /src/libudev/libudev-private.h | |
parent | 75e37ac5b125713c5ab6e1c4a9d62cfb62948c27 (diff) | |
download | systemd-e9a5ef7cddcfcdb29b5aef3896931132b6fd5165.tar.gz |
selinux: unify systemd and udev code
Diffstat (limited to 'src/libudev/libudev-private.h')
-rw-r--r-- | src/libudev/libudev-private.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/libudev/libudev-private.h b/src/libudev/libudev-private.h index 4bdbb0aa24..eb2657a74e 100644 --- a/src/libudev/libudev-private.h +++ b/src/libudev/libudev-private.h @@ -173,20 +173,4 @@ int util_resolve_subsys_kernel(struct udev *udev, const char *string, char *result, size_t maxsize, int read_value); unsigned long long ts_usec(const struct timespec *ts); unsigned long long now_usec(void); - -/* libudev-selinux-private.c */ -#ifndef HAVE_SELINUX -static inline void udev_selinux_init(struct udev *udev) {} -static inline void udev_selinux_exit(struct udev *udev) {} -static inline void udev_selinux_lsetfilecon(struct udev *udev, const char *file, unsigned int mode) {} -static inline void udev_selinux_setfscreatecon(struct udev *udev, const char *file, unsigned int mode) {} -static inline void udev_selinux_resetfscreatecon(struct udev *udev) {} -#else -void udev_selinux_init(struct udev *udev); -void udev_selinux_exit(struct udev *udev); -void udev_selinux_lsetfilecon(struct udev *udev, const char *file, unsigned int mode); -void udev_selinux_setfscreatecon(struct udev *udev, const char *file, unsigned int mode); -void udev_selinux_resetfscreatecon(struct udev *udev); -#endif - #endif |