selinux_file_context_cmp man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

selinux_file_context_cmp(3)SELinux API documentatioselinux_file_context_cmp(3)

NAME
       selinux_file_context_cmp,  selinux_file_context_verify  - comparison of
       two file contexts.

SYNOPSIS
       #include <selinux/selinux.h>

       int selinux_file_context_cmp(const security_context_t  a,  const	 secu‐
       rity_context_t b);

       int selinux_file_context_verify(const char *path, mode_t mode);

DESCRIPTION
       selinux_file_context_cmp	 compares  two	file  contexts to see if their
       differences are "significant", the function runs	 the  strcmp  function
       ignoring the user componant of the file context.

       selinux_file_context_verify  compares  the  file context on disk to the
       system default.

RETURN VALUE
       Returns zero on success or -1 otherwise.

SEE ALSO
       selinux(8), selinux_lsetfilecon(3), matchpathcon(3),  freecon(3),  set‐
       filecon(3), setfscreatecon(3)

sds@tycho.nsa.gov	       21 November 2009	   selinux_file_context_cmp(3)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net