[PATCH 3/6 v1 resend] statfs: add ST_UNBINDABLE

2018-05-25 Thread Christian Brauner
Currently userspace can only determine whether a mountpoint is unbindable by parsing /proc//mountinfo. It would be convenient to simply retrieve this property with a statvfs() call. This let's userspace avoid costly parsing, supports cases where /proc is not mounted, and supports usecases where

[PATCH 3/6 v1 resend] statfs: add ST_UNBINDABLE

2018-05-25 Thread Christian Brauner
Currently userspace can only determine whether a mountpoint is unbindable by parsing /proc//mountinfo. It would be convenient to simply retrieve this property with a statvfs() call. This let's userspace avoid costly parsing, supports cases where /proc is not mounted, and supports usecases where