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
Fix potential use of ed while unitialized.
2008-10-15
Tim Abbott
Fix pote
n
tial use of ed while unitiali
z
ed
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-10-15
Tim Abbott
Avo
i
d fre
e
i
n
g
the
l
abel field
o
f sa
f
et
y
rec
o
r
d
s
w
hen
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-27
Ti
m
A
b
b
ott
K
s
plice 0
.
9
.
1
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-27
T
i
m Abbo
t
t
Move label_map initialization code into objm
a
nip
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-27
Tim A
b
bott
Remove undefined relocations f
r
om special s
e
ct
i
ons
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-27
Tim Abbo
t
t
Die if objmanip encounters a
s
e
c
tio
n
that it cannot
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-27
Tim Abbott
Ad
d
support for
.
kernel
.
s
ections (for -ffunction-sections
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-27
Tim Ab
b
ot
t
Warn about chan
g
es to ignored non-debugging
s
e
ction
s
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-27
Tim
Abbott
U
se SS_TYPE
_
D
A
TA for BSS sections an
d
data sectio
n
s
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-27
Tim Abbott
Add re
c
o
g
nition fo
r
hotplug init/exi
t
sections
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-27
Tim Abbott
Move
s
uperse
c
t t
y
pe computation code into objmanip
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-27
Ti
m
Abbott
Treat
.
ARM
.
sectio
n
s
as spec
i
al secti
o
ns
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim Abb
o
tt
Replace all se
c
tion type f
u
n
c
t
i
o
n
s with an enum in
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim A
b
bott
Die
when
fetch_supersect is called on c
o
nst s
e
ctions
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbo
t
t
Don't
c
all fetch_supe
r
s
e
ct
on c
o
nst section
s
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbo
t
t
F
i
x data_ss l
o
gic in
r
ead_pointer
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbott
Sim
p
lify fil
t
er_
t
able
_
sect
i
on
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Ti
m
Abbott
Replace want_sect
i
o
n with a flag in the superse
c
t
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim
Abbott
R
e
place
t
he ch
s
ects
li
s
t with a flag in the sup
e
rsec
t
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim A
b
bot
t
Replace
the news
e
cts
l
ist with
a
flag in the su
p
ersect
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbott
Move i
s
_special fro
m
ob
j
common into objman
i
p
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbott
Use th
e
s
t
an
d
ard __str
i
ngify macro, rathe
r
than STR
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbott
Die if
a
data
o
r
bss se
c
tion is supp
o
sed to be changed
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbo
t
t
When
c
o
m
paring contents, don't co
m
pare storag
e
units
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim
A
bbott
Add debugging code to
o
bjmanip
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
T
i
m Abbott
Add
m
issing check
s
for being t
h
e
p
rima
r
y module
w
h
e
n
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbott
Replace
the mark_w
a
nt
e
d_if
_
referenced whitelist with
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim Ab
b
ott
Handle moving functi
o
n
s betw
e
en
c
om
p
ilation units
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbott
Split primary and help
e
r wr
i
te
_
k
s
plice_section lo
o
ps
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbot
t
Replace the objmanip keep-pri
m
ary diff/floodfill algori
t
hm
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
Centralize objmanip debugging outp
u
t
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
T
im Abbott
Cleanup
w
rite_ksplice_sectio
n
loop
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim Abb
o
tt
U
s
e matchable_
t
ext_secti
o
n
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
Add a matchable_text
_
section helper fu
n
c
t
i
o
n
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
Pass a sup
e
rbfd to want_sec
t
ion
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim
Abbott
R
e
n
ame neede
d
_data_sec
t
i
on to matchable_data_
s
ection
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
Clean up
e
x
p
o
rt
_
desc
han
d
ling co
d
e
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim
A
bbott
Clean up the wri
t
e_ksplice_patch loop
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbo
t
t
U
pdate the list of changed
t
e
x
t
secti
o
ns in the wanted
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbot
t
Rename the list
of changed sec
t
ion names
f
rom
se
c
t
i
ons
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim
A
b
bot
t
Re
m
ove now-unused lab
e
l_m
a
p parsing code
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
T
im Abbott
R
emo
v
e struc
t
ksplice_trampol
i
ne
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbot
t
Remove
p
rune_tram
p
o
l
i
n
e_vals hack
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim
A
b
bo
t
t
R
e
m
ove rever
s
e
t
r
a
mpoli
n
es
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
T
i
m Abbo
t
t
Use trampoline re
p
la
d
drs, not
t
r
a
mpoline oldaddrs,
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
P
ass a
k
splice_pack to add_can
d
idate_
v
al
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim
A
bbott
S
uppress d
u
plicate s
t
r
i
ngs written
t
o
t
he
.
ksplice_str
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
T
i
m Abbot
t
Suppr
e
ss duplica
t
e
ksplice_symbol structures
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim
Ab
b
ott
H
a
n
dle
som
e
cases
o
f moving g
l
obal fun
c
tions between
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim Abb
o
tt
Si
m
plify filter_sym
b
ol
s
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
Only
EXPORT_SYMBOL_
G
PL ini
t
_k
s
pl
i
ce_pack
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim
A
bbott
Keep th
e
s
y
m
bols used
i
n new_relocs as wel
l
as r
e
locs
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
Use prin
t
_label_map to pass t
h
e label_map from objdi
f
f
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
T
i
m Ab
b
ott
Add symb
o
ls in const se
c
tio
n
s to the label maps
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-13
Tim Abbott
Impr
o
ve the test for
w
h
en the core kern
e
l
text is mapp
e
d
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-13
Tim A
b
bott
Ab
o
rt
if the co
r
e ke
r
nel text is m
a
p
ped
read-only
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-13
Tim Abbott
printk a me
s
sage when a Ksplice
update
i
s
successfully
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-13
Tim Abbot
t
Allo
c
ate safety_rec
o
rds for the prim
a
ry pa
c
ks b
e
fore
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-13
T
im
A
bbott
Don
'
t re
m
ove rel
o
cations to d
e
fi
n
ed sy
m
b
o
l
s in rmsyms
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Rename activat
e
_pack to prepare_pack
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Clean
u
p installatio
n
of kmodsr
c
f
il
e
s
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbott
Rename struct reloc_nameval to struct labelval
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
Rename ksplice_sectio
n
's thismod
_
addr fiel
d
to address
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
ott
Cha
n
g
e
0xE9
to 0xe9
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
b
o
tt
R
e
move
d
ebug
level
s
from the perl utili
t
ies
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
bott
F
ix tri
v
ial checkpatc
h
errors
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
o
t
t
Remove unused ends_with
f
unc
t
ion
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbott
Use patc
h
e
s
_m
o
d
ule i
n
brute_search
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
bott
Ret
u
rn NO_MA
T
CH when f
a
ili
n
g t
o
finaliz
e
a pack
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Improve some co
m
ments
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Co
m
bine tw
o
adjacent ksdebug state
m
e
nts
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbot
t
Remov
e
goto from check_e
a
c
h
_task in integrated Ksplice
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
A
b
bott
Improve _
_
k
splice_deleted message
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Move patch
e
s_m
o
dul
e
p
r
o
t
otype to a more r
e
asonable
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Move ksplice_kob
j
def
i
n
ition next to ks
p
lice_module_li
s
t
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Move clear_list aft
e
r proto
t
y
p
es
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim
Abbott
Move
singul
a
r
d
e
f
i
nition near ends_with
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbo
t
t
Ren
a
m
e init_
k
splice_module to i
n
it_ksplice_
p
a
ck
(and
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Remove
unused
l
i
s
t o
f
reloc_addrmaps
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Add a depe
n
denc
y
on t
h
e target module aft
e
r c
o
m
pu
t
ing
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Use poin
t
ers ra
t
h
er
t
han unsigned longs
in run-p
r
e
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
T
i
m
Abbott
Replace the %"
AD
D
R
"
with %lx
for printing add
r
ess
e
s
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
bo
t
t
A
d
d suppo
r
t for recursive Ksplic
e
upda
t
es add
i
ng
n
e
w
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Use create_safety_r
e
cord in a
p
ply_pa
t
ches
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Inst
a
ll reverse
trampol
i
n
es
over
t
he replad
d
r
o
f the
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
A
b
b
o
tt
P
atch functions w
h
i
ch are jump
e
d
into fr
o
m oth
e
r
sectio
n
s
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
T
im A
b
bo
t
t
Clean up
p
rototy
p
es for init_debug_buf and clea
r
_
debug_buf
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim
Ab
b
ott
Rename c
r
eate_trampoline to prepare_trampoline
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Renam
e
struct expo
r
t iterator varia
b
les fro
m
ex
p
ort
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Fold
a
dd
_
p
a
tch_depe
n
dencies
i
n
to
fi
n
aliz
e
_patc
h
es
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
R
en
a
me
p
ro
c
ess_p
a
tches to final
i
ze_patche
s
, and pr
o
cess_ex
p
o
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
ott
Rearrang
e
and comment the proto
t
ypes in
k
splic
e
.
c
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
T
i
m
Abbott
R
e
name activate
_
helper to
match_pack_sections
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Renam
e
a
c
ti
v
a
te_prim
a
r
y
to
f
inalize_pa
c
k
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
Ren
a
me s
e
a
r
ch_for_match to find_
s
ection
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
R
ename compu
t
e_address to look
u
p_symbol
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Rename struct ksplic
e
_size
t
o struc
t
ks
p
lice_
s
ectio
n
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Remove unnecessary check for
ksplice
modu
l
es in
a
dd_dependen
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Ad
d
debu
g
ging print statements for vario
u
s un
e
xpected
.
.
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
M
ake struct conflic
t
_addr's has_conflict a bool
.
Signed-off-by:
Tim Abbott
<tabbott@mit.edu>
commit
|
commitdiff
|
tree
next