Magellan Linux

Diff of /trunk/mkinitrd-magellan/busybox/selinux/getsebool.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 4  Line 4 
4   * Based on libselinux 1.33.1   * Based on libselinux 1.33.1
5   * Port to BusyBox  Hiroshi Shinji <shiroshi@my.email.ne.jp>   * Port to BusyBox  Hiroshi Shinji <shiroshi@my.email.ne.jp>
6   *   *
7     * Licensed under GPLv2, see file LICENSE in this tarball for details.
8   */   */
9    
10  #include "libbb.h"  #include "libbb.h"
# Line 24  int getsebool_main(int argc, char **argv Line 25  int getsebool_main(int argc, char **argv
25    
26   rc = security_get_boolean_names(&names, &len);   rc = security_get_boolean_names(&names, &len);
27   if (rc)   if (rc)
28   bb_perror_msg_and_die("cannot get boolean names");   bb_perror_msg_and_die("can't get boolean names");
29    
30   if (!len) {   if (!len) {
31   puts("No booleans");   puts("No booleans");

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