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
Never write a section symbol into the ksplice_symbol name.
2008-09-26
A
n
d
e
rs Kaseorg
Nev
e
r write a sect
i
on symbol into the k
s
p
lice_symbol
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Anders Kas
e
or
g
Don't try t
o
lookup a NULL s
y
mbol name
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbott
Die when fe
t
ch_super
s
ect
is ca
l
led on const sections
.
commit
|
commitdiff
|
tree
2008-09-26
Tim
A
bbot
t
Don't call f
e
tch_supersect on const sections
.
commit
|
commitdiff
|
tree
2008-09-26
T
i
m Abbott
F
i
x
d
a
t
a_ss
logic in read_po
i
nter
.
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbott
S
implify filter_table_section
.
commit
|
commitdiff
|
tree
2008-09-26
Anders Kaseorg
A
ssert that we don't
keep
a
sym
b
ol i
n
a d
e
leted se
c
t
i
on
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim
A
bbott
Replace w
a
nt_sectio
n
with a flag in t
h
e
s
u
persect
.
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbott
Replace the chsects list wi
t
h
a
flag i
n
the
su
p
ersect
.
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbot
t
Replace the newse
c
ts list with
a flag in the supersect
.
commit
|
commitdiff
|
tree
2008-09-26
Tim Abb
o
tt
Move is
_
sp
e
cia
l
from o
b
jco
m
m
o
n into objmanip
.
commit
|
commitdiff
|
tree
2008-09-26
Ander
s
Kaseorg
Split objmanip's
m
ain into four funct
i
ons (do_keep_pri
m
ary
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Anders Kase
o
rg
Make load_offs
e
ts a function
i
n objmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim
A
b
bott
Use the sta
n
dard
_
_s
t
ringify
m
acro, rather than STR
.
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbott
Die if
a data or bss section
i
s supposed
t
o
be changed
.
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbott
When comparing conte
n
ts, don't co
m
pare st
o
rage uni
t
s
.
.
.
commit
|
commitdiff
|
tree
2008-09-26
Tim
A
bbott
A
d
d d
e
bug
g
i
ng code to objmanip
.
commit
|
commitdiff
|
tree
2008-09-26
Ti
m
Abbott
Add mis
s
ing c
h
ecks for being the primary module
when
.
.
.
commit
|
commitdiff
|
tree
2008-09-26
T
i
m Abbott
Replace the mark_wanted_if_referenced whitelist with
.
.
.
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbott
Han
d
l
e
movin
g
functions between compilation units
.
commit
|
commitdiff
|
tree
2008-09-26
Tim Abbott
Split primary
a
nd helper write_ksplice_
s
ectio
n
lo
o
ps
.
commit
|
commitdiff
|
tree
2008-09-26
And
e
rs Kaseorg
Handle __b
u
g_table as a
t
ab
l
e
section
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Tim A
b
bott
R
eplac
e
the obj
m
ani
p
keep-primary diff/f
l
oo
d
fill algo
r
ithm
.
commit
|
commitdiff
|
tree
2008-09-26
Anders Kaseorg
Delete
u
nused
parts of
.
altinstr_r
e
place
m
ent secti
o
n
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
Anders Kaseorg
Obt
a
in t
a
ble section inf
o
r
m
a
t
i
o
n
from the
kernel headers
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
A
n
ders Ka
s
eorg
Make kmodsrc b
u
ild flags
a vari
a
b
le in ksplice
-
c
r
eat
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Anders K
a
seorg
Mak
e
$tmpdir/kmodsrc a
v
ariable i
n
ksplice-create
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Anders K
a
s
e
org
Don't make a t
m
pdi
r
when only prebuilding
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Ande
r
s Kaseorg
Only
c
heck
f
o
r used requir
e
d
variab
l
e
s
i
n
k
m
ods
r
c/M
a
k
efi
l
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
A
n
de
r
s
Kaseorg
Use the f
i
lter_ex_
t
able_secti
o
n logic for all
t
a
ble
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Ti
m
A
bbott
Centralize
o
bjmanip debu
g
ging ou
t
put
.
commit
|
commitdiff
|
tree
2008-09-25
Tim
A
bbo
t
t
Cleanup writ
e
_
kspl
i
ce_section loop
.
commit
|
commitdiff
|
tree
2008-09-25
Tim Ab
b
ott
Use matchable_text_sec
t
ion
.
commit
|
commitdiff
|
tree
2008-09-25
T
im Abbott
Add a
m
atchable_text_section helper
functi
o
n
.
commit
|
commitdiff
|
tree
2008-09-25
T
im A
b
b
ott
Pass a supe
r
b
f
d to want_sectio
n
.
commit
|
commitdiff
|
tree
2008-09-25
T
im
Abbott
Rename
n
e
eded_data_section to matchable_da
t
a_sec
t
i
on
.
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbo
t
t
C
l
e
a
n up export_desc handling code
.
commit
|
commitdiff
|
tree
2008-09-25
Ti
m
Ab
b
ot
t
Clean up
the writ
e
_ks
p
l
ice_
p
atch loop
.
commit
|
commitdiff
|
tree
2008-09-25
Tim
Abbott
Update the list of changed tex
t
sections in the wanted
.
.
.
commit
|
commitdiff
|
tree
2008-09-25
Tim
A
bbott
Re
n
ame the list of change
d
section names from s
e
ctions
.
.
.
commit
|
commitdiff
|
tree
2008-09-25
Tim A
b
bott
Remove now-unused label_m
a
p parsing code
.
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
Remove stru
c
t
k
s
plice_trampoline
.
commit
|
commitdiff
|
tree
2008-09-25
Tim
A
bbott
R
em
o
ve prune_trampoline_
v
als hack
.
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
Remove reverse
trampolines
.
commit
|
commitdiff
|
tree
2008-09-25
T
im Abb
o
tt
Use tra
m
poline
r
e
pl
a
ddrs
,
not
t
r
ampoline
oldad
d
rs
,
.
.
.
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
Pass a kspl
i
ce
_
pack to add_candidate_val
.
commit
|
commitdiff
|
tree
2008-09-25
T
i
m Abbott
Suppres
s
dupl
i
cate st
r
ings written to the
.
kspl
i
c
e_str
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
T
i
m Ab
b
o
t
t
Supp
r
ess
duplicate
ksplice_symbol structures
.
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
Handle
s
o
m
e cases of moving globa
l
fun
c
tion
s
bet
w
een
.
.
.
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
Simplify filter_symb
o
l
s
.
commit
|
commitdiff
|
tree
2008-09-25
Tim Abb
o
tt
Only EXPORT
_
SYMBOL_GPL in
i
t_ksplice_pack
.
commit
|
commitdiff
|
tree
2008-09-25
A
n
d
e
rs Kaseorg
M
e
rge objdiff into objmanip keep-primary
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
Keep the symbols used
i
n new_relocs
as well
a
s re
l
ocs
.
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbot
t
Use
p
r
int_label_ma
p
to
pass the label_map fro
m
ob
j
diff
.
.
.
commit
|
commitdiff
|
tree
2008-09-25
Tim Abbott
Add
s
ymbol
s
in const section
s
to th
e
label maps
.
commit
|
commitdiff
|
tree
2008-09-25
Ande
r
s K
a
s
e
o
rg
Fi
x
e
x_offset cal
c
ul
a
tion
in filter_ex
_
t
able_section
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-13
Ande
r
s Kaseorg
Taint
t
he kernel upon a
p
plication
of any K
s
plice update
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Verify t
h
at tramp
o
lin
e
s ar
e
still pres
e
n
t befo
r
e
r
em
o
v
i
n
g
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
J
e
ffre
y
B
r
ian Arnold
Cl
a
r
ify
priv
a
te fiel
d
s
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Change 0xE9 to 0xe
9
.
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
b
ott
Remove
debug levels from the pe
r
l
utilit
i
es
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Rename
k
splice_kallsyms_e
x
pand_symbol to
k
allsy
m
s_expand_s
y
mbol
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Move the sysfs code to
t
h
e end
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Ka
s
eorg
Move kspl
i
c
e
_dele
t
ed
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Move __mo
d
ule_data_a
d
dress
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Move
f
ind_symbol
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Move
u
se_modu
l
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move find_module
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseo
r
g
M
ov
e
k
allsyms_on_each_symb
o
l through mo
d
ule_k
a
l
l
sy
m
s_o
n
_e
a
ch
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
S
w
ap init_debug_buf with clear_debug
_
buf
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move patches_module
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Move follow_
t
rampo
l
in
e
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Move add_can
d
idate_val, prune_
t
rampoline_vals, and
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Move create_safety_
r
ec
o
r
d
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Move
i
ns
e
rt_
t
rampoline and remov
e
_trampoline
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kase
o
rg
Move appl
y
_patches th
r
ough
p
rint_confl
i
c
t
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Swap export
e
d_symbol_
l
ookup with ne
w
_
e
x
p
or
t
_lo
o
k
up
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nder
s
Kaseorg
Mov
e
lookup_symbol_ka
l
lsyms and accumulate_match
i
ng_
n
ames
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseo
r
g
M
o
ve
a
dd_system_map_
c
andida
t
es
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Move look
u
p_reloc
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s Kaseorg
Move b
r
u
t
e_search and br
u
te
_
search_all
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Prot
o
t
y
pe
b
rute_search
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Move pri
n
t_bytes
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseor
g
Move t
r
y_addr
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
seorg
Mov
e
read_reloc_value and
w
rite_reloc_value
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eor
g
Move apply_relocs and
a
p
p
l
y_re
l
oc
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Move a
d
d_
d
epen
d
ency_on
_
addr
e
ss
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders
K
aseorg
Move finalize_patches
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kase
o
rg
Move finalize_
e
xports
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move fi
n
alize_pack
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Reorde
r
init
_
ksplice_update, cl
e
anup_ksplice_update
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Use
an updated
kallsyms API, ka
l
lsyms_on_each_symbol
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Ka
s
eorg
Rena
m
e other_module_l
o
o
kup to
l
ook
u
p_s
y
mb
o
l_kallsyms
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
s
eorg
Don
'
t look up local kernel symbols un
l
ess we're patch
i
ng
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Use kernel_kallsyms_on_each_s
y
mbol in K
S
PLI
C
E_STANDAL
O
NE
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Define 0x77
7
77777 as a constant KSPLICE_CANARY
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kas
e
org
Implement arm tram
p
olines with read_
r
eloc_val
u
e and
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Implem
e
nt
x
86 tra
m
polines with read_relo
c
_value and
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseo
r
g
Pass a
p
ack
t
o tr
a
mpoline_target, and m
a
ke it return
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Pass a
pack t
o
pr
e
pare_t
r
ampoline
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
next