Re: [RFC][PATCH] procfs: Add /proc/<pid>/mapped_files

From: Cyrill Gorcunov
Date: Wed Jan 14 2015 - 16:16:21 EST


On Wed, Jan 14, 2015 at 12:46:53PM -0800, Calvin Owens wrote:
> > >
> > > Restriction to CAP_SYSADMIN for follow_link is undertansble, but why do we
> > > restrict readdir and readlink?
> >
> > We didn't think this functionality might be needed someone but us (criu camp),
> > so that the rule of thumb was CONFIG_CHECKPOINT_RESTORE + CAP_SYSADMIN, until
> > otherwise strictly needed. So I think now we can relax security rules a bit
> > and allow to readdir and such for owners.
>
> Ah, I feel silly for missing that. I'll send a patch to move map_files
> out from behind CONFIG_CHECKPOINT_RESTORE and change the permissions.

Sure
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/