summaryrefslogtreecommitdiff
path: root/lib/rpmsx.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-01-05 14:09:47 +0000
committerjbj <devnull@localhost>2004-01-05 14:09:47 +0000
commitcf60d725654c1d9bb354a0f71d274e60b781040c (patch)
treeccf76799ddf040cc8bf4496b84c0c44e4a74359c /lib/rpmsx.h
parentc305927d5d7e7e4a4bb13e168c7888c6fa1d7e33 (diff)
downloadrpm-cf60d725654c1d9bb354a0f71d274e60b781040c.tar.gz
rpm-cf60d725654c1d9bb354a0f71d274e60b781040c.tar.bz2
rpm-cf60d725654c1d9bb354a0f71d274e60b781040c.zip
add --with-selinux, move selinux stubs to system.h.
CVS patchset: 7063 CVS date: 2004/01/05 14:09:47
Diffstat (limited to 'lib/rpmsx.h')
-rw-r--r--lib/rpmsx.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/rpmsx.h b/lib/rpmsx.h
index e66196ce5..a74edf908 100644
--- a/lib/rpmsx.h
+++ b/lib/rpmsx.h
@@ -8,36 +8,6 @@
#include <regex.h>
-#include <selinux/selinux.h>
-
-#if defined(__LCLINT__)
-/*@-incondefs@*/
-extern void freecon(/*@only@*/ security_context_t con)
- /*@modifies con @*/;
-
-extern int getfilecon(const char *path, /*@out@*/ security_context_t *con)
- /*@modifies *con @*/;
-extern int lgetfilecon(const char *path, /*@out@*/ security_context_t *con)
- /*@modifies *con @*/;
-extern int fgetfilecon(int fd, /*@out@*/ security_context_t *con)
- /*@modifies *con @*/;
-
-extern int setfilecon(const char *path, security_context_t con)
- /*@globals fileSystem @*/
- /*@modifies fileSystem @*/;
-extern int lsetfilecon(const char *path, security_context_t con)
- /*@globals fileSystem @*/
- /*@modifies fileSystem @*/;
-extern int fsetfilecon(int fd, security_context_t con)
- /*@globals fileSystem @*/
- /*@modifies fileSystem @*/;
-
-extern int security_check_context(security_context_t con)
- /*@globals fileSystem @*/
- /*@modifies fileSystem @*/;
-/*@=incondefs@*/
-#endif
-
/**
*/
/*@-exportlocal@*/