LinuxGuruz
  • Last 5 Forum Topics
    Replies
    Views
    Last post


The Web Only This Site
  • BOOKMARK

  • ADD TO FAVORITES

  • REFERENCES


  • MARC

    Mailing list ARChives
    - Search by -
     Subjects
     Authors
     Bodies





    FOLDOC

    Computing Dictionary




  • Text Link Ads






  • LINUX man pages
  • Linux Man Page Viewer


    The following form allows you to view linux man pages.

    Command:

    security_setenforce

    
    
    
    

    SYNOPSIS

           #include <selinux/selinux.h>
    
           int security_getenforce(void);
    
           int security_setenforce(int value);
    
           int security_deny_unknown(void);
    
    
    

    DESCRIPTION

           security_getenforce returns 0 if SELinux is running in permissive mode,
           1 if it is running in enforcing mode, and -1 on error.
    
           security_setenforce  sets  SELinux  to enforcing mode if the value 1 is
           passed in, and sets it to permissive mode if 0 is passed in.   On  suc-
           cess 0 is returned, on error -1 is returned.
    
           security_deny_unknown  returns  0  if  SELinux treats policy queries on
           undefined object classes or permissions as being  allowed,  1  if  such
           queries are denied, and -1 on error.
    
    
    

    SEE ALSO

           selinux(8)
    
    
    

    russell@coker.com.au 1 January 2004 security_getenforce(3)

    
    
  • MORE RESOURCE


  • Linux

    The Distributions





    Linux

    The Software





    Linux

    The News



  • MARKETING






  • Toll Free

webmaster@linuxguruz.com
Copyright © 1999 - 2016 by LinuxGuruz