D_VALIDATE

Section: (9)
Updated: 13 April 2004
Index Return to Main Contents

 

NAME

d_validate - verify dentry provided from insecure source  

SYNOPSIS

int d_validate (struct dentry * dentry, struct dentry * dparent);  

ARGUMENTS

dentry
The dentry alleged to be valid child of dparent
dparent
The parent dentry (known to be valid)
 

DESCRIPTION

An insecure source has sent us a dentry, here we verify it and dget it. This is used by ncpfs in its readdir implementation. Zero is returned in the dentry is invalid.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.1.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 11:21:56 GMT, April 13, 2004