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
Mark the x86_cpu_dev.init section as ignored.
2008-11-08
Tim Abbott
Add support for specif
y
ing a section to be tr
e
ated
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Pri
n
t "unknow
n
" when an update
'
s
abort
_
ca
u
s
e
line is
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
A
b
bott
A
d
d
ksp
l
ice-patch
.
h
,
defining
macros
for decl
a
ring
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbo
t
t
A
d
d
.
ksplice
_
ca
l
l
* support
to objmanip and inspe
c
t
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Use preprocess
o
r macro
s
in the p
r
imar
y
Ksplice linker
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abb
o
tt
Fol
l
ow
t
rampol
i
n
es
i
n the st
a
ck_
c
heck
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Ab
b
o
t
t
Re
m
ove first
_
byte_safe
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Pa
t
ch
.
rodat
a
sect
i
ons
whose size hasn
'
t changed in
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Ab
b
ott
A
dd su
p
po
r
t
for
a
rbitr
a
ry siz
e
contents in the ksplice_patch
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
A
bbott
Rename the trampoline field of struc
t
ks
p
li
c
e_p
a
tch
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Give reasonable lab
e
ls to s
t
atic
l
o
c
al symbo
l
s with
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
A
b
bott
A
dd s
u
pp
o
rt for C
.
1
2
3
.
12345 symbols
i
n s
t
atic_local_symbol
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
A
dd
a
n o
p
tion to apply
t
h
e
update t
o
target mo
d
ules
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
im
A
bb
o
tt
Pat
c
h the
b
ug line
n
u
mber fields of otherwise unchanged
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
Abbott
A
dd a kspl
i
c
e
patch type field
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add supp
o
rt fo
r
m
a
pping data sec
t
io
n
s
w
riteable
for
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
R
e
m
ove
t
he sy
m
b
ol fi
e
ld from struct ksp
l
ice
_
patch
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
A
bbot
t
Use a ksplice_
r
eloc for the
o
l
d
a
d
dr field of k
s
plice_patches
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
R
eplace __DATE__ a
n
d
_
_TIME__ i
n
t
he final cod
e
with
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Ti
m
Abbott
Remove relocat
i
ons to the string in bug table entries
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbot
t
Fil
l
in the match_map when the
r
un an
d
pre instruc
t
ion
s
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.
commit
|
commitdiff
|
tree
2008-11-08
Tim
A
b
b
ott
Run-pre mat
c
h
t
he excep
t
io
n
table
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
Abbott
Run-pre match the bug table
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Ab
b
o
t
t
Handle r
e
locati
o
ns into the middle of t
e
xt secti
o
ns
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
S
p
l
i
t the
a
ddend field
i
nto the instructi
o
n and target
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Never remove
r
e
l
oc
a
tio
n
s
i
n
sp
a
n
s that a
r
e
being
d
eleted
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Save t
h
e
match_map in the
k
sp
l
ice_se
c
tion
s
tructure
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add supp
o
rt
f
o
r relocati
o
ns of size 0 in the kernel
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add g
e
t_table_secti
o
n
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Add run-pr
e
m
a
t
c
hing of __D
A
T
E
__ and __
T
IME
_
_ using
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
im A
b
bott
Add apply_howto
_
relo
c
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
Abbott
A
d
d handl
e
_howto_reloc
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim
A
b
bot
t
Add kspli
c
e_
r
eloc_howto
s
truc
t
ure
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
T
i
m Abbott
Only d
e
l
ete s
y
m
b
ols tha
t
need to be de
l
eted in filt
e
r_symbols
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
S
et
t
he keep bits on ke
p
t span
s
i
n
rmsyms and finaliz
e
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
D
on't create spans with s
i
ze 0 when splitting t
a
ble
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Ab
b
ott
Match strin
g
s only via handle_reloc checks
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Ti
m
Abbott
Rem
e
m
ber wh
i
ch s
e
ctions were matched in the first
m
a
tch_pack
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Recursive
l
y m
a
t
ch st
r
ings when matc
h
i
n
g
a
section that
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbot
t
Delete ksplice structure
s
f
o
r
e
xit sections in the
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Includ
e
origi
n
al
section n
a
m
e
s in the names
o
f various
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Tim Abbott
Rewrite inspect wi
t
h le
s
s
c
ode dupli
c
ation
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-08
Ti
m
Abbott
A
d
d
an option
t
o include
a description al
o
ng with a
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-05
T
i
m Ab
b
o
t
t
Remove the pa
t
ch file in /var/r
u
n after un
d
o
i
ng an
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-05
T
i
m
Abbott
Do
n
't
g
e
nerate unnecessary
e
xport_
d
esc stru
c
tures
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-05
Tim
A
bbott
De
l
ete ob
s
olete relocations before removing
unkept
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-05
Tim Abbott
Fix the decodin
g
o
f l
v
als for memory operands
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-11-05
Tim Abb
o
tt
Fix
m
em
o
ry leak on f
a
ilure in
apply_update
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-27
Tim Abbott
Fix off-by-one erro
r
in reloc_bsear
c
h
_com
p
are
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-26
Tim
A
b
bott
Fix typo in i
s
_
n
op
'
s c
h
eck
f
or MOV ins
t
r
uctions
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-26
Tim Abbott
Prepa
r
e t
r
ampoli
n
es bef
o
re checking
th
e
i
r
si
z
e
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-23
T
i
m Ab
b
ott
Add a simple keep_span
h
elper function
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-23
Tim Ab
b
ott
Onl
y
set
s
s-
>
keep if s
o
me
s
p
a
n i
n
side
the
s
upersect
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Keep sect
i
ons ref
e
re
n
ced by special section
i
n primary
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
T
im Abbott
Remove the (n
o
n
-temp) label
v
als li
s
t
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim A
b
bott
Use a ks
p
lice_symbol
s
tructure in stru
c
t ks
p
lic
e
_pa
t
ch
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Use t
h
e helper
s
y
mbol's name field (if avai
l
ab
l
e) in
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Never
a
dd a d
e
pendency on another prim
a
ry module in
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbo
t
t
Remov
e
t
h
e labe
l
field of struct labelval
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim
A
bbott
Clean
u
p su
p
e
rbf
d
initialization co
d
e
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abb
o
tt
A
d
d support for patch
i
ng
c
o
mpilatio
n
units co
n
ta
i
ni
n
g
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abb
o
tt
Split table
secti
o
ns in
t
o spans
at initialization
time
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Check that the spa
n
s for
a
r
elocation's targe
t
and
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Use spans
in
the p
r
imar
y
floodfill
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
A
dd a ne
w
f
i
nd_span
function
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Never delete sec
t
i
on symb
o
ls when d
e
leting symbols
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
T
im Abbott
Clea
n
up ma
t
ch_sections_by_lab
e
l/m
a
tc
h
_
sections_by_name
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
T
im A
b
bott
Check that s
p
ans containing global sy
m
bols
are ne
v
er
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Ab
b
ott
Check that the no
n
-d
s
t_mask parts of
relocations match
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Ab
b
ott
C
o
mpare re
l
oc
a
t
i
on how
t
o types i
n
reloc
s
_equ
a
l
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Ign
o
re reloc
a
t
i
ons from a data section to i
t
self
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim
A
bbott
Se
t
ret to 0 o
n
success
path out
o
f init
_
ks
p
lice
_
pack
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Add support for pa
t
c
hing kernels whose text
i
s
m
apped
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Don't generate em
p
ty S
y
stem
.
m
ap a
r
ray entries
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim A
b
bott
Place t
e
mp labelv
a
l
s in the
i
r
own
list
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbo
t
t
Access labelval
s
by poin
t
e
r
, rather tha
n
by searching
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
T
i
m Abbott
Suppres
s
duplicate
k
s
plice_symbol structures
across
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Ti
m
Abbott
Only write system_map arrays wh
e
n
addstr_se
c
t is ""
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abb
o
tt
Use a binary sear
c
h to speed up bulk kallsyms
lookups
.
commit
|
commitdiff
|
tree
2008-10-17
T
i
m
Abbo
t
t
Use a
b
inary sear
c
h
to speed up bulk exp
o
r
t
ed symbol
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbo
t
t
Add sup
p
ort for ru
n
-p
r
e matching CONF
I
G_D
Y
NAMIC_FTRACE
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim
A
bbott
U
se UD_VENDOR_ANY in
x
86 run-pre matching
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Replace match_nop with a faster udis86 implem
e
ntation
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim A
b
bott
Us
e
a bin
a
ry
se
a
rch to f
i
nd
S
yst
e
m
.
map entries
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Use a finger to avoid unnecessary b
i
nary searches for
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim
A
bbott
Use a b
i
n
a
ry s
e
arch in lookup_r
e
loc
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Add a ge
n
eric binary search imp
l
e
m
entat
i
o
n
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
T
im
Abbott
A
void scanni
n
g through all rel
o
cations in write_r
e
loc
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim
Abbott
Avoid
sc
a
nning symbols to compute canonical symbo
l
s
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abb
o
tt
Use
a
hash
t
able to sto
r
e the caller search res
u
lts
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Use a
h
ash table for the
l
a
bel map lab
e
l
uniquif
i
cat
i
on
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
T
i
m Abbott
Us
e
a hash to a
v
o
i
d duplic
a
te
c
anonica
l
symbo
l
entri
e
s
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim A
b
bo
t
t
Us
e
a hash to c
a
che t
h
e
c
anon
i
cal symbols
of (section
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Use a hash lookup i
n
label_lookup
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Use a ha
s
h of relocation
a
ddre
s
ses to speed
up read
_
rel
o
c
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
F
ix
h
a
sh type API's sup
p
o
rt for
d
eclarin
g
hash t
y
pes
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
Never call sy
m
bol_lab
e
l from
l
abel_lookup
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Tim Abbott
R
emove
u
nnecessa
r
y arguments f
r
om wr
i
te_ksplice_section
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
Ti
m
A
bbott
Use a super
s
ect, not an asection, in the
e
xp
o
rt str
u
ctures
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-17
T
i
m Abbo
t
t
Initi
a
lize the symbol field
o
f
stru
c
t supers
e
ct to
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
next