cap_get_file
Description:
get the Linux capabilities attached to a file
This function returns the Linux capabilities attached to path
. The capabilities set is returned in text form (see cap_to_text(3)).
If no capabilities are attached to a file, an empty string is returned.
This function depends on the feature "linuxcaps". See also feature_available.
Parameters:
this |
A GuestfsSession object |
Returns:
the returned string, or NULL on error |