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]
Message-Id: <20170208.131618.1840963382948020607.davem@davemloft.net>
Date:   Wed, 08 Feb 2017 13:16:18 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     ast@...com
Cc:     daniel@...earbox.net, dsa@...ulusnetworks.com, tj@...nel.org,
        luto@...capital.net, ebiederm@...ssion.com, netdev@...r.kernel.org
Subject: Re: [PATCH v4 net] bpf: add bpf_sk_netns_id() helper

From: Alexei Starovoitov <ast@...com>
Date: Mon, 6 Feb 2017 18:02:48 -0800

> Eric, I'v added proc_get_ns_devid_inum() to nsfs.c
> right next to __ns_get_path(), so when it is time in the future
> to make nsfs more namespace aware, it will be easy to adjust
> both new_inode_pseudo(mnt->mnt_sb) line and proc_get_ns_devid_inum()
> I thought about using ns->stashed, but it's obviously transient
> inode and not usable. If later we decide to store dev_t into ns_common
> it will be fine as well. We'll just change proc_get_ns_devid_inum()
> without affecting user space.

Eric?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ