ecryptfs_set...pt_stat_vals(9)
π¦ NAME π¦
ecryptfs_set_default_crypt_stat_vals β
okay so bestie, real talk, the manpage gives you the function name and then just... leaves the dash hanging there with nothing after it. iconic honestly. no one-liner, no explanation, just vibes. so we're moving on π
(quick note, this is from the Kernel API Manual, in case the whole (9) situation wasn't a dead giveaway π§)
β¨ SYNOPSIS β¨
void ecryptfs_set_default_crypt_stat_vals (struct ecryptfs_crypt_stat
*crypt_stat , struct ecryptfs_mount_crypt_stat *mount_crypt_stat );
it's a void function, so like, it doesn't hand you anything back. it just does the thing and dips π
π ARGUMENTS π
crypt_statβ the inode's cryptographic context, aka the crypto brain of the file you're looking at π§ β¨mount_crypt_statβ the mount point's cryptographic context, aka the crypto brain of the whole mount, the bigger-picture queen π
π DESCRIPTION π
these are the default values in the event that policy does not override them. periodt. that's it, that's the whole description π
like, think of it as the backup outfit. policy gets first dibs on the look, but if policy doesn't show up? these defaults are absolutely still slaying in the mirror, no cap πͺπ
π SEE ALSO π
kernel file ./fs/ecryptfs/crypto.c, plus literally the entire friend group:
ecryptfs_from_hex(9)ecryptfs_derive_iv(9)ecryptfs_init_crypt_stat(9)ecryptfs_destroy_crypt_stat(9)virt_to_scatterlist(9)crypt_scatterlist(9)crypt_extent(9)ecryptfs_encrypt_page(9)ecryptfs_decrypt_page(9)ecryptfs_init_crypt_ctx(9)ecryptfs_copy_mount_wide_flags_to_inode_flags(9)ecryptfs_new_file_context(9)ecryptfs_validate_marker(9)ecryptfs_process_flags(9)write_ecryptfs_marker(9)ecryptfs_code_for_cipher_string(9)ecryptfs_cipher_code_to_string(9)ecryptfs_write_headers_virt(9)ecryptfs_write_metadata(9)set_default_header_data(9)ecryptfs_read_headers_virt(9)ecryptfs_read_xattr_region(9)ecryptfs_process_key_cipher(9)ecryptfs_destroy_crypto(9)ecryptfs_tfm_exists(9)ecryptfs_get_tfm_and_mutex_for_cipher_name(9)ecryptfs_encode_for_filename(9)ecryptfs_decode_from_filename(9)ecryptfs_encrypt_and_encode_filename(9)ecryptfs_decode_and_decrypt_filename(9)
go read them all, bestie. all thirty. i'll wait π«Ά
anyway that's the whole page from ./fs/ecryptfs, dated October 2026 β mwah, love u, go set some defaults ππΈβ
π¦ 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