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
Anders Kaseorg
Delete unused
pa
r
ts of
.
altin
s
tr_rep
l
acement secti
o
ns
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-26
And
e
r
s
Kaseorg
Obtain tabl
e
sectio
n
informat
i
o
n
fr
o
m
the ke
r
nel head
e
rs
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-25
A
nders Kas
e
org
Make kmod
s
rc build flags a
va
r
iable in ksplice
-
create
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-25
A
nders
K
a
seo
r
g
Make
$tmp
d
ir
/
kmodsr
c
a va
r
i
able in ksplice-cr
e
ate
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-25
Anders Kaseorg
Do
n
't make a
t
mp
d
ir whe
n
only
p
r
ebuild
i
ng
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-25
An
d
ers K
a
seorg
O
nly check for us
e
d
required varia
b
les in kmodsrc/Makefile
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-25
A
n
ders Kaseorg
Use
t
he filter_ex_table_sectio
n
logic for all table
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-25
A
nders Kaseorg
Merge objdiff int
o
objmanip keep-pr
i
mary
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-25
Anders Kaseorg
F
i
x
ex_
o
ffset cal
c
ulation in
fi
l
ter_ex_table
_
se
c
tion
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-13
Anders Kase
o
rg
Taint the ke
r
n
e
l upon applicati
o
n
o
f
an
y
Ksplice update
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
eorg
V
er
i
f
y that trampoli
n
es are still pr
e
s
e
nt before removing
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Ren
a
me ksplic
e
_kallsyms_ex
p
and_s
y
mbol to kallsyms_e
x
p
a
nd_sym
b
o
l
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move
the sy
s
fs code to the
e
nd
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Move ksplice_delet
e
d
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Move __module_data_address
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Move find_sy
m
bol
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
M
o
ve use_
m
odule
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Mo
v
e find
_
modu
l
e
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
M
o
ve k
a
llsyms_on_ea
c
h
_symbol thro
u
gh module_kallsyms_
o
n_each
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
e
org
Swap init_debug_buf with
c
lear_debug_buf
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Move patches
_
module
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Mov
e
fol
l
ow_trampolines
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs
Kaseo
r
g
Move
a
dd_candidate_val, prune_tr
a
mpoline
_
vals
,
and
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nde
r
s Kaseo
r
g
Mo
v
e create_saf
e
ty_rec
o
rd
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kas
e
org
Move inser
t
_
t
rampoline and
remove_trampoline
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nder
s
Kaseorg
Move apply_patches through print_conflicts
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
aseor
g
Swap exported_symbol_
l
ookup with n
e
w_export_lookup
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseo
r
g
Mov
e
lookup_symbol_kallsyms and accu
m
ulate_matching_nam
e
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move add_sys
t
em_map_candidates
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Move lo
o
kup
_
reloc
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nder
s
Kaseorg
Move brute_sear
c
h an
d
brute_sea
r
ch_a
l
l
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s
K
as
e
org
Prototype brute_
s
earch
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
M
o
ve
print_bytes
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Move try
_
a
ddr
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
M
o
ve
r
ead
_
reloc_
v
a
lue and write
_
reloc_value
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Move
apply_relocs an
d
appl
y
_reloc
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kas
e
org
M
o
ve add_dep
e
n
d
ency_on_address
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Move finalize_p
a
tc
h
e
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Move fi
n
alize_e
x
ports
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s K
a
seorg
M
ove finaliz
e
_pac
k
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Re
o
r
d
er i
n
i
t_ksplice_update,
cleanu
p
_
k
sp
l
ice_update
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
Kaseorg
Use
an updated k
a
llsyms API, k
a
llsyms_on
_
each
_
symbol
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseor
g
R
ename other_module_lookup to lookup
_
symbol_k
a
l
lsyms
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
eorg
Don'
t
look
up local k
e
rnel symbols unless we're p
a
tching
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Use kernel_ka
l
l
syms_on_each
_
symbol i
n
KS
P
LICE_STA
N
DALONE
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Define 0x7777
7
7
77 as a constant KSPLICE_C
A
NARY
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Impl
e
ment arm trampoli
n
es wi
t
h read_reloc_val
u
e
a
nd
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
I
m
plem
e
nt x86 tramp
o
lines
w
ith read_reloc_
v
alue a
n
d
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Ka
s
eorg
Pass a pack
to trampoline_target, and make it r
e
turn
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Pass a pa
c
k to p
r
epar
e
_t
r
ampoline
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
K
aseorg
Add an addr p
a
rameter to
w
rite_reloc_value
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move pc
r
el handl
i
n
g out of read_reloc_value and wri
t
e_re
l
o
c
_
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
Kaseorg
Make the stage newline optio
n
al
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Suppo
r
t
--only-targets op
t
ion in ksplice-create
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kase
o
rg
U
se --ext
r
a
-
match to
f
il
t
er th
e
ex
i
sting
l
ist of objects
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
R
emove
.
KSPL
I
CE_prima
r
y and
.
KSPLICE_h
e
lp
e
r fil
e
s
in
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Filt
e
r the
.
fixu
p
section accord
i
ng t
o
_
_
ex_table
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
A
dd a missing space
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s Kase
o
rg
Use b
o
o
l types in objutils
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Use bool
t
ypes
in the kspli
c
e mod
u
le
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kas
e
org
Don't use mo
d
ule_m
u
t
ex when !b
o
otstrapped
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Check for reloc
a
tion overflows in w
r
it
e
_reloc_value
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
D
i
s
a
ble virtual_address
_
mapped wh
e
n !boots
t
rapped
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders
K
aseorg
Clean up
r
elocation handling
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Ka
s
eorg
lookup_addr
e
ss is no
lon
g
er used
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Use kasprintf
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Use strict_strtoul i
n
stead
o
f simple_strtoul
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Use read_str_se
t
for r
m
syms
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
ers Kase
o
rg
Avoid shellwords
(
) with
no argumen
t
s, which br
e
aks
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Support run-pre matching
o
f extra compil
a
tion uni
t
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kas
e
org
Add kspl
i
ce
-
objs function to compute
.
K
S
P
LICE nam
e
s
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Make
k
sp
l
ice
-
obj
.
pl fail on ba
d
i
n
put
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Fact
o
r out
common %
.
mod
.
KSP
L
ICE target in Makefile
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
rs
K
ase
o
rg
I
n
clude alte
r
na
t
ive
.
h (if
K
SPLICE_NEED
_
PARAINSTRUCTIONS
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Don't pass kid
to
objmanip
k
e
ep-h
e
lper
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
D
on't
s
end o
b
jdiff output
t
o
objm
a
nip keep-he
l
per
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
r
g
Remov
e
KSPLICE
_
SIZE_DELETED flag
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
K
a
s
e
org
I
n
stall tr
a
mpol
i
ne
s
to ksplic
e
_d
e
le
t
ed at de
l
eted fun
c
tio
n
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Ka
s
eorg
C
ompu
t
e p
-
>
o
l
daddr
from p-
>
label instead of a kspl
i
c
e
_
r
eloc
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
C
re
a
t
e
t
rampolines
o
utsid
e
s
t
op_machine
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Hand
l
e the
e
x
ception table as
a special s
e
ction
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders K
a
seorg
Only return new an
d
d
e
leted
.
t
e
xt sections from o
b
jdiff
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseo
r
g
D
on't r
e
q
u
i
r
e a t
r
ailin
g
period on
.
roda
t
a an
d
.
data
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kase
o
rg
Us
e
ma
k
e -r
R
fo
r
a small per
f
o
rmance impr
o
vement on
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Av
o
id space charac
t
ers in
l
abels
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Pa
s
s an input and ou
t
put
t
o objmanip instea
d
of m
o
dif
y
i
ng
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs Kaseo
r
g
Store a label
instea
d
o
f
a symbol in s
t
ruct k
s
pl
i
ce_patch
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Move label computation into
a helper funct
i
on symbol_label
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Remove addstr_
a
ll vari
a
b
le
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Ad
d
canoni
c
al_symbol helper f
u
nction
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Check that
the patch add
r
ess equals
the safety
r
ecord
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
sleep(1
)
a
f
te
r
prebuil
d
to work around
l
ow-r
e
s timestamps
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Acco
u
nt for the use_r
e
la_p hack when wr
i
ting ARM rel
o
cati
o
ns
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Ad
d
error
messag
e
s for exi
t
status handling
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Use $(LD) as the linker
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Fi
x
bool for backpo
r
ted Red Hat ke
r
nel
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Set
pack
-
>ta
r
get_name to "vmlinux"
i
f the
t
ar
g
et is
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add bool typedef for older kern
e
ls
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Look u
p
all non-deb
u
gging symbol
s
in the same
section
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
eo
r
g
C
ompute addstr i
m
plicitly
fr
o
m th
e
object filename
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
next