OpenSolaris

Printable Version Enter a New Search
Bug ID 6531594
Synopsis lxpr_readlink() is missing the "cred_t *cr" arg
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:brandz
Keywords s10u4-triage
Responsible Engineer Rich Brown
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_62
Fixed In snv_62
Release Fixed solaris_nevada(snv_62)
Related Bugs 6505923 , 6538815
Submit Date 6-March-2007
Last Update Date 16-April-2007
Description
While working on a way to have vnode/vfs operations strongly typechecked,
I discovered that lxpr_readlink() had an error.

The signature is:

	static int lxpr_readlink(vnode_t *vp, uio_t *uiop)

But it should be:

	static int lxpr_readlink(vnode_t *vp, uio_t *uiop, cred_t *cr)

Also, the uses of CRED() in lxpr_readlink() need to be looked at to see if
the cred pointer passed to lxpr_readlink() should be used instead.
Work Around
N/A
Comments
N/A