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
Move find_symbol.
2008-09-12
Ande
r
s
Kas
e
o
rg
M
ove fi
n
d
_
symbol
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Move
us
e
_
module
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Move f
i
nd_mod
u
le
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Ka
s
e
org
Move kallsym
s
_on_each
_
sy
m
bol through m
o
dule
_
k
allsyms_on_each
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Swap init_debug_buf with clear_debug_buf
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kas
e
org
Move patches
_
module
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Move fol
l
ow_
t
rampolines
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move
a
dd_c
a
ndidate_val, prune_
t
rampo
l
i
n
e_v
a
l
s
,
and
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Move
create_safety_record
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseo
r
g
Move insert_trampoline
a
nd remove_
t
rampoline
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Move apply_patches
t
h
rough
p
rint_confl
i
cts
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseor
g
Swap exported
_
symbol_loo
k
u
p with new_exp
o
r
t_lo
o
k
u
p
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move
l
ookup_symbol_kallsyms
and accumulate_
m
atchin
g
_
n
ames
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
M
o
ve add
_
system_ma
p
_candidates
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
or
g
M
o
ve lookup_reloc
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Move brute_se
a
rch and brute_search_a
l
l
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseo
r
g
Prototype brut
e
_sea
r
ch
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
der
s
Kaseorg
Mov
e
print
_
by
t
es
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s Kas
e
org
Move try_addr
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move
read_r
e
loc_value and write_reloc_value
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
M
ove apply_
r
e
l
ocs and apply_reloc
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Move a
d
d_dependency_on_address
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
a
seo
r
g
Move
f
inali
z
e_pa
t
c
hes
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kas
e
or
g
Move f
i
nalize_exports
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Move fi
n
alize_pack
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseo
r
g
Reorder init_ksplic
e
_
up
d
a
t
e, cleanup_ksplice_update
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
U
se
an
u
pdated
k
allsyms API
,
kallsyms_on_
e
ach_symbol
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Rename ot
h
er_m
o
dule_lookup to l
o
okup_symbol_kallsyms
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Don't look u
p
l
o
c
a
l
k
er
n
e
l
symbols unless we're patching
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Use
k
ernel
_
ka
l
lsyms_on_e
a
ch_symbol
in KSPLICE_
S
TANDALONE
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
rs Kaseorg
Define 0x7777
7
777 as a constan
t
KSPLICE_CANARY
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
I
mplement
arm
trampolines w
i
th read_r
e
lo
c
_value and
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Imple
m
ent x86 trampo
l
ines
w
ith read_
r
eloc_value
and
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
P
ass a pack to trampoline_target, and make it re
t
urn
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseor
g
Pass a pa
c
k to
prep
a
re
_
trampoline
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Add an addr
p
a
r
ameter to wri
t
e_reloc_value
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Move pcrel handling out of r
e
a
d_reloc_va
l
ue and writ
e
_reloc_
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
o
rg
Make
t
h
e
stage newl
i
ne optional
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Sup
p
o
r
t
-
-only-targets
o
ptio
n
i
n k
s
plice-create
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseo
r
g
Use -
-
extra
-
m
a
tch
t
o fi
l
t
e
r the e
x
isting list of objects
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Remove
.
KSPLICE_primary and
.
K
SPLICE_helper files in
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Fil
t
e
r the
.
fixup section according to __ex_table
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add a missing space
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers
K
aseorg
Us
e
bool ty
p
es in obju
t
i
ls
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
U
se
bool type
s
in
t
he ksplice modul
e
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Don't us
e
modu
l
e_mutex when !bootstrapped
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Check for re
l
ocation overflows i
n
wri
t
e_reloc_value
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers K
a
seorg
Disab
l
e virtual_a
d
dres
s
_mapped when !bootstrapped
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Clean up re
l
ocati
o
n
handling
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
lo
o
kup
_
addres
s
is no longer
u
sed
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
r
g
Use kasprin
t
f
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Use strict_strtoul instead of s
i
mpl
e
_s
t
rtoul
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Use read_str
_
set
for rmsyms
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seor
g
Avoid she
l
l
w
o
rd
s
()
w
ith no
arguments, which
b
reaks
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
as
e
org
Support run-pr
e
matching of extra
c
o
m
pilation un
i
ts
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Add ksplice-obj
s
f
u
n
c
tion to compu
t
e
.
KSPLI
C
E names
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Make
k
sp
l
ice-obj
.
pl f
a
il on bad input
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Ka
s
eorg
Fac
t
or out common %
.
mod
.
K
SPLIC
E
t
a
rget in Make
f
ile
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers
Kaseorg
Includ
e
a
l
ternative
.
h (if KSPLICE
_
NEED
_
PARAINS
T
RUCTIO
N
S
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Do
n
't pass
k
id to objma
n
ip keep-helper
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseor
g
Do
n
't
send objdiff output to
o
bjmani
p
keep-helper
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Remo
v
e KSPLICE_S
I
ZE
_
DELETED
f
lag
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
In
s
t
all
tra
m
poli
n
es t
o
ksplice_deleted at deleted functions
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
as
e
or
g
Comput
e
p->ol
d
addr
from p->lab
e
l ins
t
ea
d
of a
k
spl
i
ce_reloc
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
r
g
Create trampolin
e
s outsi
d
e s
t
op_machine
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Handle th
e
exception tab
l
e as
a speci
a
l section
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Only return n
e
w and deleted
.
t
e
xt sec
t
ions from objdif
f
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
K
aseorg
Don't r
e
quire a trai
l
ing
p
e
r
i
o
d
on
.
r
o
data and
.
data
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders
K
a
seorg
U
se m
a
ke
-
r
R
f
or a
sma
l
l p
e
r
form
a
nce im
p
rovement
on
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seo
r
g
Avoid space cha
r
act
e
rs in
l
abels
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Ka
s
eorg
P
ass an in
p
ut and output to o
b
jm
a
nip
i
nstead
o
f
modifying
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
se
o
rg
S
t
ore a la
b
el instead
o
f a s
y
m
b
ol in
struct ks
p
l
ice_patch
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseo
r
g
Move label
com
p
utati
o
n into
a
help
e
r
function
symbol_
l
abe
l
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
K
as
e
or
g
Remove
addstr
_
all
vari
a
bl
e
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
K
a
seorg
A
d
d canonical_s
y
mbo
l
helper function
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Check
t
hat the patch add
r
ess equals t
h
e safety re
c
ord
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
sl
e
e
p(1) after p
r
e
b
u
i
l
d
to work
a
r
o
und low-res t
i
mestamps
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
ers
K
aseor
g
A
c
co
u
nt for the use_rela_p hack when writing ARM relocati
o
n
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add
e
rror
messages for
exi
t
s
t
atus
handling
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seo
r
g
Use
$
(LD)
a
s the link
e
r
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Fix b
o
ol for backp
o
r
t
ed Red Hat
kernels
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Set
p
ack
-
>
t
a
rget_name to "vmlinux" if the target is
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
K
aseorg
Add bool type
d
ef for older kernels
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Look up
a
l
l non-debugging symbol
s
in
t
he same s
e
c
tion
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Compute addstr
i
mpli
c
itly fro
m
th
e
object filename
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Mangle static local variable names so
they can b
e
matched
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Only include addst
r
_al
l
in ksplice_sy
m
bol
labels for
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Rem
o
ve unused label st
r
ipping functions from
ksp
l
i
ce
.
c
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs Ka
s
eorg
Add
t
he k
a
ll
s
y
m
s
n
ame to str
u
c
t
k
splice
_
s
ymb
o
l
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Pass a ksplice_symbol to co
m
p
u
te_address
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move symbol inf
o
rmation to a n
e
w s
t
ruct
k
sp
l
ice_s
y
m
b
o
l
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Replace find_na
m
eval(*, *, 1) with a new fu
n
ction create_
n
a
m
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Neve
r
lea
v
e NOVAL rel
o
c
_n
a
m
e
val
s
around
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Reference namevals by name in str
u
ct r
e
loc_addrmap
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
s
eorg
Make sure objmanip rms
y
m
s succeeds
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
R
e
mov
e
newgsyms
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
e
org
M
o
ve objmanip pat
c
hlist
mode i
n
to keep-primary
mode
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Merge objmanip sizel
i
st m
o
de into ke
e
p mode
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Merge objm
a
nip rmrelocs mode into keep-
p
rimary mo
d
e
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
M
erge o
b
jm
a
nip globa
l
ize-n
e
w mode i
n
to k
e
ep-primary
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
next