proc_ulong_u2k_conv_uop(9)
proc_ulong_u2k_conv_uop(9) π
hiii bestie, welcome to the Kernel API Manual β this is the page for proc_ulong_u2k_conv_uop(9), and it's literally the little helper that assigns a user value to a kernel pointer. let's get into it β¨
πΈ NAME πΈ
proc_ulong_u2k_conv_uop β assign user value to a kernel pointer π«
β¨ SYNOPSIS β¨
int proc_ulong_u2k_conv_uop (const ulong *u_ptr , ulong *k_ptr , ulong
(*u_ptr_op)(const ulong) );
π«Ά ARGUMENTS π«Ά
u_ptrβ pointer to user space variable πk_ptrβ pointer to kernel variable π§u_ptr_opβ execute this function before assigning tok_ptrπ¬
π DESCRIPTION π
okay so here's the vibe: this one uses WRITE_ONCE to assign the value to k_ptr. if u_ptr_op is not NULL, it executes u_ptr_op, bestie. that's the whole moment. π¦
π RETURN π
0on success. slay. β
π₯ SEE ALSO π₯
go look at these too, bestie π
- Kernel file
./kernel/sysctl.cβenum sysctl_writes_mode(9) proc_first_pos_non_zero_ignore(9)proc_dostring(9)strtoul_lenient(9)proc_get_long(9)proc_put_long(9)proc_uint_u2k_conv_uop(9)proc_uint_k2u_conv(9)proc_uint_conv(9)proc_int_k2u_conv_kop(9)proc_int_u2k_conv_uop(9)proc_int_conv(9)proc_douintvec_conv(9)proc_dobool(9)proc_dointvec(9)proc_douintvec(9)proc_dointvec_minmax(9)proc_douintvec_minmax(9)proc_dou8vec_minmax(9)proc_ulong_conv(9)proc_ulong_k2u_conv_kop(9)proc_doulongvec_conv(9)proc_doulongvec_minmax(9)proc_dointvec_conv(9)proc_do_large_bitmap(9)
xoxo, your kernel bestie π β source/version: ./kernel; date: 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