Make pseudofs(9) create directory entries in order, instead
of the reverse.
This fixes Linux sysctl(8) binary - it assumes the first two
directory entries are always "." and "..". There might be other
Linux apps affected by this.
Paths
| Differential D21550 Authored by trasz on Sep 6 2019, 1:07 PM.
Details
Summary Make pseudofs(9) create directory entries in order, instead This fixes Linux sysctl(8) binary - it assumes the first two
Diff Detail
Event TimelineHerald added a subscriber: imp. · View Herald TranscriptSep 6 2019, 1:07 PM2019-09-06 13:07:55 (UTC+0) Harbormaster completed remote builds in B26309: Diff 61728.Sep 6 2019, 1:07 PM2019-09-06 13:07:55 (UTC+0) Harbormaster completed remote builds in B26351: Diff 61832.Sep 9 2019, 11:32 AM2019-09-09 11:32:25 (UTC+0) This revision is now accepted and ready to land.Sep 9 2019, 12:41 PM2019-09-09 12:41:19 (UTC+0) Comment Actions I've thought about it; I guess des@ hadn't used that to avoid contaminating pseudofs headers with queue.h, and I didn't want to change it. Comment Actions
Lets take a look. Very first line of pseudofs.h includes sys/jail.h. In sys/jail.h line 121 we see inclusion of sys/queue.h. Closed by commit rS352334: Make pseudofs(9) create directory entries in order, instead (authored by trasz). · Explain WhySep 14 2019, 7:16 PM2019-09-14 19:16:19 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 61728 sys/fs/pseudofs/pseudofs.h
sys/fs/pseudofs/pseudofs.c
|