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
Delete unused parts of .altinstr_replacement sections.
2008-09-26
An
d
e
r
s
K
a
se
o
r
g
Del
e
te unused parts of
.
altinstr_replacement sections
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-26
And
e
rs Kaseorg
Obtain
t
abl
e
sect
i
on informat
i
on from
th
e
kernel
h
e
aders
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Anders Kaseorg
Ma
k
e kmodsrc
b
u
ild flags a variable in
ksplice-crea
t
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Anders Kaseorg
Make $tmpdir
/
kmod
s
rc a va
r
ia
b
l
e in ksplice-create
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Anders Kaseorg
Don'
t
make a tmpdir w
h
e
n
onl
y
p
rebui
l
din
g
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Anders Kaseorg
Only che
c
k for used
r
equir
e
d variables in
km
o
d
s
rc/Makefile
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
Anders Kase
o
r
g
Us
e
the filter_e
x
_ta
b
l
e
_
section logic for all
t
able
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
And
e
r
s Kaseorg
Merge
o
bjdiff
into objman
i
p
k
ee
p
-primary
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-25
An
d
ers Kas
e
org
Fix
e
x
_offse
t
c
alculat
i
on in filter_ex_t
a
ble
_
section
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-13
An
d
ers Ka
s
eorg
Tain
t
the ker
n
el
u
p
o
n
a
pplicatio
n
of
any Ksplice update
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
ers Kaseorg
Verify that trampolines a
r
e still
present before
r
emov
i
ng
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Re
n
ame ksplice_kalls
y
ms_expand_symbol to kallsyms_exp
a
nd_s
y
mbol
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Move the
s
y
sfs code to
the e
n
d
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nde
r
s Kaseorg
M
o
ve ks
p
li
c
e_
d
e
l
eted
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Move
__module_da
t
a
_
a
ddre
s
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Move find_sym
b
ol
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Mov
e
u
se_mo
d
ule
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs Kase
o
rg
Move find_
m
odule
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nde
r
s Kaseorg
Move kallsyms_on_each_symbol through module_kallsy
m
s_on
_
each
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
aseorg
Swap
i
n
i
t_debug_buf wi
t
h clear_debug_buf
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseo
r
g
Move
p
a
t
ch
e
s
_
modu
l
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Move follow_trampolines
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move add_candidate_val, pr
u
ne
_
tra
m
poli
n
e_vals,
and
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Mov
e
crea
t
e_safety_reco
r
d
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Move insert_trampoli
n
e and r
e
move_t
r
ampoline
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
M
ove apply_patches thr
o
ug
h
print_c
o
nflicts
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
Ka
s
eor
g
S
wap exported
_
symbol_l
o
okup with new_expo
r
t_lookup
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Mov
e
lookup_sy
m
bol_kallsyms an
d
accumul
a
te_mat
c
h
i
ng
_
names
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move add
_
system_map_candidate
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move lookup_reloc
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move brute_s
e
arch and brut
e
_search_all
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Proto
t
ype brute_search
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Move
p
ri
n
t_bytes
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
Kaseor
g
Move try_addr
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
M
o
ve read_reloc
_
v
a
l
u
e
a
n
d write_re
l
oc
_
value
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
Kaseorg
Move a
p
ply_relo
c
s a
n
d apply_rel
o
c
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kas
e
org
Move add_d
e
penden
c
y_on_address
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Move
finalize_pa
t
c
hes
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseo
r
g
Move finalize_ex
p
o
r
ts
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Move fina
l
ize_pack
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseo
r
g
Reo
r
der init_ks
p
lice_update, cleanup_ksplic
e
_
u
pdate
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Use a
n
updated kallsyms API, kallsyms_on
_
each_sy
m
b
o
l
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Rename other_
m
odule_lookup to
l
ookup_symbol_kallsyms
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Don't look u
p
l
o
cal kernel s
y
mbols unl
e
ss we're
pa
t
ching
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Use kernel_kallsyms_o
n
_
e
ach_symbol in KSPLICE_STANDALONE
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Ka
s
e
o
rg
Define 0x77777777 as a constant KS
P
LICE_CANARY
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers
K
a
se
o
rg
Imple
m
ent
a
rm trampolines with re
a
d_reloc_value and
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Im
p
lement x86 tram
p
ol
i
n
e
s with
r
ead_reloc
_
val
u
e and
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Pas
s
a pack to t
r
ampo
l
in
e
_
t
arget, and
m
ake it return
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders K
a
seorg
Pa
s
s a pack
to prepa
r
e
_trampo
l
ine
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Add an addr p
a
rameter to write_
r
e
l
oc_value
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Move pc
r
el handl
i
ng o
u
t o
f
read_reloc_value and write_reloc_
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
M
ake the s
t
age
n
e
w
line
o
p
tion
a
l
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Support --on
l
y-targets opt
i
o
n in kspl
i
c
e
-
c
re
a
t
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers
Kaseorg
Use --extr
a
-
ma
t
ch to
f
ilte
r
the existing l
i
st
o
f object
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kas
e
org
Remove
.
KSPL
I
CE_prim
a
ry
a
nd
.
KSPLICE_helper f
i
l
es in
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseor
g
Fil
t
e
r
t
h
e
.
fixup sectio
n
according to
__ex_tabl
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
K
a
s
eo
r
g
Add a
m
is
s
i
n
g
s
p
ace
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
as
e
org
Use boo
l
typ
e
s in o
b
jutils
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
U
s
e bool t
y
pes in
t
he ksplice modu
l
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
D
o
n't
use modu
l
e
_
mutex whe
n
!bootstrapp
e
d
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Check for re
l
o
c
a
t
ion
o
verflo
w
s in write_reloc
_
value
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Disa
b
le virtual_
a
ddress_mapped when
!bootstrapped
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Cl
e
an up
r
elocation h
a
n
d
l
ing
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
lo
o
k
up_address is no longer used
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Use kasprintf
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Us
e
st
r
i
ct
_
strtoul instead of
s
i
mple_strtou
l
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Use read_str_set
for rmsyms
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Avo
i
d shell
w
o
r
ds() with no arguments,
w
hich break
s
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
S
uppor
t
run-pre mat
c
hin
g
of
extra comp
i
lation units
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Add kspl
i
c
e-objs function to c
o
mpute
.
KSP
L
ICE names
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Make ksplice-obj
.
pl fail on bad input
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Factor out common %
.
mod
.
K
S
PLI
C
E
target in Makefile
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Include alternative
.
h
(if KSP
L
ICE_NEED_PARAINSTRU
C
TIONS
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kase
o
rg
Don't pas
s
kid to
o
bj
m
ani
p
keep-
h
elper
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Don't
s
end
o
bjdiff output to
objman
i
p kee
p
-helper
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Rem
o
ve
KSPLICE_
S
I
Z
E_DELETED flag
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Install
trampoli
n
es to ksplice_deleted at deleted functions
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nde
r
s
K
a
seo
r
g
Compute p-
>
olda
d
dr from p->label
i
nste
a
d o
f
a
ksplice_relo
c
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Create trampol
i
nes out
s
ide
stop_mac
h
ine
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s
K
aseorg
Handle the ex
c
e
p
t
i
o
n tabl
e
as
a
special sect
i
on
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Only return new and deleted
.
text
sectio
n
s from objdiff
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Don't requi
r
e a trailing
p
e
r
iod on
.
rodata an
d
.
data
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
Kas
e
org
Use make -rR for
a smal
l
pe
r
formance improvement on
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Avoid space characters in labels
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Pa
s
s
a
n input and o
u
tput to objmanip instead of modify
i
ng
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Stor
e
a label instead of a symbol
i
n
s
truct ks
p
lice_pat
c
h
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Move label comp
u
t
a
tion into a helper function symbol_label
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eor
g
Remove addstr_al
l
variable
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add ca
n
on
i
cal_symbol helper f
u
nction
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
ase
o
rg
Chec
k
that
the patch address equals the sa
f
et
y
recor
d
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers K
a
seorg
sl
e
ep(1)
after
prebuild to w
o
rk ar
o
und
low-res
t
i
me
s
t
a
mps
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Acc
o
unt fo
r
the use_rel
a
_
p
hack w
h
en writing ARM
r
elocati
o
ns
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
rs Kase
o
rg
Add error messages for exi
t
status handling
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
or
g
Use
$
(LD) as the li
n
ker
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Fix bool for backported R
e
d Hat ker
n
els
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s Ka
s
eorg
Set pack->target_name
t
o "vmlinux" if th
e
targe
t
is
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseor
g
Add bool typed
e
f for older kernels
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Look up all
n
on-debug
g
ing sy
m
bols in the sa
m
e
s
ection
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseor
g
Com
p
ute addstr implicitly from the object filena
m
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
next