get_selinux


Description:

[ Version ( deprecated = true , since = "1.0.67" ) ]
public int8 get_selinux () throws Error

Warning: get_selinux is deprecated.

get SELinux enabled flag

Note:

In new code, use selinux_relabel instead

This returns the current setting of the selinux flag which is passed to the appliance at boot time. See set_selinux.

For more information on the architecture of libguestfs, see guestfs(3).

Parameters:

this

A GuestfsSession object

Returns:

the returned value, or -1 on error