ecryptfs_send_miscdev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ ecryptfs_send_miscdev(9) β€” Kernel API Manual πŸ‘‘

πŸ¦‹ NAME πŸ¦‹

ecryptfs_send_miscdev β€” and that’s literally it, bestie: the original NAME line is ecryptfs_send_miscdev - with nothing after the dash. Minimalist queen energy, no cap. πŸ’…

✨ SYNOPSIS ✨

int ecryptfs_send_miscdev (char *data , size_t data_size , struct
       ecryptfs_msg_ctx *msg_ctx , u8 msg_type , u16 msg_flags , struct
       ecryptfs_daemon *daemon );

🌸 ARGUMENTS 🌸

  • data β€” Data to send to daemon; may be NULL. Yes bestie, NULL is allowed here. ✨
  • data_size β€” Amount of data to send to daemon.
  • msg_ctx β€” Message context, which is used to handle the reply. If this is NULL, then we do not expect a reply. 🫢
  • msg_type β€” Type of message.
  • msg_flags β€” Flags for message.
  • daemon β€” eCryptfs daemon object.

πŸ’œ DESCRIPTION πŸ’œ

Okay so here’s the move: add msg_ctx to the queue and then β€” if it exists β€” notify the blocked miscdevess about the data being available. (And yes, miscdevess is the spelling from the original, bestie; I’m not fixing the lore. 😭)

⚠️ Must be called with ecryptfs_daemon_hash_mux held. Not optional β€” that’s a hard requirement, fr fr.

Returns zero on success; non-zero otherwise. Slay when it’s zero, side-eye when it’s not. πŸ‘€

🌈 SEE ALSO 🌈

Kernel file ./fs/ecryptfs/miscdev.c plus these icons:


That’s ecryptfs_send_miscdev(9) wrapped, bestie πŸ’– β€” source/version ./fs/ecryptfs, dated October 2026. Periodt. πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from