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>] [day] [month] [year] [list]
Message-ID: <CACVxJT_Jrk3O4N89w_JxcVhu50H5nVBJgiBwVbD3mpHoqSVAhQ@mail.gmail.com>
Date:	Wed, 6 Jul 2011 14:22:42 +0300
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	akpm@...ux-foundation.org
Cc:	linux-kernel@...r.kernel.org, ogino.daisuke@...fujitsu.com,
	hch@....de, jbarnes@...tuousgeek.org
Subject: Re: + procfs-return-enoent-on-opening-a-being-removed-proc-entry.patch
 added to -mm tree

On Tue, Jul 5, 2011 at 11:38 PM,  <akpm@...ux-foundation.org> wrote:

> --- a/fs/proc/inode.c~procfs-return-enoent-on-opening-a-being-removed-proc-entry
> +++ a/fs/proc/inode.c
> @@ -321,7 +321,7 @@ static int proc_reg_open(struct inode *i
>        if (!pde->proc_fops) {
>                spin_unlock(&pde->pde_unload_lock);
>                kfree(pdeo);
> -               return -EINVAL;
> +               return -ENOENT;

Yeah, this makes more sense.
Acked-by: Alexey Dobriyan <adobriyan@...il.com>
--
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