Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/libbb/selinux_common.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC revision 984 by niro, Sun May 30 11:32:42 2010 UTC
# Line 3  Line 3 
3   *   -- common SELinux utility functions   *   -- common SELinux utility functions
4   *   *
5   * Copyright 2007 KaiGai Kohei <kaigai@kaigai.gr.jp>   * Copyright 2007 KaiGai Kohei <kaigai@kaigai.gr.jp>
6     *
7     * Licensed under GPLv2, see file LICENSE in this tarball for details.
8   */   */
9  #include "libbb.h"  #include "libbb.h"
10  #include <selinux/context.h>  #include <selinux/context.h>
# Line 34  void FAST_FUNC setfscreatecon_or_die(sec Line 36  void FAST_FUNC setfscreatecon_or_die(sec
36   if (setfscreatecon(scontext) < 0) {   if (setfscreatecon(scontext) < 0) {
37   /* Can be NULL. All known printf implementations   /* Can be NULL. All known printf implementations
38   * display "(null)", "<null>" etc */   * display "(null)", "<null>" etc */
39   bb_perror_msg_and_die("cannot set default "   bb_perror_msg_and_die("can't set default "
40   "file creation context to %s", scontext);   "file creation context to %s", scontext);
41   }   }
42  }  }

Legend:
Removed from v.983  
changed lines
  Added in v.984