[dpdk-stable] [dpdk-dev] [PATCH] eal: tighten permissions on shared memory files

Thomas Monjalon thomas at monjalon.net
Thu Apr 4 19:51:26 CEST 2019


03/04/2019 18:02, Bruce Richardson:
> Adding stable at dpdk.org since this is suitable for backporting
> 
> On Wed, Apr 03, 2019 at 05:00:34PM +0100, Bruce Richardson wrote:
> > When creating files on disk, e.g. for EAL configuration or shared memory
> > locks, etc., there is no need to grant any permissions on those files to
> > other users. All directories are already created with 0700 permissions, so
> > we should create all files with 0600 permissions.
> > 
> CC: stable at dpdk.org
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>

It means the primary and secondary processes must have the same owner.
Is it worth to document it?
I feel the mask could be an EAL option.

Anyway the directories have already a fixed tight mask, so
Applied, thanks




More information about the stable mailing list