*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> VOP_LEASE (9)              
Title
Content
Arch
Section
 

VOP_LEASE(9)

Contents


NAME    [Toc]    [Back]

     VOP_LEASE -- validate a vnode for a particular set of credentials and
     operation type

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <sys/mount.h>

     int
     VOP_LEASE(struct vnode *vp, struct thread *td, struct ucred *cred,
	 int type);

DESCRIPTION    [Toc]    [Back]

     This entry point is currently not implemented.  The idea is to validate a
     vnode for a particular set of user credentials and operation type.  The
     two operation types supported are LEASE_READ and LEASE_WRITE.

RETURN VALUES    [Toc]    [Back]

     The function currently returns 0 in all cases.

ERRORS    [Toc]    [Back]

SEE ALSO
     VOP_READ(9), VOP_WRITE(9)

LOCKS    [Toc]    [Back]

     The vnode must be exclusively locked on entry, and should remain exclusively
 locked on return.

AUTHORS    [Toc]    [Back]

     This manual page was written by Matt Dillon.


FreeBSD 5.2.1		      September 24, 1999		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
acl_valid FreeBSD validate an ACL
acl_valid IRIX validate an ACL
acl_valid_file_np FreeBSD validate an ACL
acl_valid_fd_np FreeBSD validate an ACL
validateproj IRIX validate a project name for a user
RSA_check_key NetBSD validate private RSA keys
RSA_check_key Tru64 Validate private RSA keys
RSA_check_key OpenBSD validate private RSA keys
val IRIX validate SCCS file
val HP-UX validate SCCS file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service