Signup
Search Linux manpages For:  

selinux_getenforcemode(3) -- Linux man page

 

NAME

selinux_getenforcemode - get the enforcing state of SE Linux  

SYNOPSIS

#include <selinux/selinux.h>

int selinux_getenforcemode(int *enforce);

 

DESCRIPTION

selinux_getenforcemode Reads the contents of the /etc/selinux/config file to determine how the system was setup to run SELinux.
Sets the value of enforce to 1 if SELinux should be run in enforcing mode. Sets the value of enforce to 0 if SELinux should be run in permissive mode. Sets the value of enforce to -1 if SELinux should be disabled.  

RETURN VALUE

On success, zero is returned. On failure, -1 is returned.


 
LINUX MAN PAGES
Man1 -- User Commands (Intro)
Man2 -- System Calls (Intro)
Man3 -- Library Functions (Intro)
Man4 -- Special Files (Intro)
Man5 -- File Formats (Intro)
Man6 -- Games (Intro)
Man7 -- Miscellaneous (Intro)
Man8 -- Administration (Intro)
Mann -- TCL Functions (not available)


WEB HOSTING SHOWCASE




 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2012 Broadband Media, Inc. All rights reserved.