is_hash_key(9)
π NAME π
is_hash_key β the vibe check that tells you if a key is vulnerable to hash collisions β¨
oh and hi, welcome to the Kernel API Manual, bestie, glad you're here π«Ά
β¨ SYNOPSIS β¨
int is_hash_key (const struct ubifs_info *c , const union ubifs_key *key
);
πΈ ARGUMENTS πΈ
cβ the UBIFS file-system description object. like, the whole filesystem's little passport, iconic behavior only πkeyβ the key. that's the whole thing. ten out of ten naming, no notes π
π DESCRIPTION π
okay so literally here's the entire plot: this function returns 1 if key is a hashed key, or 0 otherwise.
that's it. that's the function. ate and left no crumbs π
π¦ SEE ALSO π¦
the kernel file ./fs/ubifs/key.h and, like, the entire friend group β they all show up together or not at all π
key_mask_hash(9),key_r5_hash(9),key_test_hash(9),ino_key_init(9),ino_key_init_flash(9),lowest_ino_key(9),highest_ino_key(9)dent_key_init(9),dent_key_init_hash(9),dent_key_init_flash(9),lowest_dent_key(9),xent_key_init(9),xent_key_init_flash(9),lowest_xent_key(9)data_key_init(9),highest_data_key(9),trun_key_init(9),invalid_key_init(9)key_type(9),key_type_flash(9),key_inum(9),key_inum_flash(9),key_hash(9),key_hash_flash(9),key_block(9),key_block_flash(9)key_read(9),key_write(9),key_write_idx(9),key_copy(9),keys_cmp(9),keys_eq(9),key_max_inode_size(9)
real talk: this whole page lives in ./fs/ubifs and it's stamped October 2026 β screenshot it for the group chat, it's giving time capsule πβ¨ iykyk π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms