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