diff options
| author | Mark Brown <broonie@kernel.org> | 2026-10-01 14:23:27 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-01 14:23:27 +0100 |
| commit | f9117027f768a5db4e3803fbda4409a15536091f (patch) | |
| tree | 25ddb7893c614e31ebc9fd8adabe7946945f7890 /Documentation/filesystems | |
| parent | 5f38a99821c1de18001fe971744dd52fd053091e (diff) | |
| parent | 2d72a4c09867a8f9131afc2e705a728f9fba2417 (diff) | |
| download | linux-next-f9117027f768a5db4e3803fbda4409a15536091f.tar.gz linux-next-f9117027f768a5db4e3803fbda4409a15536091f.zip | |
Merge branch 'docs-next' of git://git.lwn.net/linux.git
Diffstat (limited to 'Documentation/filesystems')
| -rw-r--r-- | Documentation/filesystems/fuse/fuse.rst | 8 | ||||
| -rw-r--r-- | Documentation/filesystems/locking.rst | 2 | ||||
| -rw-r--r-- | Documentation/filesystems/porting.rst | 2 | ||||
| -rw-r--r-- | Documentation/filesystems/proc.rst | 10 |
4 files changed, 11 insertions, 11 deletions
diff --git a/Documentation/filesystems/fuse/fuse.rst b/Documentation/filesystems/fuse/fuse.rst index 0fbd5a03fdc9..063d99959396 100644 --- a/Documentation/filesystems/fuse/fuse.rst +++ b/Documentation/filesystems/fuse/fuse.rst @@ -173,10 +173,10 @@ the error set to EINTR. It is also possible that there's a race between processing the original request and its INTERRUPT request. There are two possibilities: - 1. The INTERRUPT request is processed before the original request is + 1) The INTERRUPT request is processed before the original request is processed - 2. The INTERRUPT request is processed after the original request has + 2) The INTERRUPT request is processed after the original request has been answered If the filesystem cannot find the original request, it should wait for @@ -239,9 +239,9 @@ How are requirements fulfilled? A) The mount owner could gain elevated privileges by either: - 1. creating a filesystem containing a device file, then opening this device + 1) creating a filesystem containing a device file, then opening this device - 2. creating a filesystem containing a suid or sgid application, then executing this application + 2) creating a filesystem containing a suid or sgid application, then executing this application The solution is not to allow opening device files and ignore setuid and setgid bits when executing programs. To ensure this diff --git a/Documentation/filesystems/locking.rst b/Documentation/filesystems/locking.rst index 6330653287d5..f7363ad770c7 100644 --- a/Documentation/filesystems/locking.rst +++ b/Documentation/filesystems/locking.rst @@ -27,7 +27,7 @@ prototypes:: int (*d_init)(struct dentry *); void (*d_release)(struct dentry *); void (*d_iput)(struct dentry *, struct inode *); - char *(*d_dname)((struct dentry *dentry, char *buffer, int buflen); + char *(*d_dname)(struct dentry *dentry, char *buffer, int buflen); struct vfsmount *(*d_automount)(struct path *path); int (*d_manage)(const struct path *, bool); struct dentry *(*d_real)(struct dentry *, enum d_real_type type); diff --git a/Documentation/filesystems/porting.rst b/Documentation/filesystems/porting.rst index e666edab789f..c38f5df755bb 100644 --- a/Documentation/filesystems/porting.rst +++ b/Documentation/filesystems/porting.rst @@ -673,7 +673,7 @@ watch out, since that shortcut is no longer valid. they used to - they just take it exclusive. However, ->lookup() may be called with parent locked shared. Its instances must not - * use d_instantiate) and d_rehash() separately - use d_add() or + * use d_instantiate() and d_rehash() separately - use d_add() or d_splice_alias() instead. * use d_rehash() alone - call d_add(new_dentry, NULL) instead. * in the unlikely case when (read-only) access to filesystem diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst index fc59c98acca1..fa7a468e8edf 100644 --- a/Documentation/filesystems/proc.rst +++ b/Documentation/filesystems/proc.rst @@ -440,7 +440,7 @@ ioctl()-based API that gives ability to flexibly and efficiently query and filter individual VMAs. This interface is binary and is meant for more efficient and easy programmatic use. `struct procmap_query`, defined in linux/fs.h UAPI header, serves as an input/output argument to the -`PROCMAP_QUERY` ioctl() command. See comments in linus/fs.h UAPI header for +`PROCMAP_QUERY` ioctl() command. See comments in linux/fs.h UAPI header for details on query semantics, supported flags, data returned, and general API usage information. @@ -576,14 +576,14 @@ encoded manner. The codes are the following: == ============================================================= rd readable - wr writeable + wr writable ex executable sh shared mr may read mw may write me may execute ms may share - gd stack segment growns down + gd stack segment grows down pf pure PFN range lo pages are locked in memory io memory mapped I/O area @@ -719,7 +719,7 @@ size, in KB, that is backing the mapping up. Note that some kernel configurations do not track the precise number of times a page part of a larger allocation (e.g., THP) is mapped. In these -configurations, "mapmax" might corresponds to the average number of mappings +configurations, "mapmax" might correspond to the average number of mappings per page in such a larger allocation instead. 1.2 Kernel data @@ -2012,7 +2012,7 @@ For more information on mount propagation see: These files provide a method to access a task's comm value. It also allows for a task to set its own or one of its thread siblings comm value. The comm value is limited in size compared to the cmdline value, so writing anything longer -then the kernel's TASK_COMM_LEN (currently 16 chars, including the NUL +than the kernel's TASK_COMM_LEN (currently 16 chars, including the NUL terminator) will result in a truncated comm value. |
