sys_nfsservctl [fs/nfsctl.c]
System call interface to kernel NFS daemon. *to be documented* Arguments
eax | 169
ebx | Command to perform. It may be one of the following:
`NFSCTL_SVC` | `*to be documented*`
`NFSCTL_ADDCLIENT` | `Add an NFS client. *to be documented*`
`NFSCTL_DELCLIENT` | `Remove an NFS client. *to be documented*`
`NFSCTL_EXPORT` | `Export a file system. *to be documented*`
`NFSCTL_UNEXPORT` | `Unexport a file system. *to be documented*`
`NFSCTL_GETFD` | `*to be documented*`
`NFSCTL_GETFS` | `*to be documented*`
ecx | Pointer to a nfsctl_arg structure:
`struct nfsctl_arg ca_version dd ? union u_svc nfsctl_svc u_client nfsctl_client u_export nfsctl_export u_getfd nfsctl_fdparm u_getfs nfsctl_fsparm u_ptr dd ? ends ends`
edx | A pointer to a nfsctl_res union:
`union nfsctl_res cr_getfh db NFS_FHSIZE dup(?) cr_getfs knfsd_fh ends`
Return values If the system call succeeds the return value is 0. If the system call fails the return value is one of the following errno values:
`-EFAULT` | `ecx contains invalid pointer.`
`-EINVAL` | `ca_version member doesn't not equals to NFSCTL_VERSION. -or- Unknown command was specified in ebx.`
Remarks n/a Compatibility n/a