lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091220185318.GA15989@basil.fritz.box>
Date:	Sun, 20 Dec 2009 19:53:18 +0100
From:	Andi Kleen <andi@...stfloor.org>
To:	oleg@...hat.com, linux-kernel@...r.kernel.org
Cc:	torvalds@...ux-foundation.org
Subject: BKL use in ptrace


Hi,

ptrace has this comment/BKL use:

        /*
         * This lock_kernel fixes a subtle race with suid exec
         */
        lock_kernel();

But unless I'm blind I don't see execve actually getting the BKL
anywhere. So is this comment outdated or misleading (is the race with exit?)
or is there a bug?

Thanks,
-Andi

-- 
ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ