# Re: \[PATCH\] statx: reject unknown flags when using NULL path

- From: David Howells \<hidden\>
- Date: 2017-03-31 15:51:28 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2017/03/119326
- Thread: https://ratatoskr.run/linux-fsdevel/2017/03/119331/t.md

```text
Al Viro [ref] wrote:

> > can we get this in please?  It would be sad to grow another syscall
> > with an unchecked flags argument..
> 
> Applied, will be in tonight pull request...

I'm not convinced that this is right.  I'm more inclined to let any flag be
passed that is available to statx() with a filename and just mask off the
bits before handing them on.

David
```
