]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
Make the output of 'fscrypt status' unambiguous
authorEric Biggers <ebiggers@google.com>
Wed, 23 Feb 2022 20:35:04 +0000 (12:35 -0800)
committerEric Biggers <ebiggers@google.com>
Wed, 23 Feb 2022 20:35:04 +0000 (12:35 -0800)
commitbd380777d68816b55da85a42d4cdf7fb262b4ba2
treea53418f4b71b351193fc0a24e2b9cd039b6424df
parent1ab74f59b52ec244fee003effa8415c6c4038a54
Make the output of 'fscrypt status' unambiguous

Following the example of /proc/self/mountinfo, replace the space,
newline, tab, and backslash characters with octal escape sequences so
that the output can be parsed unambiguously.
cmd/fscrypt/status.go
filesystem/mountpoint.go
filesystem/mountpoint_test.go