ecryptfs_sen...ssage_locked(9)
π ecryptfs_send_message_locked(9) π
okay bestie, welcome to the Kernel API Manual page for ecryptfs_send_message_locked(9) β yes the title out here is literally abbreviated with ecryptfs_sen...ssage_locked(9) and yes that's the flex, don't @ me β¨
πΈ NAME πΈ
ecryptfs_send_message_locked β
that's it. that's the whole name section. the original gave us zero description here, so i'm not gonna invent one, we stay honest in this group chat π«Ά
π SYNOPSIS π
int ecryptfs_send_message_locked (char *data , int data_len , u8
msg_type , struct ecryptfs_msg_ctx **msg_ctx );
that's the whole vibe: returns an int, takes a char *data, an int data_len, a u8 msg_type, and a struct ecryptfs_msg_ctx **msg_ctx π
β¨ ARGUMENTS β¨
dataβ the data to send, literally the payload, the whole point bestie π¦data_lenβ the length ofdata, so like, how much of it there actually is πmsg_typeβ the type of message, au8baddie π·οΈmsg_ctxβ the message context allocated for the send, she was allocated just for this π
π¦ DESCRIPTION π¦
okay so here's the important bit, do not skip this:
must be called with ecryptfs_daemon_hash_mux held.
like, held held. no cap. this is the lock requirement and she is not optional ππ
returns zero on success; non-zero otherwise. that's the whole return contract, periodt β¨
π SEE ALSO π
kernel file ./fs/ecryptfs/messaging.c β that's where she lives, go read the source if you wanna be that girl π§
and the whole friend group:
ecryptfs_acquire_free_msg_ctx(9)ecryptfs_msg_ctx_free_to_alloc(9)ecryptfs_msg_ctx_alloc_to_free(9)ecryptfs_find_daemon_by_euid(9)ecryptfs_spawn_daemon(9)ecryptfs_process_response(9)ecryptfs_send_message(9)ecryptfs_wait_for_response(9)
all of them, every single one, tagged (9) and everything π
sign-off time πβ¨
this lil masterpiece is from the source/version <purple>./fs/ecryptfs</purple> and it's dated October 2026 β so yeah, from the future, main character energy only ππ¦ love that for us, bye bestie π«Άπ
π¦ 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