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

NAME

6       d_validate - verify dentry provided from insecure source
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
24Kernel Hackers Manual 2.6.       November 2011                   D_VALIDATE(9)
Impressum