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] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 7 Jul 2019 02:03:20 +0100
From:   Al Viro <viro@...iv.linux.org.uk>
To:     Alexey Dobriyan <adobriyan@...il.com>
Cc:     davem@...emloft.net, netdev@...r.kernel.org,
        Per.Hallsmark@...driver.com
Subject: Re: [PATCH 1/2] proc: revalidate directories created with
 proc_net_mkdir()

On Sat, Jul 06, 2019 at 07:52:02PM +0300, Alexey Dobriyan wrote:
> +struct proc_dir_entry *_proc_mkdir(const char *name, umode_t mode,
> +				   struct proc_dir_entry **parent, void *data)

	Two underscores, please...

> +	parent->nlink++;
> +	pde = proc_register(parent, pde);
> +	if (!pde)
> +		parent->nlink++;

	Really?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ