getplabel man page on Solaris

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

getplabel(3TSOL)     Trusted Extensions Library Functions     getplabel(3TSOL)

NAME
       getplabel - get process label

SYNOPSIS
       cc [flag...] file... -ltsol [library...]

       #include <tsol/label.h>

       int getplabel(m_label_t *label_p);

DESCRIPTION
       The  getplabel()	 function obtains the sensitivity label of the calling
       process.

RETURN VALUES
       Upon successful completion, getplabel() returns 0. Otherwise it returns
       -1, label_p is unchanged, and errno is set to indicate the error.

ERRORS
       The  getplabel()	 function  fails and label_p does not refer to a valid
       sensitivity label if:

       EFAULT	 label_p points to an invalid address.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Committed			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │MT-Safe			   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       ucred_getlabel(3C),	  libtsol(3LIB),	 m_label_alloc(3TSOL),
       m_label_free(3TSOL), attributes(5)

       Obtaining  a  Process  Label  in Solaris Trusted Extensions Developer's
       Guide

NOTES
       The functionality described on this manual page is  available  only  if
       the system is configured with Trusted Extensions.

       This  function  returns	different  values  for	system	processes than
       ucred_getlabel(3C) returns.

SunOS 5.10			  20 Jul 2007		      getplabel(3TSOL)
[top]

List of man pages available for Solaris

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