Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2005 18:52:18 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        current@freeBSD.org
Cc:        alc@FreeBSD.org
Subject:   do_execve() finding vmspace_destroyed set under load
Message-ID:  <20050130025217.GA32612@xor.obsecurity.org>

next in thread | raw e-mail | index | archive | help

--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I'm seeing the following code in do_execve() frequently being
triggered when scripts are executed on my SMP machine under load:

        if (imgp->vmspace_destroyed) {
                 /* sorry, no more process anymore. exit gracefully */
#ifdef MAC
                mac_execve_exit(imgp);
                if (interplabel != NULL)
                        mac_vnode_label_free(interplabel);
#endif
                exit1(td, W_EXITCODE(0, SIGABRT));
                /* NOT REACHED */
                error = 0;
        }

Needless to say, the scripts get pretty unhappy when they're summarily
aborted.  What is the cause of this?

Kris

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB/EvhWry0BWjoQKURAnuwAJwPTBZIh6mS+ceCrG6OsXTUvW/hsQCcC/mQ
m359/nsPUZkt8i1hZqZ1AKQ=
=eapH
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050130025217.GA32612>