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
| ||
|
Message-ID: <20151007125531.GA7962@kroah.com> Date: Wed, 7 Oct 2015 13:55:31 +0100 From: Greg KH <gregkh@...uxfoundation.org> To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org> Cc: maxime.ripard@...e-electrons.com, linux-kernel@...r.kernel.org, andrew@...n.ch, wxt@...k-chips.com, stefan.wahren@...e.com, pantelis.antoniou@...sulko.com, maitysanchayan@...il.com, p.zabel@...gutronix.de, s.hauer@...gutronix.de, linux-arm-kernel@...ts.infradead.org Subject: Re: [PATCH v2 1/3] nvmem: core: make default user binary file root-access only On Wed, Oct 07, 2015 at 12:00:47PM +0100, Srinivas Kandagatla wrote: > As required by many providers like at24/at25/mxs-ocotp/qfprom and may be > other providers would want to allow root-only to read the nvmem content. > So making the defaults to be root-only access would address the request > and also provide flexibility to providers to specify there own permissions > on top of the root-only using the perm flag in nvmem_config. Eeek, no, don't mess with different permissions, that's not ok, be consistent and only allow root write access, that's why we have static build-time checks to ensure you get this correct and do not accidentally let a "normal" user access to things they shouldn't have access to. > Making this dynamic did cut down lot of static binary attributes in the > code. Nothing wrong with static binary attributes, please use them instead. thanks, greg k-h -- 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