Query: d_validate
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
D_VALIDATE(9) The Linux VFS D_VALIDATE(9)NAMEd_validate - verify dentry provided from insecure sourceSYNOPSISint d_validate(struct dentry * dentry, struct dentry * dparent);ARGUMENTSdentry The dentry alleged to be valid child of dparent dparent The parent dentry (known to be valid)DESCRIPTIONAn 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.COPYRIGHTKernel Hackers Manual 2.6. July 2010 D_VALIDATE(9)