repo.or.cz
/
ksplice.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
apply: Compute the kid from the contents file.
2008-11-08
Tim Abbott
Add run
-
p
r
e matching of export sec
t
ions
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add
a shadow data structure API
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Fi
x
c
o
mpari
s
on
of UD_OP_PT
R
inst
r
uctions
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add code
t
o
h
an
d
le XEN_EMULATE_PREF
I
X
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Handle
e
nd pointers
w
hen ma
r
king all glo
b
a
l
symbols
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
Abbott
Move
safety_record cr
e
atio
n
f
or the
p
r
i
m
a
ry sections
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
i
m
Abbo
t
t
Handle the ex
p
ort
e
d sym
b
ol tables as ta
b
le s
e
ctio
n
s
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Ha
n
dl
e
export changes using kspl
i
ce_patch str
u
ctures
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
i
m Abbo
t
t
Remove some c
o
nse
r
vativ
e
checks when splitting
s
tri
n
gs
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add support for
spe
c
ifying a sectio
n
to
b
e t
r
eated
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
Abb
o
tt
Print "
u
nknown"
when an update's abort
_
cau
s
e
l
ine is
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Ad
d
k
s
plice-patch
.
h, defini
n
g
m
ac
r
o
s
for decl
a
ri
n
g
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add
.
k
s
p
l
i
ce_call
*
support to
objmanip
a
nd
inspe
c
t
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
i
m Abb
o
t
t
Use preprocessor macros
i
n the primary Ksplice l
i
nk
e
r
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abb
o
tt
Follow trampoline
s
in the stack_check
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abb
o
tt
Remove
f
i
r
s
t_byte_sa
f
e
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abb
o
tt
Patch
.
rodata sections whose size
h
a
sn'
t
changed in
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Ad
d
support for arb
i
trary si
z
e contents
in the ksplice_patch
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
Ab
b
o
t
t
Rename
the trampolin
e
field of struct kspli
c
e_patch
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Ab
b
ot
t
Give reasonable l
a
b
el
s
to sta
t
ic
l
ocal
s
ymbo
l
s
with
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
Abbott
Add suppor
t
for C
.
123
.
12345 symbols i
n
static_local_symbol
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add an option
to a
p
ply the update t
o
t
arget modules
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim A
b
bo
t
t
Patc
h
the
bug line number fi
e
l
d
s
o
f otherwise
unchanged
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
i
m Abbott
A
dd a
k
splice patch t
y
p
e field
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add suppo
r
t
for mapp
i
ng data sections wr
i
te
a
b
l
e
for
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
i
m
A
b
b
ott
Remov
e
the symbol f
i
eld from struct kspli
c
e_patch
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
i
m Abbo
t
t
Use a
kspl
i
ce_re
l
o
c
f
o
r
the
o
ldaddr field of ksplice_patches
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abb
o
tt
R
epl
a
ce __DATE__ and __TIME__ in the final code w
i
th
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abb
o
tt
Rem
o
ve relocatio
n
s
to the string in bug t
a
ble entries
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbo
t
t
Fill in
t
he m
a
tc
h
_map
w
hen the run a
n
d pre instr
u
c
t
ions
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Run
-
pre
match the ex
c
ept
i
on tab
l
e
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Run-pre mat
c
h th
e
bu
g
table
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
H
andle
relocations
i
n
to
th
e
m
i
d
dle
of text sections
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
i
m
A
bbott
Split the addend field in
t
o the instructi
o
n and target
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abb
o
tt
Ne
v
er remove
r
elocations in spans that are bein
g
deleted
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Ab
b
ot
t
S
a
ve the match_map in the
k
splice_section struc
t
ure
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
im Abbo
t
t
Add support for relocatio
n
s of size
0 in the
k
e
r
n
el
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbo
t
t
Add get_table_se
c
tion
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Ad
d
run-pre matching
of __DATE__ and
_
_TIM
E
_
_
u
s
i
ng
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
Ab
b
ott
Add
a
pply_howto_r
e
lo
c
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add handle_h
o
wto_reloc
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
i
m Abbott
Add ksp
l
ice_reloc_howto st
r
u
cture
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
Abbot
t
Only
d
e
lete symbo
l
s that need
t
o be delete
d
in
f
ilter_s
y
mbols
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim A
b
bott
S
e
t the ke
e
p
b
i
t
s on ke
p
t
spans
i
n rms
y
m
s
and fin
a
lize
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
i
m Ab
b
ott
Don
'
t
creat
e
spans with size 0 when split
t
ing
t
able
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbo
t
t
Mat
c
h
strin
g
s only via handl
e
_re
l
oc checks
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
im
A
bbott
Remembe
r
whi
c
h sec
t
io
n
s w
e
re mat
c
hed in the first match_pack
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Recursively match strings
w
hen
matchin
g
a secti
o
n th
a
t
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Delete ksplice structure
s
for
e
xit sec
t
ions in the
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
A
bbott
Incl
u
de original sect
i
on names in the
n
ames of various
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Ti
m
Abbott
Rewrite
ins
p
ect with le
s
s code dupli
c
ati
o
n
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add an option to include
a
description
a
long with a
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-05
Tim Abbott
R
e
move the
p
atch
file in /var/
r
un aft
e
r undoing an
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-05
Tim Abbott
Don't gener
a
te
u
nnecessary
e
xport_desc structures
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-05
Ti
m
Abb
o
tt
Dele
t
e
o
bsole
t
e rel
o
cation
s
b
efore r
e
m
o
v
ing unkept
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-05
Tim A
b
bott
Fix t
h
e
decodin
g
o
f
lvals fo
r
mem
o
ry ope
r
ands
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-05
Tim Abbott
Fix
m
emory
leak
on fai
l
ure in
apply_u
p
date
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-27
T
i
m
Abbott
F
i
x of
f
-b
y
-one error in reloc_bsearch_
c
ompare
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-26
Tim Abbot
t
Fix typo i
n
is_nop'
s
check for MOV
i
nst
r
u
ctions
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-26
Tim Abbott
Prepare
tramp
o
l
i
nes b
e
fo
r
e check
i
ng their size
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-23
Tim Abbott
Add a simple ke
e
p_sp
a
n helper function
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-23
T
i
m
Abbott
Only
s
et
ss-
>
keep if some
sp
a
n inside the su
p
ers
e
ct
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Keep se
c
t
ions referenc
e
d by sp
e
cial
section
in primary
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim
A
b
bott
Remo
v
e the (non-temp) la
b
elval
s
list
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Ti
m
Abbott
Us
e
a
ksplic
e
_symbo
l
structure in s
t
ruct kspl
i
ce_patch
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Ti
m
Abbott
Use
the helpe
r
s
y
m
bo
l
's name field (if
a
vailable) in
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbo
t
t
Neve
r
a
d
d
a
de
p
endency on another primary module in
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
T
i
m Abb
o
tt
Remove the
label field of struc
t
labelval
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Clean
up superbf
d
initial
i
zation co
d
e
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Add supp
o
rt for
patching compilation units co
n
taini
n
g
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim
Abb
o
tt
Split table
se
c
tions into s
p
ans at init
i
aliza
t
i
on ti
m
e
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
C
h
eck that the s
p
ans for a relocation
'
s target and
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
U
se spans in the
p
rimary floodfill
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim
A
bbott
Add a new
f
in
d
_span
function
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Ne
v
er de
l
ete section symbols wh
e
n deleting symb
o
ls
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim A
b
bott
Clean up match_
s
ect
i
ons_by_lab
e
l/match_sections_
b
y_na
m
e
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbo
t
t
Check
t
h
a
t spans containi
n
g global symbols are never
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim
Abbo
t
t
Check tha
t
t
he non-d
s
t_
m
ask
p
a
r
ts of
r
elocations match
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim
A
b
b
ott
C
ompare r
e
l
o
cation howto types in r
e
l
ocs_
e
qual
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Ignore re
l
ocations fr
o
m a data
s
ect
i
o
n
to its
e
lf
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Set ret to
0
on
s
uccess pat
h
o
ut of i
n
it_ksplice_pack
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
T
i
m Abbott
Add support for
p
a
tching kernels whose te
x
t is map
p
ed
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Don't gen
e
rate empty System
.
map arr
a
y e
n
tries
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
P
lace temp
l
abelvals in
t
he
i
r own list
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
A
c
cess
l
abelvals by pointer, ra
t
her than by
s
earc
h
ing
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Su
p
press dupl
i
cate ksplice_symbol s
t
r
u
cture
s
across
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Only write sys
t
em_map arr
a
ys whe
n
adds
t
r_sect
i
s ""
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Use a binary sea
r
c
h to
speed up b
u
lk ka
l
lsyms lookups
.
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Use
a bin
a
r
y
s
earch to speed up
b
ulk exported symbo
l
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbo
t
t
Add support fo
r
ru
n
-pre matching CONFIG
_
DYNAMIC
_
FTRACE
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Use
U
D_VENDOR_A
N
Y in
x
86
run-pr
e
matchin
g
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abb
o
tt
R
epl
a
ce mat
c
h_
n
op
w
ith a faster ud
i
s86 implementat
i
on
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abb
o
tt
Use a binary search
to
f
i
nd Syste
m
.
map entries
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
T
i
m Abb
o
tt
U
s
e
a finge
r
to av
o
id unnecess
a
ry bina
r
y searches for
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Us
e
a
b
inary search in lookup_reloc
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Add a g
e
neric bin
a
ry s
e
arch implementation
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
A
v
oid
scanning through a
l
l reloca
t
i
o
ns in write
_
reloc
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Ti
m
Abbott
Avoid scanning symbols to comput
e
canonical symbols
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim
A
bbott
Use
a ha
s
h
table
to
s
tore th
e
call
e
r search
results
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim
Abbott
Use a ha
s
h
table for th
e
l
abel map label uniquificatio
n
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
next