Date: Sat, 24 Dec 2005 04:57:50 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern imgact_aout.c imgact_elf.c imgact_gzip.c Message-ID: <200512240457.jBO4vocX088659@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2005-12-24 04:57:50 UTC
FreeBSD src repository
Modified files:
sys/kern imgact_aout.c imgact_elf.c imgact_gzip.c
Log:
Maintain the lock on the vnode for most of exec_elfN_imgact().
Specifically, it is required for the I/O that may be performed by
elfN_load_section().
Avoid an obscure deadlock in the a.out, elf, and gzip image
activators. Add a comment describing why the deadlock does not occur
in the common case and how it might occur in less usual circumstances.
Eliminate an unused variable from exec_aout_imgact().
In collaboration with: tegge
Revision Changes Path
1.100 +13 -2 src/sys/kern/imgact_aout.c
1.172 +35 -32 src/sys/kern/imgact_elf.c
1.55 +13 -0 src/sys/kern/imgact_gzip.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512240457.jBO4vocX088659>
