ash: Expand here-documents in the current shell environment
[oweals/busybox.git] / libbb / selinux_common.c
index 2acb50e96f35b8d6df1360321803529dd06e5bf3..f917a1c6a10e1788c40c227b4cff2372dc2d73fd 100644 (file)
@@ -4,13 +4,13 @@
  *
  * Copyright 2007 KaiGai Kohei <kaigai@kaigai.gr.jp>
  *
- * Licensed under GPLv2, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2, see file LICENSE in this source tree.
  */
 #include "libbb.h"
 #include <selinux/context.h>
 
 context_t FAST_FUNC set_security_context_component(security_context_t cur_context,
-                                        char *user, char *role, char *type, char *range)
+                       char *user, char *role, char *type, char *range)
 {
        context_t con = context_new(cur_context);
        if (!con)
@@ -48,7 +48,7 @@ void FAST_FUNC selinux_preserve_fcontext(int fdesc)
        if (fgetfilecon(fdesc, &context) < 0) {
                if (errno == ENODATA || errno == ENOTSUP)
                        return;
-               bb_perror_msg_and_die("fgetfilecon failed");
+               bb_simple_perror_msg_and_die("fgetfilecon failed");
        }
        setfscreatecon_or_die(context);
        freecon(context);