X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fgenerator.ml;h=3a772029e7ce5a5441e0755cd9577fc208bea8dc;hb=67a679afb17747b5ec392e56cf6121b085b38a3a;hp=0bd9924d7b25a610961243fc95ea13fd814c269c;hpb=8157503b09e24667ddab833c1d12dd643ceac71b;p=libguestfs.git diff --git a/src/generator.ml b/src/generator.ml index 0bd9924..3a77202 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -3289,17 +3289,17 @@ This command disables the libguestfs appliance swap on file."); ["swapoff_label"; "swapit"]; ["zero"; "/dev/sdb"]; ["blockdev_rereadpt"; "/dev/sdb"]])], - "enable swap on labelled swap partition", + "enable swap on labeled swap partition", "\ -This command enables swap to a labelled swap partition. +This command enables swap to a labeled swap partition. See C for other notes."); ("swapoff_label", (RErr, [String "label"]), 175, [], [], (* XXX tested by swapon_label *) - "disable swap on labelled swap partition", + "disable swap on labeled swap partition", "\ This command disables the libguestfs appliance swap on -labelled swap partition."); +labeled swap partition."); ("swapon_uuid", (RErr, [String "uuid"]), 176, [], [InitEmpty, Always, TestRun ( @@ -3427,6 +3427,24 @@ This closes the inotify handle which was previously opened by inotify_init. It removes all watches, throws away any pending events, and deallocates all resources."); + ("setcon", (RErr, [String "context"]), 185, [], + [], + "set SELinux security context", + "\ +This sets the SELinux security context of the daemon +to the string C. + +See the documentation about SELINUX in L."); + + ("getcon", (RString "context", []), 186, [], + [], + "get SELinux security context", + "\ +This gets the SELinux security context of the daemon. + +See the documentation about SELINUX in L, +and C"); + ] let all_functions = non_daemon_functions @ daemon_functions