]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: return better inode numbers for block device entries in /proc/sys
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 19 Aug 2021 14:08:34 +0000 (16:08 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 19 Aug 2021 14:08:34 +0000 (16:08 +0200)
commitad35bfbb0f527c6217b7cd6070d62785fb7f0025
treee8b0a3ae1b832ac83b69918cdfcfd39f3e84069a
parentcf86601d987b717285a85b2d0315745aa5d63bc8
Cygwin: return better inode numbers for block device entries in /proc/sys

Commit 3434d35a64736f0b77a12f61784c2caa33ac44cf fixed a problem when
accessing block devices via their /proc/sys/Device entries.  This
changed the way stat info is generated for these devices, resulting
in identical inode numbers for all block devices under /proc/sys/Device.

This patch fixes that by faking a device number for these devices, just as
before.

Fixes: 3434d35a6473 ("Cygwin: Fix access to block devices below /proc/sys.")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/fhandler_raw.cc
This page took 0.030638 seconds and 5 git commands to generate.