summaryrefslogtreecommitdiff
path: root/files.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2008-02-13 10:20:38 -0800
committerAaron Plattner <aplattner@nvidia.com>2008-02-13 10:20:38 -0800
commit30f54717116fe314c559326af8efd0a775944a41 (patch)
tree46f6fbf5693c5de0f44dfa106124835afdd30d0b /files.c
parentda0b9b2b01971f73d0dc072f538ef43aac0ee49d (diff)
1.0-96291.0-9629
Diffstat (limited to 'files.c')
-rw-r--r--files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/files.c b/files.c
index 7ad0493..5ae5586 100644
--- a/files.c
+++ b/files.c
@@ -1864,8 +1864,8 @@ int set_security_context(Options *op, const char *filename)
return TRUE;
}
- cmd = nvstrcat(op->utils[CHCON], " -t shlib_t ", filename,
- NULL);
+ cmd = nvstrcat(op->utils[CHCON], " -t ", op->selinux_chcon_type, " ",
+ filename, NULL);
ret = run_command(op, cmd, NULL, FALSE, 0, TRUE);