On Mon, May 21, 2001 at 10:12:17AM -0500, Steve Lord wrote:
> Hmmm, that call looks like it needs some more security on it, it was
> added for data migration (dmapi), and has nothing to do with actual file data.
> Basically data migration has a problem in that it needs to be able to
> migrate a file out to tape from a completely full filesystem, moving
> the data involves writing an extended attribute to say where it has
> gone, and this can require space. So this call was added to steal some
> space from the superblock and it is only supposed to be used for a
> special user space application. I think it needs at least this added
> to it:
>
> if (!capable(CAP_SYS_ADMIN))
> return -EPERM;
Thanks for the clarification (although I guess a CAP_DMAPI would be better)
-Andi
|