diff options
author | Christopher Haster <chaster@utexas.edu> | 2018-05-30 04:08:42 +0300 |
---|---|---|
committer | Christopher Haster <chaster@utexas.edu> | 2018-10-14 03:12:35 +0300 |
commit | 3ffcedb95b330f53f1caa505f112a2729f90aa6d (patch) | |
tree | 92daf189f96b08b90e099fad04a14b5d7d5fd892 /tests/test_format.sh | |
parent | e39f7e99d1714d8299157e3773d265657f5fc889 (diff) |
Restructured tags to better support xored-globals
32-bit tag structure:
[--- 32 ---]
[1|- 9 -|- 10 -|-- 12 --]
^ ^ ^ ^- entry length
| | \--------- file id
| \--------------- tag type
\------------------- valid
In this tag, the type decomposes into some more information:
[--- 9 ---]
[1|- 2 -|- 3 -|- 3 -]
^ ^ ^ ^- struct
| | \------- type
| \------------- scope
\----------------- user
The change in this encoding is the addition of a global scope:
LFS_SCOPE_STRUCT = 0 00 xxx xxx
LFS_SCOPE_ENTRY = 0 01 xxx xxx
LFS_SCOPE_DIR = 0 10 xxx xxx
LFS_SCOPE_FS = 0 11 xxx xxx
LFS_SCOPE_USER = 1 xx xxx xxx
Diffstat (limited to 'tests/test_format.sh')
0 files changed, 0 insertions, 0 deletions