aboutsummaryrefslogtreecommitdiff
path: root/shell/cttyhack.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-04-29 17:59:08 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-04-29 17:59:08 +0200
commitf3a064f4956e113978e74486300dcd1e3e044efa (patch)
tree1a122c33fd15dce4563cd70e3c3e2c852578986b /shell/cttyhack.c
parentfa8878bf1fe331df752395cce90da212e25e07b7 (diff)
downloadbusybox-f3a064f4956e113978e74486300dcd1e3e044efa.tar.gz
libbbb: find_mount_point() too eager to stat mounted devices
None of the below "devices" (first word on the line) are real. sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 devtmpfs /dev devtmpfs rw,nosuid,size=7917900k,nr_inodes=1979475,mode=755 0 0 tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0 pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0 configfs /sys/kernel/config configfs rw,relatime 0 0 tmpfs /tmp tmpfs rw,relatime 0 0 function old new delta find_mount_point 297 302 +5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/cttyhack.c')
0 files changed, 0 insertions, 0 deletions