The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

VFS_CHECKEXP (9)
  • >> VFS_CHECKEXP (9) ( FreeBSD man: Ядро )

  • BSD mandoc
     

    NAME

    VFS_CHECKEXP
    
     - check if a file system is exported to a client
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <sys/mount.h>
    int VFS_CHECKEXP (struct mount *mp struct sockaddr *nam int *exflagsp struct ucred **credanonp);
     

    DESCRIPTION

    The VFS_CHECKEXP ();
    macro is used by the NFS server to check if a mount point is exported to a client.

    The arguments it expects are:

    Fa mp
    The mount point to be checked.
    Fa nam
    An mbuf containing the network address of the client.
    Fa exflagsp
    Return parameter for the export flags for this client.
    Fa credanonp
    Return parameter for the anonymous credentials for this client.

    The VFS_CHECKEXP ();
    macro should be called on a file system's mount structure to determine if it is exported to a client whose address is contained in Fa nam .

    It is generally called before VFS_FHTOVP9 to validate that a client has access to the file system.

    The file system should call vfs_export_lookup9 with the address of an appropriate Vt netexport structure and the address of the client, Fa nam , to verify that the client can access this file system.  

    RETURN VALUES

    The export flags and anonymous credentials specific to the client (returned by vfs_export_lookup9) will be returned in Fa *exflagsp and Fa *credanonp .  

    SEE ALSO

    VFS(9), VFS_FHTOVP9, VFS_VPTOFH9, vnode(9)  

    AUTHORS

    This manual page was written by An Alfred Perlstein .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO
    AUTHORS


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру