Manual Reference Pages  - security_check_context (3)

NAME

security_check_context - check the validity of a SELinux context

CONTENTS

SYNOPSIS

#include <selinux/selinux.h>

int security_check_context(security_context_t con);

DESCRIPTION

security_check_context returns 0 if SELinux is running and the context is valid, otherwise it returns -1.

SEE ALSO

selinux(8)


russell@coker.com.au security_check_context (3) 1 January 2004
blog comments powered by Disqus