The set function will fail if no matching key is found in the local store. Otherwise, the provided object will replace the current one. When
.BRsemanage_commit"(3)"
is invoked, changes will be written permanently into the local store, and will be loaded into policy. Validity of the object being added is checked at commit time.
.TP
.BParameters:
The
.Ihandle
is used to track persistent state across semanage calls, and for error reporting. The
.Ikey
identifies the
.Idata
object, which will be written into the store. The key are data are properties of the caller, and are not stored or modified internally.
.TP
.BRequirements:
This function requires an semanage connection to be established (see