ecryptfs_send_miscdev(9)
π 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 beNULL. Yes bestie,NULLis allowed here. β¨data_sizeβ Amount of data to send to daemon.msg_ctxβ Message context, which is used to handle the reply. If this isNULL, 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:
ecryptfs_miscdev_poll(9)ecryptfs_miscdev_open(9)ecryptfs_miscdev_release(9)ecryptfs_miscdev_read(9)ecryptfs_miscdev_response(9)ecryptfs_miscdev_write(9)ecryptfs_init_ecryptfs_miscdev(9)ecryptfs_destroy_ecryptfs_miscdev(9)
Thatβs ecryptfs_send_miscdev(9) wrapped, bestie π β source/version ./fs/ecryptfs, dated October 2026. Periodt. ππ¦
π¦ 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