Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
38ba2f11
Commit
38ba2f11
authored
Sep 04, 2022
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[elf] get rid of get_note_info_size()
it's trivial now... Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
e92edb85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
fs/binfmt_elf.c
fs/binfmt_elf.c
+1
-6
No files found.
fs/binfmt_elf.c
View file @
38ba2f11
...
...
@@ -1946,11 +1946,6 @@ static int fill_note_info(struct elfhdr *elf, int phdrs,
return
1
;
}
static
size_t
get_note_info_size
(
struct
elf_note_info
*
info
)
{
return
info
->
size
;
}
/*
* Write all the notes for each thread. When writing the first thread, the
* process-wide notes are interleaved after the first thread-specific note.
...
...
@@ -2068,7 +2063,7 @@ static int elf_core_dump(struct coredump_params *cprm)
/* Write notes phdr entry */
{
size_t
sz
=
get_note_info_size
(
&
info
)
;
size_t
sz
=
info
.
size
;
/* For cell spufs */
sz
+=
elf_coredump_extra_notes_size
();
...
...
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