mirror of
https://github.com/clearlinux/graphene.git
synced 2026-08-22 14:45:57 +00:00
7327aa62ab
Previously, Graphene had a bug when dentry's rel_path was not initialized to actual relative path if parent + filename length was longer than 256B. The problem was that rel_path was a shim_qstr which could contain maximum 256 chars. This commit increases the limit to 4096B and adds checks to fail explicitly if rel_path is still too large. Also, it adds LibOS regression test. Note that relative paths greater than 256 chars in length are not uncommon. Most OSes impose the limit of 4096 chars or no limit at all.