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
An
d
ers Kas
e
org
Move use_module
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Move find_module
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
de
r
s Kaseor
g
Move kallsyms_on_eac
h
_symbol through module_kallsyms_on_each
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Swap
i
nit_debug_buf with c
l
ea
r
_debug_buf
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
M
o
ve patc
h
es_module
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move follow_tr
a
mpo
l
ine
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Move
add_
c
andidate
_
val, prune_
t
rampoline_vals, and
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
M
o
ve create_saf
e
ty_recor
d
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s
Ka
s
eorg
Mo
v
e insert_trampoline
and remove_tra
m
poline
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Move apply_patches through print_confl
i
cts
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs
K
aseorg
Swap exported_symbol_lo
o
kup with new_export
_
look
u
p
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Move lookup
_
s
y
mbol_kallsyms and accumulate_matching_names
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Move
a
dd_system_m
a
p_ca
n
didates
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Move look
u
p_r
e
lo
c
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
Kaseorg
Move b
r
ute_sear
c
h
and brut
e
_search_all
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Pro
t
o
t
ype
b
rute_search
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move print_by
t
es
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move try_addr
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move read_reloc_value and write_reloc_valu
e
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Move apply
_
relocs and apply
_
r
e
l
o
c
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Move add_
d
epe
n
d
e
ncy_on_a
d
dress
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
er
s
Kaseorg
Move
f
inal
i
ze_patches
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move finali
z
e
_
exports
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move f
i
nalize_pack
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Reord
e
r
init_ksplice
_
upd
a
te
,
c
lea
n
u
p_ksplice_update
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
K
a
s
eorg
U
s
e an updated kal
l
sy
m
s
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
e
org
Re
n
ame other_module
_
l
o
okup to lookup_symbol_kall
s
yms
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Don't look up lo
c
al ker
n
el
sym
b
ols
u
nless w
e
're patching
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
U
se k
e
r
n
e
l_kallsyms_on_ea
c
h_symbol in KS
P
LI
C
E_
S
TANDA
L
ONE
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Def
i
ne 0x777
7
7777
a
s a constant KSPLICE_CANARY
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kas
e
org
Imple
m
ent arm tra
m
polin
e
s with re
a
d_reloc_va
l
ue and
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
e
o
rg
Implement x
8
6
trampolines with re
a
d_reloc_value and
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Pass a pack to trampol
i
ne_
t
arget, and make it return
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
aseor
g
Pass a pack to
p
repare
_
t
rampoline
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Add an addr parameter to
w
rite_reloc_value
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Mo
v
e pc
r
el h
a
ndl
i
ng
o
ut of r
e
ad_re
l
oc_val
u
e and write_reloc_
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Make the
s
t
age newli
n
e
o
ptional
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kase
o
rg
S
u
pport
-
-onl
y
-targets option in ksplice-cre
a
te
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
Kas
e
org
Use --extr
a
-
match to filter the
ex
i
sting l
i
st of objects
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Re
m
o
v
e
.
KSPLICE_primary and
.
KSPLICE
_
helper files
i
n
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Filter the
.
fixup
s
e
c
t
ion ac
c
ording to __ex_table
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Add a
missing space
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Use bool t
y
pes in objutils
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s Kaseorg
Use b
o
ol
types in the ksplice module
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Don'
t
use module_mutex
w
hen !boots
t
rap
p
ed
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Che
c
k for
relocati
o
n ove
r
f
l
ows in writ
e
_reloc_va
l
ue
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Disable virtual
_
addres
s
_
m
apped when !boots
t
rapped
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
e
org
Clean up relocation handling
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
looku
p
_address is no longer used
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Use kasprin
t
f
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Use str
i
ct_s
t
r
t
oul instead o
f
simple_strtoul
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Use r
e
ad_str_set
f
or rms
y
m
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Avoid
s
h
ellwords() wi
t
h no a
r
g
u
ments, whic
h
b
reaks
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kas
e
org
Support run-p
r
e matching
o
f ex
t
ra compilation uni
t
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
A
dd kspl
i
ce-
o
bjs function
t
o compute
.
KSPLICE n
a
mes
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Make ksplice-ob
j
.
pl fail on bad
input
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseor
g
Fa
c
tor out common %
.
mod
.
KSPLI
C
E tar
g
et in Ma
k
efil
e
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Include alte
r
nat
i
ve
.
h
(
if KSPLICE
_
NEE
D
_PARAINSTRUCTIONS
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Don
'
t pas
s
kid to obj
m
anip keep-helper
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Don't
s
end objdiff
o
utput to objmanip keep-helper
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
or
g
Remove KSP
L
ICE_SIZE_DELETED flag
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Insta
l
l
t
r
am
p
olines to ksplice_de
l
eted at deleted func
t
i
ons
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Comput
e
p->ol
d
a
ddr from p->label
i
nstead of a ksplice_reloc
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
C
r
eate t
r
ampolines outsi
d
e stop_machine
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Han
d
le the exception table as a speci
a
l s
e
c
tion
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Only return n
e
w and deleted
.
text s
e
c
tions
f
rom ob
j
d
i
ff
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
Kaseo
r
g
Don
'
t require a trailing
period
o
n
.
r
odata and
.
data
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Use mak
e
-rR
fo
r
a sma
l
l pe
r
formance improveme
n
t
o
n
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseor
g
Avoid
spac
e
c
h
aracter
s
in labels
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
de
r
s Kas
e
org
Pass
an input and o
u
tpu
t
to objmanip inst
e
ad of modifyin
g
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s Kas
e
org
Store a label inst
e
ad of
a symbol i
n
struct ksplice_patch
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
aseorg
Move label comput
a
tion int
o
a hel
p
er function sy
m
bol_la
b
el
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s Kaseorg
Remove addst
r
_al
l
variable
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
ers Kaseorg
A
dd can
o
nical_
s
ymbol helper funct
i
on
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kas
e
org
Ch
e
ck that
t
he
patch address equals t
h
e safe
t
y re
c
ord
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
sleep(
1
) after
p
r
e
build to
work aro
u
nd low-re
s
tim
e
stamps
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Acc
o
unt for the use_rela
_
p hack wh
e
n writing ARM reloc
a
ti
o
n
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Add error messages for exit statu
s
handling
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseo
r
g
Us
e
$(LD) as the l
i
nker
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Fix bool for b
a
ckported
Red Hat kernels
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s
Kaseorg
Set
pack->
t
arget_name to "
v
m
l
inux" if the target is
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add bool typedef for olde
r
kernels
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
L
oo
k
up all non-
d
e
bugg
i
n
g
symbols in the same secti
o
n
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders K
a
s
eorg
C
o
m
pute addstr im
p
licitl
y
fr
o
m th
e
obj
e
c
t
f
ile
n
ame
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs Kaseorg
Mangle sta
t
ic loca
l
variable names so
t
hey can be mat
c
hed
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
O
n
ly include addstr_all
in ksplice_sy
m
b
o
l labels for
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Remove unused label stripping functions from ksplice
.
c
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Add the kallsyms name
t
o str
u
ct kspl
i
ce_symbol
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Pass a kspl
i
ce_symbol to compute_address
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
de
r
s
K
a
s
eorg
Mov
e
sym
b
ol information to a n
e
w struct kspl
i
ce_symbol
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Rep
l
ace find_na
m
eva
l
(*, *
,
1) with a new
f
unction create
_
nam
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Never leave NOVA
L
reloc_n
a
mevals
a
round
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s Kaseorg
R
efere
n
ce namevals
by name in st
r
uct reloc_addrmap
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Make su
r
e objmanip rmsyms su
c
ceed
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Re
m
ov
e
newgsyms
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move objma
n
ip
p
atchlist mod
e
into
k
eep-primary mode
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Merge objma
n
ip sizeli
s
t mod
e
in
t
o
keep mo
d
e
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Merge objmanip rmrelocs mode into k
e
ep-
p
r
imary mode
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Merge
obj
m
anip globa
l
ize-new mode into keep-prim
a
r
y
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kase
o
r
g
Mer
g
e
o
bjmanip e
x
port mode into keep-prim
a
r
y
mode
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
next