]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
Allow filesystem links to contain leading/trailing whitespace
authorEric Biggers <ebiggers@google.com>
Wed, 27 Nov 2019 19:07:38 +0000 (11:07 -0800)
committerEric Biggers <ebiggers@google.com>
Wed, 27 Nov 2019 19:07:38 +0000 (11:07 -0800)
commit2a45549820a4e364d000ac62362d2feafbb0b3c1
treec70b8e254f291869e7d9374ed886866803fbf38d
parent9c2cc186ecce7d0bb6e220b0312222ce93090790
Allow filesystem links to contain leading/trailing whitespace

To make manually editing linked protectors slightly more user-friendly,
automatically strip any leading or trailing whitespace.  E.g. treat
"UUID=3a6d9a76-47f0-4f13-81bf-3332fbe984fb\n" the same as
"UUID=3a6d9a76-47f0-4f13-81bf-3332fbe984fb".

Update https://github.com/google/fscrypt/issues/115
filesystem/mountpoint.go
filesystem/mountpoint_test.go