summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_extattr.c
diff options
context:
space:
mode:
authorarr <arr@FreeBSD.org>2002-03-22 04:56:09 +0000
committerarr <arr@FreeBSD.org>2002-03-22 04:56:09 +0000
commitfc49faf982a99592b499300f44b7d8b5db8f2c62 (patch)
tree793f74eea02d5018f3b716ba7d48afd94b494b86 /sys/kern/vfs_extattr.c
parentc260993d3befab3dffd257b8f5c8746e508fe300 (diff)
downloadFreeBSD-src-fc49faf982a99592b499300f44b7d8b5db8f2c62.zip
FreeBSD-src-fc49faf982a99592b499300f44b7d8b5db8f2c62.tar.gz
- Back out the commit to make the linker_load_file() securelevel check
made aware in jail environments. Supposedly something is broken, so this should be backed out until further investigation proves otherwise, or a proper fix can be provided.
Diffstat (limited to 'sys/kern/vfs_extattr.c')
-rw-r--r--sys/kern/vfs_extattr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c
index 77eece4..915e26a 100644
--- a/sys/kern/vfs_extattr.c
+++ b/sys/kern/vfs_extattr.c
@@ -307,11 +307,6 @@ vfs_mount(td, fstype, fspath, fsflags, fsdata)
vput(vp);
return error;
}
- error = securelevel_gt(td->td_ucred, 0);
- if (error != 0) {
- vput(vp);
- return (EPERM);
- }
error = linker_load_file(fstype, &lf);
if (error || lf == NULL) {
vput(vp);
OpenPOWER on IntegriCloud