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 use_module.
2008-09-12
A
nders
Kaseo
r
g
Mo
v
e use_module
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s
Kaseorg
Move fin
d
_
module
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Move k
a
llsyms_o
n
_ea
c
h_symbo
l
through module_kallsyms_on_each
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eor
g
Swap init_deb
u
g
_bu
f
w
it
h
clear_debug_buf
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move
p
atches_module
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kas
e
org
M
ove f
o
llow
_
trampoline
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move add_candi
d
at
e
_val, pru
n
e_trampoline_va
l
s, and
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
r
g
M
ove create_safety
_
record
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
M
ove inse
r
t_tra
m
polin
e
an
d
remove_trampoline
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
er
s
Kaseorg
Mo
v
e ap
p
l
y
_
pa
t
ches through print_c
o
nflic
t
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Sw
a
p ex
p
ort
e
d_s
y
mb
o
l_lookup with new_export_l
o
okup
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Move loo
k
up
_
symbol_
k
allsym
s
and acc
u
mulate
_
m
atchin
g
_names
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Move add_system_m
a
p_cand
i
dates
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Move looku
p
_reloc
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
aseorg
M
ove bru
t
e_searc
h
and brute_sear
c
h
_
a
l
l
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Ka
s
eorg
P
r
o
toty
p
e
brute_searc
h
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kas
e
org
Mo
v
e pr
i
nt
_
bytes
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
o
r
g
Move try_addr
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Mov
e
read_r
e
loc_va
l
ue
a
nd write_reloc_
v
al
u
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Move apply
_
relocs
and a
p
ply_r
e
lo
c
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Move add_depen
d
ency_o
n
_address
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Move
f
inaliz
e
_patches
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nd
e
rs
Kaseo
r
g
Move finalize_exports
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Move fina
l
i
z
e
_pack
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
R
eorder init_kspli
c
e
_
update, clean
u
p_ksplice_up
d
at
e
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Use an updated kallsy
m
s AP
I
,
kal
l
s
y
m
s
_
on
_
each_symbol
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
ase
o
rg
Ren
a
me oth
e
r_module_lookup to loo
k
up_symbo
l
_kall
s
yms
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Don'
t
lo
o
k up lo
c
al
k
ernel s
y
mbol
s
unless we're patc
h
ing
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders
Kaseorg
Use
k
e
rnel_kall
s
yms_on_ea
c
h_symbol in
KS
P
LICE_ST
A
NDALO
N
E
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kas
e
org
Defi
n
e 0x77777
7
77 as a constant K
S
PLIC
E
_CANAR
Y
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Impl
e
ment arm trampolines with read_reloc_valu
e
and
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s K
a
seorg
Im
p
lem
e
nt x8
6
trampolines w
i
th read_re
l
oc_v
a
lue and
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders
K
aseorg
P
a
ss
a
p
ack to trampoli
n
e_
t
arg
e
t
,
a
nd make i
t
return
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
rs
Ka
s
e
org
Pass a
p
ack to prep
a
re_tr
a
mpoline
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Add an addr
par
a
meter to w
r
ite_
r
eloc_value
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Move p
c
rel
h
andling ou
t
of read_re
l
oc_value and write_reloc_
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Ma
k
e the
s
tage newlin
e
option
a
l
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
Kaseor
g
Supp
o
rt -
-
only-tar
g
ets
o
pti
o
n
in ksplice
-
create
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
K
a
se
o
rg
U
s
e --ex
t
ra-match to f
i
l
t
er the existing list o
f
objects
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kase
o
rg
Remove
.
KSP
L
ICE_prim
a
ry and
.
K
SPLIC
E
_help
e
r files in
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
aseorg
Filt
e
r t
h
e
.
fixup section according to __ex_table
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
A
dd a miss
i
ng space
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Use boo
l
types in objutil
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Use bool type
s
in the ksp
l
ice mod
u
le
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Don't use module_mutex when !bootstr
a
pped
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Check for
r
elocati
o
n overf
l
ows
i
n writ
e
_reloc
_
value
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
D
i
sa
b
le
virtual_a
d
dress_mapped when !boot
s
trapp
e
d
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Clean up relo
c
ation hand
l
ing
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
lo
o
kup_ad
d
ress is no l
o
n
g
er
u
sed
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
U
s
e kasprintf
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Use str
i
c
t
_strtoul instead of si
m
ple_strtoul
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s Kaseo
r
g
Us
e
read_str_set for rmsyms
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
K
aseorg
Avoid shellwords() with
n
o
argume
n
ts, which breaks
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Sup
p
ort
run-pr
e
matching o
f
extr
a
com
p
i
l
ation units
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders K
a
seorg
Ad
d
ksplice-objs
functio
n
to compute
.
KSPL
I
C
E names
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kas
e
org
M
a
k
e ksplice-
o
bj
.
pl fail on bad input
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Factor out c
o
mmon %
.
mod
.
K
SPLICE targe
t
in Mak
e
file
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
I
ncl
u
de
a
lternative
.
h (
i
f
KSPLIC
E
_N
E
ED_PARAI
N
STRUCTIONS
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
de
r
s Kaseorg
Don't
p
ass kid to objman
i
p
keep-helpe
r
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Do
n
't send objdiff o
u
tput to
o
bjmanip keep-helper
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs
Kaseorg
Remov
e
KSPLICE_S
I
ZE
_
DE
L
E
T
ED
flag
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Install tra
m
polines to ksp
l
ice_delete
d
at de
l
eted func
t
ions
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Compute p->o
l
daddr from p->label instead of a ksp
l
i
c
e_reloc
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
C
reate trampolines outside stop_machine
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eor
g
H
andle the exception
table as a
s
pecial
section
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kase
o
rg
O
n
l
y
return
ne
w
and deleted
.
te
x
t
s
e
ctions from objdiff
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Don't
req
u
ire
a
trailing
p
eriod on
.
r
o
data a
n
d
.
data
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Use make
-rR
for a small
p
erforma
n
ce
imp
r
ov
e
men
t
on
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Avoid sp
a
ce c
h
aracte
r
s in labels
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
o
rg
P
ass an input
a
nd outpu
t
to
obj
m
anip instead of m
o
difying
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
St
o
re a label inste
a
d
of a symbol
i
n struct ksplice_pa
t
ch
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Ka
s
eo
r
g
Move
l
abel comp
u
tation into a help
e
r
f
u
n
ction
s
ymbol_label
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
Kas
e
org
Rem
o
ve
addstr_all
v
ariable
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseo
r
g
Add canonical_symbol helper function
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
K
a
s
e
org
Chec
k
that the pa
t
c
h
a
ddres
s
equals the
safety record
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
sl
e
e
p
(1
)
a
fter
p
rebuild
t
o
work aroun
d
l
o
w-res t
i
mestamps
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Accoun
t
fo
r
the us
e
_
r
el
a
_p hack
w
hen
writ
i
ng ARM relocat
i
ons
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add e
r
ror
messages
f
or
e
x
i
t sta
t
us
h
andling
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Us
e
$(L
D
) as the
l
inker
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Ka
s
eorg
Fi
x
bool for backported
Red Hat
k
ernels
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kas
e
o
r
g
Set pack->target_name to "vml
i
n
ux" if
the target is
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
K
aseorg
Add bool
t
ype
d
ef for o
l
der kern
e
ls
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Look up all no
n
-debugging symbol
s
in
t
he
same section
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Compute addstr implicitl
y
f
r
om th
e
object fil
e
name
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
M
a
ngle stat
i
c local var
i
able
n
a
mes s
o
they can
b
e matched
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Only include
a
d
d
s
tr_all in kspl
i
ce_symbol labels for
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Remove unused label stripping functio
n
s from
k
splice
.
c
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
de
r
s Kaseorg
Add the ka
l
l
syms
name to s
t
ruct ksp
l
ice_sym
b
ol
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Pass a
ksplice
_
sym
b
ol to compu
t
e_address
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Move s
y
mbol information to a
n
ew struct ksplice
_
symbol
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Replace find_nam
e
val(*, *, 1) with a new function cre
a
te_nam
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Never leave NOVAL reloc_nam
e
vals around
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Refere
n
ce na
m
eva
l
s by na
m
e
in struct
rel
o
c_a
d
drmap
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Mak
e
su
r
e objmanip rmsyms succeeds
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Remove newgsym
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseor
g
Move
o
bjmanip patc
h
list mo
d
e into ke
e
p-pri
m
ary mode
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Merge objmanip sizelist mode int
o
kee
p
mode
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
Kaseorg
M
e
rge objmanip rm
r
elocs mode into keep
-
primary mode
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Me
r
ge objmani
p
glo
b
al
i
ze-new mode into keep-primar
y
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs Ka
s
eorg
Merge objmanip export mode into keep-
p
rim
a
ry mode
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
next