# Re: \[PATCH 01/14\] VFS: Add additional RESOLVE\_\* flags \[ver \#18\]

- From: David Howells \<dhowells@redhat.com\>
- Date: 2020-03-09 21:13:14 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2020/03/174908
- Thread: https://ratatoskr.run/linux-api/2020/03/174844/t.md

```text
Stefan Metzmacher [ref] wrote:

> > Automounting is currently forced by doing an open(), so adding support to
> > openat2() for RESOLVE_NO_TRAILING_AUTOMOUNTS is not trivial.
> 
> lookup_flags &= ~LOOKUP_AUTOMOUNT won't work?

No.  LOOKUP_OPEN overrides that.

David

```
