improve mount (-k) cli
Currently the mount flags must be specified using a hex number.
e.g. In order to set MS_NODEV, you have to look up the value in
the headers and find "4", then use "0x4". In addition to being
a pita, this isn't portable across architectures. So lets reuse
our existing constants parsing logic so people can write constants
directly via -k.
Since these headers are new, it adds a few KiB (<10) to the binaries.
Bug: None
Test: unittests pass
Change-Id: I52a28a6ea7a53d8e224713a7a569b39350d66c28
4 files changed