fscrypt_par...y_encryption(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this whole page is about fscrypt_parse_test_dummy_encryption β€” the function that parses the test_dummy_encryption mount option. that's the vibe. also hi, this is from the Kernel API Manual, and the page title is fscrypt_par...y_encryption(9) (yes the ... is literally in the title, not me being dramatic πŸ’…).

✨ SYNOPSIS ✨

int fscrypt_parse_test_dummy_encryption (const struct fs_parameter
       *param , struct fscrypt_dummy_policy *dummy_policy );

πŸŽ€ ARGUMENTS πŸŽ€

  • param β€” literally the mount option. that's the whole arg, no cap.
  • dummy_policy β€” (input/output) the place to write the dummy policy that will result from parsing the option. zero-initialize this, fr fr. if a policy is already set here (because test_dummy_encryption was given multiple times), then this function will verify that the policies are the same. the way it checks for consistency β€” obsessed.

🌸 RETURN 🌸

  • 0 on success β€” slay.
  • -EINVAL if the argument is invalid β€” not iconic.
  • -EEXIST if the argument conflicts with one already specified β€” conflict alert.
  • or -ENOMEM β€” memory said no 😭.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./fs/crypto/policy.c β€” plus the whole related squad: fscrypt_policies_equal(9), fscrypt_supported_policy(9), fscrypt_new_context(9), fscrypt_policy_from_context(9), fscrypt_has_permitted_context(9), fscrypt_context_for_new_inode(9), fscrypt_set_context(9), fscrypt_dummy_policies_equal(9), and fscrypt_show_test_dummy_encryption(9). all of them, periodt. πŸ’–


source path ./fs/crypto, dated October 2026, footer title fscrypt_par...y_encryption(9) β€” that's the whole page, bestie. bye 🫢✨

πŸ“¦ where this page comes from