mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
Typo: mmaped -> mmapped
It is mapped, not maped. Same applies for mmap I guess. Found by codespell, except it wants to change it to mapped, which will make it less specific. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
committed by
Andrei Vagin
parent
d9411c948d
commit
716e56f37e
@@ -68,7 +68,7 @@ static int dump_memfd_inode(int fd, struct memfd_dump_inode *inode, const char *
|
|||||||
u32 shmid;
|
u32 shmid;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* shmids are chosen as the inode number of the corresponding mmaped
|
* shmids are chosen as the inode number of the corresponding mmapped
|
||||||
* file. See handle_vma() in proc_parse.c.
|
* file. See handle_vma() in proc_parse.c.
|
||||||
* It works for memfd too, because we share the same device as the
|
* It works for memfd too, because we share the same device as the
|
||||||
* shmem device.
|
* shmem device.
|
||||||
|
@@ -500,7 +500,7 @@ static int vdso_fill_compat_symtable(struct vdso_maps *native, struct vdso_maps
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (vdso_fill_symtable_compat((uintptr_t)vdso_mmap, compat->sym.vdso_size, &compat->sym)) {
|
if (vdso_fill_symtable_compat((uintptr_t)vdso_mmap, compat->sym.vdso_size, &compat->sym)) {
|
||||||
pr_err("Failed to parse mmaped compatible vdso blob\n");
|
pr_err("Failed to parse mmapped compatible vdso blob\n");
|
||||||
goto out_unmap;
|
goto out_unmap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#include "zdtmtst.h"
|
#include "zdtmtst.h"
|
||||||
|
|
||||||
const char *test_doc = "file mmaped for write and being written should change mtime\n"
|
const char *test_doc = "file mmapped for write and being written should change mtime\n"
|
||||||
"and be migrated with correct new data";
|
"and be migrated with correct new data";
|
||||||
|
|
||||||
char *filename;
|
char *filename;
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include "zdtmtst.h"
|
#include "zdtmtst.h"
|
||||||
|
|
||||||
const char *test_doc = "Test mmaped and unlinked files";
|
const char *test_doc = "Test mmapped and unlinked files";
|
||||||
|
|
||||||
char *filename;
|
char *filename;
|
||||||
TEST_OPTION(filename, string, "file name", 1);
|
TEST_OPTION(filename, string, "file name", 1);
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#include "zdtmtst.h"
|
#include "zdtmtst.h"
|
||||||
|
|
||||||
const char *test_doc = "Test mmaped and unlinked files (2, with hard links)";
|
const char *test_doc = "Test mmapped and unlinked files (2, with hard links)";
|
||||||
|
|
||||||
char *filename;
|
char *filename;
|
||||||
TEST_OPTION(filename, string, "file name", 1);
|
TEST_OPTION(filename, string, "file name", 1);
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include "zdtmtst.h"
|
#include "zdtmtst.h"
|
||||||
|
|
||||||
const char *test_doc = "Test mmaped, opened and unlinked files";
|
const char *test_doc = "Test mmapped, opened and unlinked files";
|
||||||
|
|
||||||
char *filename;
|
char *filename;
|
||||||
TEST_OPTION(filename, string, "file name", 1);
|
TEST_OPTION(filename, string, "file name", 1);
|
||||||
|
Reference in New Issue
Block a user