[ Version ( deprecated = true , since = "1.0.67" ) ]
public string getcon () throws Error
Warning: getcon is deprecated.
get SELinux security context
In new code, use selinux_relabel instead
This gets the SELinux security context of the daemon.
See the documentation about SELINUX in guestfs(3), and setcon
This function depends on the feature "selinux". See also feature_available.
this |
A GuestfsSession object |
the returned string, or NULL on error |