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
3ebb3682
Commit
3ebb3682
authored
Sep 25, 2013
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unix: Print "socket not found" error message on dump
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
8f74187a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
sk-unix.c
sk-unix.c
+3
-1
No files found.
sk-unix.c
View file @
3ebb3682
...
@@ -128,8 +128,10 @@ static int dump_one_unix_fd(int lfd, u32 id, const struct fd_parms *p)
...
@@ -128,8 +128,10 @@ static int dump_one_unix_fd(int lfd, u32 id, const struct fd_parms *p)
FilePermsEntry
perms
=
FILE_PERMS_ENTRY__INIT
;
FilePermsEntry
perms
=
FILE_PERMS_ENTRY__INIT
;
sk
=
(
struct
unix_sk_desc
*
)
lookup_socket
(
p
->
stat
.
st_ino
,
PF_UNIX
,
0
);
sk
=
(
struct
unix_sk_desc
*
)
lookup_socket
(
p
->
stat
.
st_ino
,
PF_UNIX
,
0
);
if
(
IS_ERR_OR_NULL
(
sk
))
if
(
IS_ERR_OR_NULL
(
sk
))
{
pr_err
(
"Unix socket %#x not found
\n
"
,
(
int
)
p
->
stat
.
st_ino
);
goto
err
;
goto
err
;
}
if
(
!
can_dump_unix_sk
(
sk
))
if
(
!
can_dump_unix_sk
(
sk
))
goto
err
;
goto
err
;
...
...
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