D_VALIDATE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

d_validate - verify dentry provided from insecure source  

SYNOPSIS

"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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:02 GMT, October 09, 2005