fskv_unreg Kernel Service
Purpose
Unregisters callout handlers for validation of file system operations.
Syntax
#include <sys/xfops.h>
int fskv_unreg(ulong options);
Parameters
- options
- Specifies a bit mask of registration options. The options parameter is not
defined currently. The caller must set the options parameter to
0
.
Description
The fskv_unreg
kernel service removes the registration of the functions to be
called before the execution of file system operations. After this service completes, the callout
handlers are not executed.
The caller of the fskv_unreg
kernel service must have root authority.
Execution environment
The fskv_unreg
kernel service can be called only from the process
environment.
Return values
On successful completion, the fskv_unreg
kernel service returns a value of
0.
The following error codes are returned on failure:
- EPERM
- The caller does not have permission to invoke this function.
- EINVAL
- A parameter is invalid.