diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2002-06-14 07:24:01 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2002-06-14 07:24:01 +0000 |
| commit | fa3b8ffb3230a2420332fd7d87305b55a32e6e6a (patch) | |
| tree | b441405bd7331b95c7e98da4599b76cae040dcb2 /sys/compat/linux/linux_misc.c | |
| parent | a86d3e445eb36814580ee0ee18f012cef67ac652 (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
| -rw-r--r-- | sys/compat/linux/linux_misc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index d3384c6ca307..c081fc19ea35 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -302,6 +302,10 @@ linux_uselib(struct thread *td, struct linux_uselib_args *args) if (error) goto cleanup; + /* + * XXX: This should use vn_open() so that it is properly authorized, + * and to reduce code redundancy all over the place here. + */ error = VOP_OPEN(vp, FREAD, td->td_ucred, td); if (error) goto cleanup; |
