summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-11-11 06:11:37 +0000
committerjbj <devnull@localhost>2004-11-11 06:11:37 +0000
commitf9473219d523ace837a3ef5a1212bb6dcad2a690 (patch)
tree987faa61dcefd2565dc1ccdf2cb778fc95307e09 /system.h
parent8ce559b875c401630120a251cc73b23012f45080 (diff)
downloadlibrpm-tizen-f9473219d523ace837a3ef5a1212bb6dcad2a690.tar.gz
librpm-tizen-f9473219d523ace837a3ef5a1212bb6dcad2a690.tar.bz2
librpm-tizen-f9473219d523ace837a3ef5a1212bb6dcad2a690.zip
- selinux: use rpm_execcon, not execv, to run scriptlets (#136848).
- fix: segfault on --verifydb (#138589). CVS patchset: 7577 CVS date: 2004/11/11 06:11:37
Diffstat (limited to 'system.h')
-rw-r--r--system.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/system.h b/system.h
index 6db932cfd..841999e49 100644
--- a/system.h
+++ b/system.h
@@ -301,14 +301,11 @@ typedef char * security_context_t;
#define lsetfilecon(_fn, _c) (-1)
#define fsetfilecon(_fd, _c) (-1)
-#define getcon(_c) (-1)
-#define getexeccon(_c) (-1)
-#define setexeccon(_c) (-1)
-
#define security_check_context(_c) (0)
-#define security_getenforce() (0)
#define is_selinux_enabled() (-1)
+
+#define rpm_execcon(_v, _fn, _av, _envp) (0)
#endif
#if defined(__LCLINT__)