aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_extattr.c
diff options
context:
space:
mode:
authorAndrew R. Reiter <arr@FreeBSD.org>2002-03-22 04:56:09 +0000
committerAndrew R. Reiter <arr@FreeBSD.org>2002-03-22 04:56:09 +0000
commitfe3240e9aa02ce8ded337655f332050271ad1b62 (patch)
tree793f74eea02d5018f3b716ba7d48afd94b494b86 /sys/kern/vfs_extattr.c
parent9e5a5ed4c5dbfcc88c175390c8d3324e6b455c4d (diff)
downloadsrc-fe3240e9aa02ce8ded337655f332050271ad1b62.tar.gz
src-fe3240e9aa02ce8ded337655f332050271ad1b62.zip
- 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.
Notes
Notes: svn path=/head/; revision=92927
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 77eece440519..915e26abf593 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);