sys_fsconfig(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sys_fsconfig(9) πŸ’…

okay so bestie, this is the Kernel API Manual page for sys_fsconfig, and we are gonna go through it together β€” no cap, every detail stays. 🫢

🌸 NAME 🌸

sys_fsconfig β€” Set parameters and trigger actions on a context

✨ SYNOPSIS ✨

long sys_fsconfig (int fd , unsigned int cmd , const char __user * _key
       , const void __user * _value , int aux );

πŸŽ€ ARGUMENTS πŸŽ€

  • fd β€” The filesystem context to act upon.
  • cmd β€” The action to take.
  • _key β€” Where appropriate, the parameter key to set.
  • _value β€” Where appropriate, the parameter value to set.
  • aux β€” Additional information for the value.

πŸ¦‹ DESCRIPTION πŸ¦‹

This system call is used to set parameters on a context, including superblock settings, data source and security labelling.

Actions include triggering the creation of a superblock and the reconfiguration of the superblock attached to the specified context.

When setting a parameter, cmd indicates the type of value being proposed and _key indicates the parameter to be altered.

_value and aux are used to specify the value, should a value be required:

  • fsconfig_set_flag β€” No value is specified. The parameter must be boolean in nature. The key may be prefixed with "no" to invert the setting. _value must be NULL and aux must be 0.
  • fsconfig_set_string β€” A string value is specified. The parameter can be expecting boolean, integer, string or take a path. A conversion to an appropriate type will be attempted (which may include looking up as a path). _value points to a NUL-terminated string and aux must be 0.
  • fsconfig_set_binary β€” A binary blob is specified. _value points to the blob and aux indicates its size. The parameter must be expecting a blob.
  • fsconfig_set_path β€” A non-empty path is specified. The parameter must be expecting a path object. _value points to a NUL-terminated string that is the path and aux is a file descriptor at which to start a relative lookup or AT_FDCWD.
  • fsconfig_set_path_empty β€” As fsconfig_set_path, but with AT_EMPTY_PATH implied.
  • fsconfig_set_fd β€” An open file descriptor is specified. _value must be NULL and aux indicates the file descriptor.

πŸ” SEE ALSO πŸ”

  • Kernel file ./fs/fsopen.c

okay bye bestie πŸ’– this page came from ./fs, dated October 2026, and it's sys_fsconfig(9) β€” mwah! πŸ’‹βœ¨

πŸ“¦ where this page comes from