centos man page for d_validate

Query: d_validate

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

D_VALIDATE(9)							   The Linux VFS						     D_VALIDATE(9)

NAME
d_validate - verify dentry provided from insecure source (deprecated)
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. This function is slow for big directories, and deprecated, do not use it.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 D_VALIDATE(9)
Related Man Pages
debugfs_create_u64(9) - centos
debugfs_create_blob(9) - centos
securityfs_create_file(9) - centos
debugfs_create_bool(9) - suse
debugfs_create_u8(9) - suse
Similar Topics in the Unix Linux Community
Challenging Compare and validate question -- plus speed.
How to Create LOG and Validate for this Script
[Solved] Read and validate input arguments
Bash to verify and validate file header and data type
awk to compare files and validate order of headers