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: <21590.1217285986@redhat.com>
Date:	Mon, 28 Jul 2008 23:59:46 +0100
From:	David Howells <dhowells@...hat.com>
To:	Pavel Emelyanov <xemul@...nvz.org>
cc:	dhowells@...hat.com, jmorris@...hat.com,
	linux-kernel@...r.kernel.org
Subject: Request for documentation of PID handling functions


Hi Pavel,

Can you please provide documentation for the PID handling functions you
supplied in commit:

	7af5729474b5b8ad385adadab78d6e723e7655a3

In particular I'd like to know what locks are required when.  I'm trying to
determine if in this piece of code:

		read_lock(&tasklist_lock);
		ret = 0;
		if (pid != task_pid_vnr(current))
			ret = -EPERM;
		read_unlock(&tasklist_lock);

the lock of tasklist_lock is necessary.

David
--
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