sys_fsconfig(9)
π 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._valuemust beNULLandauxmust be0.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)._valuepoints to aNUL-terminated string andauxmust be0.fsconfig_set_binaryβ A binary blob is specified._valuepoints to the blob andauxindicates 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._valuepoints to aNUL-terminated string that is the path andauxis a file descriptor at which to start a relative lookup orAT_FDCWD.fsconfig_set_path_emptyβ Asfsconfig_set_path, but withAT_EMPTY_PATHimplied.fsconfig_set_fdβ An open file descriptor is specified._valuemust beNULLandauxindicates 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
- 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