smb2_create_open_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… smb2_create_open_flags(9) πŸ’…

okay so bestie, this page is from the Kernel API Manual, and it's literally the translator for smb open flags β†’ unix open flags. no cap, that's the whole mission. πŸ’–


🌸 NAME 🌸

smb2_create_open_flags β€” convert smb open flags to unix open flags. periodt. πŸ‘‘


✨ SYNOPSIS ✨

int smb2_create_open_flags (bool file_present , __le32 access , __le32
disposition , int *may_flags , __le32 coptions , umode_t mode );

πŸŽ€ ARGUMENTS πŸŽ€

  • file_present β€” is file already present? that's the whole question, bestie. 🫢
  • access β€” file access flags. iconic. ✨
  • disposition β€” file disposition flags. yes ma'am. πŸ’…
  • may_flags β€” set with MAY_ flags. MAY_ flags, specifically. πŸŽ€
  • coptions β€” file creation options. πŸ¦‹
  • mode β€” file mode. 🌸

πŸ”₯ RETURN πŸ”₯

file open flags. that's the return, and it's giving "here are your file open flags." πŸ’–


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./fs/smb/server/smb2pdu.c β€” plus the whole squad:


πŸ’– cute sign-off: source ./fs/smb/server, date October 2026, manual name smb2_create_open_flags(9) β€” mwah, periodt. 🫢

πŸ“¦ where this page comes from