diff --git a/libs/libc/unistd/Kconfig b/libs/libc/unistd/Kconfig index 1c1ee3e1ee865..be16a529ef5f1 100644 --- a/libs/libc/unistd/Kconfig +++ b/libs/libc/unistd/Kconfig @@ -117,3 +117,25 @@ config LIBC_OPEN_MAX ---help--- The maximum number of files that a process can have open at any time. Must not be less than _POSIX_OPEN_MAX. + +config NAME_MAX + int "Maximum size of a file name" + default 32 + ---help--- + The maximum size of a file name. + +config PATH_MAX + int "Maximum size of path name" + default 256 + ---help--- + The maximum size of path name. + +config LINE_MAX + int "Maximum size of line" + default 64 if DEFAULT_SMALL + default 80 if !DEFAULT_SMALL + ---help--- + The maximum size of line. Unless otherwise noted, the maximum length, in bytes, + of a utility's input line (either standard input or another file), when the + utility is described as processing text files. The length includes room for + the trailing newline. diff --git a/sched/Kconfig b/sched/Kconfig index e9eaf21fc587b..9350b8db0f0f7 100644 --- a/sched/Kconfig +++ b/sched/Kconfig @@ -1400,28 +1400,6 @@ config FILE_STREAM ---help--- Enable the standard buffered input/output support -config NAME_MAX - int "Maximum size of a file name" - default 32 - ---help--- - The maximum size of a file name. - -config PATH_MAX - int "Maximum size of path name" - default 256 - ---help--- - The maximum size of path name. - -config LINE_MAX - int "Maximum size of line" - default 64 if DEFAULT_SMALL - default 80 if !DEFAULT_SMALL - ---help--- - The maximum size of line. Unless otherwise noted, the maximum length, in bytes, - of a utility's input line (either standard input or another file), when the - utility is described as processing text files. The length includes room for - the trailing newline. - endmenu # Files and I/O menuconfig PRIORITY_INHERITANCE