crash.software
Projects
Pull Requests
Issues
Builds
criu
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
criu
Commits
6498253f
🤬
Sign In
ci: fix new codespell errors
Signed-off-by: Adrian Reber <
[email protected]
>
Adrian Reber
committed with
Andrei Vagin
1 year ago
6498253f
1 parent
d739260c
Total 22 files
Show one by one
■
■
■ ■ ■ ■
.codespellrc
1
1
[codespell]
2
2
skip = ./.git,./test/pki
3
-
ignore-words-list = creat,fpr,fle,ue,bord,parms,nd,te,testng
3
+
ignore-words-list = creat,fpr,fle,ue,bord,parms,nd,te,testng
,
inh
,
wronly
,
renderd
,
bui
,
clen
4
4
All occurrences
■
■
■ ■ ■ ■
compel/arch/aarch64/src/lib/include/uapi/asm/sigframe.h
skipped 17 lines
18
18
struct _aarch64_ctx end;
19
19
};
20
20
21
-
// XXX: the
idetifier
rt_sigcontext is expected to be struct by the CRIU code
21
+
// XXX: the
identifier
rt_sigcontext is expected to be struct by the CRIU code
22
22
#define rt_sigcontext sigcontext
23
23
24
24
#include <compel/sigframe-common.h>
skipped 46 lines
All occurrences
■
■
■ ■ ■ ■
compel/arch/ppc64/src/lib/include/uapi/asm/sigframe.h
skipped 13 lines
14
14
*/
15
15
#include <signal.h>
16
16
17
-
// XXX: the
idetifier
rt_sigcontext is expected to be struct by the CRIU code
17
+
// XXX: the
identifier
rt_sigcontext is expected to be struct by the CRIU code
18
18
#define rt_sigcontext sigcontext
19
19
20
20
#include <compel/sigframe-common.h>
skipped 65 lines
All occurrences
■
■
■ ■ ■ ■
criu/include/image.h
skipped 40 lines
41
41
* implementation and it is specific to every kernel version,
42
42
* its contents should not be dumped ever
43
43
* - vdso,vvar
44
-
* the vDSO area, it might
reqire
additional memory
44
+
* the vDSO area, it might
require
additional memory
45
45
* contents modification especially when tasks are
46
46
* migrating between different kernel versions
47
47
* - heap
skipped 131 lines
All occurrences
■
■
■ ■ ■ ■
criu/mem.c
skipped 160 lines
161
161
* put the memory into the page-pipe's pipe.
162
162
*
163
163
* "Holes" in page-pipe are regions, that should be dumped, but
164
-
* the memory contents is present in the
pagent
image set.
164
+
* the memory contents is present in the
parent
image set.
165
165
*/
166
166
167
167
static int generate_iovs(struct pstree_item *item, struct vma_area *vma, struct page_pipe *pp, u64 *map, u64 *off,
skipped 1280 lines
All occurrences
■
■
■ ■ ■ ■
criu/mount.c
skipped 2822 lines
2823
2823
static int remap_id;
2824
2824
2825
2825
struct mnt_remap_entry {
2826
-
struct mount_info *mi; /* child is
remaped
into the root yards */
2826
+
struct mount_info *mi; /* child is
remapped
into the root yards */
2827
2827
struct mount_info *parent; /* the origin parent for the child*/
2828
2828
struct list_head node;
2829
2829
};
skipped 1411 lines
All occurrences
■
■
■ ■ ■ ■
criu/namespaces.c
skipped 1453 lines
1454
1454
* each other easily. Stream socket require manual
1455
1455
* messages boundaries.
1456
1456
*
1457
-
* b) Make callers note the
damon
death by seeing the
1457
+
* b) Make callers note the
daemon
death by seeing the
1458
1458
* disconnected socket. In case of dgram socket
1459
1459
* callers would just get stuck in receiving the
1460
1460
* response.
skipped 460 lines
All occurrences
■
■
■ ■ ■ ■
criu/net.c
skipped 3432 lines
3433
3433
3434
3434
/*
3435
3435
* socket_diag doesn't report unbound and unconnected sockets,
3436
-
* so we have to get their network
namesapces
explicitly
3436
+
* so we have to get their network
namespaces
explicitly
3437
3437
*/
3438
3438
struct ns_id *get_socket_ns(int lfd)
3439
3439
{
skipped 386 lines
All occurrences
■
■
■ ■ ■ ■
criu/pie/restorer.c
skipped 1067 lines
1068
1068
* |G|----tgt----| |
1069
1069
*
1070
1070
* 3. remap src to any other place.
1071
-
* G prevents src from being
remaped
on tgt again
1071
+
* G prevents src from being
remapped
on tgt again
1072
1072
* | |-------------| -> |+++++src+++++|
1073
1073
* |G|---tgt-----| |
1074
1074
*
skipped 1039 lines
All occurrences
■
■
■ ■ ■ ■
flog/include/uapi/flog.h
skipped 85 lines
86
86
/* double: 13, */ \
87
87
/* long double: 14, */ \
88
88
\
89
-
/* Basic
poniters
*/ \
89
+
/* Basic
pointers
*/ \
90
90
char *: (1u << (ord - n - 1)), \
91
91
signed char *: (1u << (ord - n - 1)), \
92
92
unsigned char *: (1u << (ord - n - 1)), \
skipped 48 lines
All occurrences
■
■
■ ■ ■ ■
include/common/scm.h
skipped 10 lines
11
11
* Because of kernel doing kmalloc for user data passed
12
12
* in SCM messages, and there is kernel's SCM_MAX_FD as a limit
13
13
* for descriptors passed at once we're trying to reduce
14
-
* the
pressue
on kernel memory manager and use predefined
14
+
* the
pressure
on kernel memory manager and use predefined
15
15
* known to work well size of the message buffer.
16
16
*/
17
17
#define CR_SCM_MSG_SIZE (1024)
skipped 37 lines
All occurrences
■
■
■ ■ ■ ■
plugins/amdgpu/README.md
skipped 262 lines
263
263
Thunk | User-mode API interface to interact with amdgpu.ko
264
264
KFD | AMD Kernel Fusion Driver
265
265
Mesa | Open source OpenGL implementation
266
-
GTT |
Graphis
Translation Table, also used to denote kernel-managed system memory for GPU access
266
+
GTT |
Graphics
Translation Table, also used to denote kernel-managed system memory for GPU access
267
267
VRAM | Video RAM
268
268
BO | Buffer Object
269
269
HMM | Heterogeneous Memory Management
skipped 6 lines
All occurrences
■
■
■ ■ ■ ■
plugins/amdgpu/amdgpu_plugin_topology.c
skipped 1240 lines
1241
1241
return true;
1242
1242
} else {
1243
1243
/* We could not map remaining nodes in the list. Add dest node back
1244
-
* to list and try to map next dest
ndoe
in list to current src
1244
+
* to list and try to map next dest
node
in list to current src
1245
1245
* node.
1246
1246
*/
1247
1247
pr_debug("Nodes after [0x%04X -> 0x%04X] did not match, "
skipped 217 lines
All occurrences
■
■
■ ■ ■ ■
test/exhaustive/unix.py
skipped 461 lines
462
462
463
463
464
464
def chk_real_state(st):
465
-
# Before
enything
else -- check that we still have
465
+
# Before
anything
else -- check that we still have
466
466
# all the sockets at hands
467
467
for sk in st.sockets:
468
468
if not sk.visible:
skipped 306 lines
All occurrences
■
■
■ ■ ■ ■
test/others/app-emu/java/HelloWorld/run.sh
skipped 17 lines
18
18
19
19
pid=${!}
20
20
21
-
echo
Lanuched
java application with pid $pid in background
21
+
echo
Launched
java application with pid $pid in background
22
22
23
23
${criu} dump -D dump -o dump.log -v4 --shell-job -t ${pid} || {
24
24
echo "Dump failed"
skipped 14 lines
All occurrences
■
■
■ ■ ■ ■
test/others/app-emu/make/run.sh
skipped 27 lines
28
28
29
29
pid=${!}
30
30
31
-
echo
Lanuched
make in $pid background
31
+
echo
Launched
make in $pid background
32
32
sleep 2
33
33
34
34
${criu} dump --shell-job -D dump -o dump.log -v4 -t ${pid} || {
skipped 26 lines
All occurrences
■
■
■ ■ ■ ■
test/zdtm/static/child_opened_proc.c
skipped 9 lines
10
10
#include "zdtmtst.h"
11
11
12
12
const char *test_doc = "Check that tree prior to files opening";
13
-
const char *test_author = "Stanislav Kinsbursky <skinsbursky@
paralles
.com";
13
+
const char *test_author = "Stanislav Kinsbursky <skinsbursky@
parallels
.com
>
";
14
14
15
15
int main(int argc, char **argv)
16
16
{
skipped 48 lines
All occurrences
■
■
■ ■ ■ ■
test/zdtm/static/maps00.c
skipped 136 lines
137
137
}
138
138
/* prot |= PROT_READ// need barrier before this line,
139
139
because compiler change order commands.
140
-
I
finded
one method: look at next lines*/
140
+
I
found
one method: look at next lines*/
141
141
} else
142
142
prot &= PROT_WRITE | !PROT_READ | PROT_EXEC;
143
143
skipped 115 lines
All occurrences
■
■
■ ■ ■ ■
test/zdtm/static/mntns_root_bind.c
skipped 70 lines
71
71
task_waiter_wait4(&t, 2);
72
72
73
73
if (access(bspath, F_OK)) {
74
-
fail("%s isn't
accessiable
", bspath);
74
+
fail("%s isn't
accessible
", bspath);
75
75
return 1;
76
76
}
77
77
skipped 42 lines
All occurrences
■
■
■ ■ ■ ■
test/zdtm/static/stopped.c
skipped 64 lines
65
65
}
66
66
67
67
if (WIFSTOPPED(status))
68
-
test_msg("The
procces
stopped\n");
68
+
test_msg("The
process
stopped\n");
69
69
else {
70
70
fail("The process doesn't stopped");
71
71
goto out;
skipped 17 lines
All occurrences
■ ■
■ ■
■ ■
test/zdtm/transition/ipc.c
skipped 177 lines
178
178
pr_perror("Child 2 was killed");
179
179
} else if (WEXITSTATUS(ret)) {
180
180
fail_count++;
181
-
pr_perror("Child 2 couldn't
inititalise
");
181
+
pr_perror("Child 2 couldn't
initialise
");
182
182
}
183
183
out_child:
184
184
kill(pid1, SIGTERM);
skipped 3 lines
188
188
pr_perror("Child 1 was killed");
189
189
} else if (WEXITSTATUS(ret)) {
190
190
fail_count++;
191
-
pr_perror("Child 1 couldn't
inititalise
");
191
+
pr_perror("Child 1 couldn't
initialise
");
192
192
}
193
193
out_shdt:
194
194
shmdt(mem);
skipped 10 lines
All occurrences
■
■
■ ■ ■ ■
test/zdtm/transition/lazy-thp.c
skipped 24 lines
25
25
26
26
test_init(argc, argv);
27
27
28
-
/* we presume that malloc returns not page
aliged
address */
28
+
/* we presume that malloc returns not page
aligned
address */
29
29
mem = malloc(PAGE_SIZE * N_PAGES);
30
30
org = malloc(PAGE_SIZE);
31
31
if (!mem || !org) {
skipped 33 lines
All occurrences
Please wait...
Page is in error, reload to recover