X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfs.pod;fp=guestfs.pod;h=d8e4da3b3925d799fa4986a357f9ee7590cfac2b;hp=bbc594a3ad8da2f3c9fd2d01eb9cfede0156a3fa;hb=67a679afb17747b5ec392e56cf6121b085b38a3a;hpb=27566d8323e4a8af59f5649aeeaef97ebd55cbd0 diff --git a/guestfs.pod b/guestfs.pod index bbc594a..d8e4da3 100644 --- a/guestfs.pod +++ b/guestfs.pod @@ -367,6 +367,14 @@ guest itself: (Older versions of C require you to specify the name of the policy file). +=item 3. + +Optionally, set the security context for the API. The correct +security context to use can only be known by inspecting the +guest. As an example: + + guestfs_setcon (g, "unconfined_u:unconfined_r:unconfined_t:s0"); + =back This will work for running commands and editing existing files.