Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
e57fd31f
Commit
e57fd31f
authored
Jun 01, 2018
by
Andrei Vagin
Committed by
Pavel Emelyanov
Jul 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
criu: musl scanf and printf don't support the L modifer for intergers
Signed-off-by:
Andrei Vagin
<
avagin@virtuozzo.com
>
parent
8afa426d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
fsnotify.c
criu/fsnotify.c
+1
-1
proc_parse.c
criu/proc_parse.c
+1
-1
signalfd.c
criu/signalfd.c
+1
-1
uffd.c
criu/uffd.c
+1
-1
No files found.
criu/fsnotify.c
View file @
e57fd31f
...
@@ -203,7 +203,7 @@ static int open_handle(unsigned int s_dev, unsigned long i_ino,
...
@@ -203,7 +203,7 @@ static int open_handle(unsigned int s_dev, unsigned long i_ino,
decode_handle
(
&
handle
,
f_handle
);
decode_handle
(
&
handle
,
f_handle
);
pr_debug
(
"Opening fhandle %x:%
L
x...
\n
"
,
pr_debug
(
"Opening fhandle %x:%
ll
x...
\n
"
,
s_dev
,
(
unsigned
long
long
)
handle
.
__handle
[
0
]);
s_dev
,
(
unsigned
long
long
)
handle
.
__handle
[
0
]);
for
(
m
=
mntinfo
;
m
;
m
=
m
->
next
)
{
for
(
m
=
mntinfo
;
m
;
m
=
m
->
next
)
{
...
...
criu/proc_parse.c
View file @
e57fd31f
...
@@ -1782,7 +1782,7 @@ static int parse_fdinfo_pid_s(int pid, int fd, int type, void *arg)
...
@@ -1782,7 +1782,7 @@ static int parse_fdinfo_pid_s(int pid, int fd, int type, void *arg)
if
(
type
!=
FD_TYPES__SIGNALFD
)
if
(
type
!=
FD_TYPES__SIGNALFD
)
goto
parse_err
;
goto
parse_err
;
ret
=
sscanf
(
str
,
"sigmask: %
L
x"
,
ret
=
sscanf
(
str
,
"sigmask: %
ll
x"
,
(
unsigned
long
long
*
)
&
sfd
->
sigmask
);
(
unsigned
long
long
*
)
&
sfd
->
sigmask
);
if
(
ret
!=
1
)
if
(
ret
!=
1
)
goto
parse_err
;
goto
parse_err
;
...
...
criu/signalfd.c
View file @
e57fd31f
...
@@ -52,7 +52,7 @@ static void sigset_fill(sigset_t *to, unsigned long long from)
...
@@ -52,7 +52,7 @@ static void sigset_fill(sigset_t *to, unsigned long long from)
{
{
int
sig
;
int
sig
;
pr_info
(
"
\t
Calculating sigmask for %
L
x
\n
"
,
from
);
pr_info
(
"
\t
Calculating sigmask for %
ll
x
\n
"
,
from
);
sigemptyset
(
to
);
sigemptyset
(
to
);
for
(
sig
=
1
;
sig
<
NSIG
;
sig
++
)
for
(
sig
=
1
;
sig
<
NSIG
;
sig
++
)
if
(
from
&
(
1ULL
<<
(
sig
-
1
)))
{
if
(
from
&
(
1ULL
<<
(
sig
-
1
)))
{
...
...
criu/uffd.c
View file @
e57fd31f
...
@@ -1031,7 +1031,7 @@ static int handle_remove(struct lazy_pages_info *lpi, struct uffd_msg *msg)
...
@@ -1031,7 +1031,7 @@ static int handle_remove(struct lazy_pages_info *lpi, struct uffd_msg *msg)
unreg
.
start
=
msg
->
arg
.
remove
.
start
;
unreg
.
start
=
msg
->
arg
.
remove
.
start
;
unreg
.
len
=
msg
->
arg
.
remove
.
end
-
msg
->
arg
.
remove
.
start
;
unreg
.
len
=
msg
->
arg
.
remove
.
end
-
msg
->
arg
.
remove
.
start
;
lp_debug
(
lpi
,
"%s: %
Lx(%L
x)
\n
"
,
lp_debug
(
lpi
,
"%s: %
llx(%ll
x)
\n
"
,
msg
->
event
==
UFFD_EVENT_REMOVE
?
"REMOVE"
:
"UNMAP"
,
msg
->
event
==
UFFD_EVENT_REMOVE
?
"REMOVE"
:
"UNMAP"
,
unreg
.
start
,
unreg
.
len
);
unreg
.
start
,
unreg
.
len
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment