Re: [PATCH 03/12] statx: Add a system call to make enhanced file info available

From: David Howells
Date: Mon Dec 21 2015 - 18:21:34 EST


Pavel Machek <pavel@xxxxxx> wrote:

> But fstat() is really different operation to stat() -- tell me about
> my file descriptor vs. tell me about this filename, and ptrace (and
> some "security" solutions) might want to allow one but disallow the
> second. I'd not group them together..

You can argue it either way. I think Linus came down on the side of combining
them.

David
--
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/