1D_VALIDATE(9)                    The Linux VFS                   D_VALIDATE(9)
2
3
4

NAME

6       d_validate - verify dentry provided from insecure source (deprecated)
7

SYNOPSIS

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

ARGUMENTS

12       dentry
13           The dentry alleged to be valid child of dparent
14
15       dparent
16           The parent dentry (known to be valid)
17

DESCRIPTION

19       An insecure source has sent us a dentry, here we verify it and dget it.
20       This is used by ncpfs in its readdir implementation. Zero is returned
21       in the dentry is invalid.
22
23       This function is slow for big directories, and deprecated, do not use
24       it.
25
27Kernel Hackers Manual 3.10         June 2019                     D_VALIDATE(9)
Impressum