summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/DISCLAIMER
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-08-22 22:04:43 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-08-22 22:04:43 +0000
commit83a2180cac5e768b5b7a584762161b491dc960a2 (patch)
tree996acdd276b22aae0b284ba43d2fa8cb293cb8a2 /lib/libc/rpc/DISCLAIMER
parent869e9323652d5ee736bf9798b8f47a861fff30df (diff)
Change the vnode locking in exec to not keep the vnode locked almost all
the time. This could lead to problems when a process wants to do an exec on the same vnode it's being run from and needs to copy in arguments from an uncached page in the data segment. When that happens uvm detects a vnode deadlock and returns an error causing execve() return EFAULT. This fixes the regress test in regress/sys/kern/exec_self Also, initialize scriptvp early in exec_script because it could be used uninitialized in a failure case.
Diffstat (limited to 'lib/libc/rpc/DISCLAIMER')
0 files changed, 0 insertions, 0 deletions