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-prev] [day] [month] [year] [list]
Message-ID: <20130131181727.GB19854@mail.hallyn.com>
Date:	Thu, 31 Jan 2013 18:17:27 +0000
From:	"Serge E. Hallyn" <serge@...lyn.com>
To:	Yuanhan Liu <yuanhan.liu@...ux.intel.com>
Cc:	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	Serge Hallyn <serge.hallyn@...onical.com>
Subject: Re: [PATCH 1/3] namespaces: utsname: fix wrong comment about
 clone_uts_ns()

Quoting Yuanhan Liu (yuanhan.liu@...ux.intel.com):
> Fix the wrong comment about the return value of clone_uts_ns()
> 
> Cc: Serge Hallyn <serge.hallyn@...onical.com>

Acked-by: Serge Hallyn <serge.hallyn@...onical.com>

> Signed-off-by: Yuanhan Liu <yuanhan.liu@...ux.intel.com>
> ---
>  kernel/utsname.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/kernel/utsname.c b/kernel/utsname.c
> index 08b197e..a47fc5d 100644
> --- a/kernel/utsname.c
> +++ b/kernel/utsname.c
> @@ -30,7 +30,7 @@ static struct uts_namespace *create_uts_ns(void)
>  /*
>   * Clone a new ns copying an original utsname, setting refcount to 1
>   * @old_ns: namespace to clone
> - * Return NULL on error (failure to kmalloc), new ns otherwise
> + * Return ERR_PTR(-ENOMEM) on error (failure to kmalloc), new ns otherwise
>   */
>  static struct uts_namespace *clone_uts_ns(struct user_namespace *user_ns,
>  					  struct uts_namespace *old_ns)
> -- 
> 1.7.7.6
> 
> --
> 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/
--
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