eminence / eminence/procfs

MountInfo does not unescape special characters

Open
#262 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
445
Forks
134
PR merge metrics
No merged PRs in 30d

Description

See `unmangle_octal `function in PR #261

To test:

```
mkdir "$(echo -e 'aaa\\b\tc\nd#e')"
dd if=/dev/zero bs=1M count=200 of=ext4.img
mkfs.ext4 ext4.img
sudo mount ext4.img aaa*
```

Then run example `mountinfo`, this will give:
```
/dev/loop0 on /root/test/aaa\134b\011c\012d#e type ext4 (relatime,rw,seclabel)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.