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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 15 May 2008 19:44:38 -0700
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Pavel Emelyanov <xemul@...nvz.org>
Cc:	Oleg Nesterov <oleg@...sign.ru>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 10/10] Bsdacct: account dying tasks in all relevant
 namespaces

On Thu, 15 May 2008 15:11:55 +0400 Pavel Emelyanov <xemul@...nvz.org> wrote:

> +/**
> + * acct_process - now just a wrapper around do_acct_process

comment seems wrong.

> + * handles process accounting for an exiting task
> + */
> +void acct_process(void)
> +{
> +	struct pid_namespace *ns;
> +
> +	for (ns = task_active_pid_ns(current); ns != NULL; ns = ns->parent)
> +		acct_process_in_ns(ns);
> +}

Is it really safe to walk this list locklessly?
--
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