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
Display debugfs output on failures in ksplice-undo.
2008-09-12
Tim Ab
b
o
t
t
Display debug
f
s
output on failures
in ksplic
e
-un
d
o
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Pa
s
s is_special a sec
t
ion, not a secti
o
n
n
a
m
e
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
P
as
s
w
ant_secti
o
n a
sec
t
ion, n
o
t a section name
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
U
se
b
fd_
i
s_con
s
t
_sec
t
ion
m
acro
to check a
g
ain
s
t all
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
ot
t
Use local functions fo
r
modu
l
e_ini
t
and module_exit
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
R
e
move unus
e
d $w
o
r
d variab
l
e
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Don't tie the kerne
l
versi
o
n to KSPLI
C
E_ST
A
NDALONE
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Ka
s
e
o
rg
A
l
locate saved bytes statically in struct ksplice_patch
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs K
a
se
o
rg
Z
e
r
o the new sectio
n
contents in sect_grow
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Fix debug_blob mem
o
ry l
e
a
ks
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Fix
r
eloc_addrmap memory leaks
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
b
o
t
t
Make ha
n
dle_mys
t
_reloc retu
r
n -1 rather t
h
an
0 on
fail
u
res
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
e
o
r
g
Define proc_root to
NULL
a
s
a weak symbol
(
for
use
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abb
o
tt
Add support f
o
r KSPLIC
E
_INTEGRATE
D
in ksplice-cr
e
ate
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
In
c
lude <linux/ksplic
e
.
h> rath
e
r than "ksplice
.
h" in
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s Kaseorg
I
n
clud
e
<
l
inux/ksplice
.
h> for integrated Kspli
c
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
de
r
s Kaseor
g
k
f
ree(NULL)
is de
f
ined to ha
v
e
n
o
effe
c
t
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Consolid
a
te d
u
p
_wo
l
abel
cal
l
s
t
o
compute_address
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Add n
e
w
jumplen() function whi
c
h corre
c
tly
handle
s
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Make for loops c
o
nsistent
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Don
'
t
s
trip labels from
the ksymtab
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Remove
unused
l
abe
l
st
r
ipp
i
n
g functions fro
m
objcommon
.
c
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
K
a
seorg
D
on't strip label from system
_
m
a
p_name
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Don't re
n
ame
s
ymbols in ob
j
manip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Deglobalize all globa
l
sy
m
bols
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Inl
i
ne
f
lags va
r
iable to sym->flags in
filt
e
r_symbols
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Don't renam
e
sections in objmani
p
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Pass add
s
tr argum
e
n
t
s
to obj
m
anip sizelist mode
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Remove unus
e
d replstr from str
u
ct
k
splice_pat
c
h
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kas
e
org
G
e
t
ri
d
of un
u
sed gl
o
b
al
.
rodata sy
m
bols
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Je
f
frey B
r
i
an Arnold
Use lookup_addr
e
ss to imple
m
ent v
i
rtual_ad
d
ress
_
mapped
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
Abbott
Buff
e
r debugging outp
u
t
a
n
d
expo
r
t it via
d
eb
u
gfs
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Add
s
upport for
e
xtracti
n
g debugg
i
ng ou
t
put from de
b
ugfs
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
ott
C
hang
e
f
a
iled_to_fi
n
d
a
nd
print_abor
t
to use k
s
debug
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Pass a
m
odul
e
_pack t
o
con
t
ains
_
c
anary so that it can
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
t
t
R
e
p
la
c
e print_abort("out of memo
r
y") with the correspondin
g
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Rewrite
d
ebug
g
i
ng output in r
u
n-pre matching to
use
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Repl
a
ce remaining
c
alls to pri
n
tk wi
t
h ksdebug in
ksplice
.
c
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Zero the
r
el
o
cat
i
on plac
e
holder
a
dd
r
ess with b
f
d_put
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Create
relocatio
n
s with bfd_in
s
tall
_
relocation
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
e
org
Merge copy_section
a
nd write_n
e
w_se
c
tion into write
_
secti
o
n
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add th
e
sectio
n
flag
s
to struct supersect
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Br
i
a
n Arno
l
d
R
e
move t
e
m
p
ora
r
y
m
ystery relocs after r
u
nning run_
p
re_cmp
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
G
i
ve
a s
l
i
ghtly b
e
tter err
o
r message
w
hen
pr
i
mary loading
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m
Abbott
A
v
o
id conflict w
i
th S
T
R macro in some
k
e
rnels
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Tight
e
n
a regular expres
s
i
o
n
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Abbott
Check
w
hether the
t
arg
e
t
m
o
du
l
e
of a ksp
l
i
ce update
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
J
effr
e
y Br
i
a
n
Ar
n
old
Obtai
n
modu
l
e_text_address from run
n
in
g
ker
n
el via
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
Brian Arnold
Mak
e
m
a
ny functions static
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbott
Restruct
u
re
ot
h
er_module_lookup to impr
o
ve line wrapping
.
commit
|
commitdiff
|
tree
2008-09-12
Je
f
f
r
ey B
r
ian
A
rnold
I
nclu
d
e ksplice
.
h from userspace t
o
avoid co
d
e
dupl
i
cation
.
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
r
e
y Brian Arnold
Mo
v
e c
o
de from k
s
plice
.
h to
k
splice
.
c
.
commit
|
commitdiff
|
tree
2008-09-12
J
effrey
Bri
a
n Arnold
Remove obsole
t
e
p
ostdir optio
n
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffre
y
Brian Arnold
Make many var
i
ables unsigned
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
B
rian Arnold
Simp
l
ify
run
_
pre_c
m
p's var
i
ables
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Bria
n
Ar
n
old
Improve ke
r
nel mo
d
ule's
types and
r
elocation
h
and
l
ing
.
commit
|
commitdiff
|
tree
2008-09-12
J
effrey Br
i
an Arno
l
d
Impr
o
ve
objmanip'
s
types and relocatio
n
handl
i
ng
.
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Add a --id opti
o
n to ks
p
lice-
c
r
eate
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseo
r
g
Cast KSPLICE_IP to lo
n
g on x86_64
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
Kaseorg
Replace "%08l
x
"
with "%
"
ADDR to sup
p
o
rt
b
oth 3
2
-bi
t
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Do
n
't
m
utate
the offsets in handle
_
myst_reloc
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
ott
Print nops in run-pre mat
c
hing
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Return the n
u
mber of nops matched instead
o
f
m
utat
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
b
b
ott
Use ks
d
ebug
ra
t
h
er than
p
r
intk in handle_
m
y
s
t_reloc
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
A
b
bott
Make debug part of module_p
a
ck;
r
ename ksplice_debug
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbot
t
M
a
ke han
d
le_myst_reloc
g
et
a
modul
e
_pack
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Remov
e
debugging out
p
u
t
f
r
om use_module (it i
s
n't printed
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Apply paravirt
replace
m
ents on buggy x86-64 kern
e
ls
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
H
a
ve the helper module insert fi
e
lds
d
irectly into
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add the target module nam
e
to modu
l
e_pack
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Make match_nop an
d
run_pre_cmp stat
i
c
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Store supersect pointer in section->userdata
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Ka
s
e
org
Remove unused blank_sect_
n
ame
a
nd blank_sect_addr fro
m
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Store
t
he relocati
o
n a
d
dress
i
n struct
k
spl
i
ce_rel
o
c
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
aseorg
Remove no
w
-
u
n
n
eeded globalize pass
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
seorg
Rem
o
ve now-unused pars
e
_and_sa
v
e code
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Consolidate
S
ystem
.
m
a
p par
s
ing
i
n ksplice
.
pl
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Move
k
s
p
lice_patch gene
r
at
i
on into o
b
jmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move ksp
l
ice_size
g
ene
r
ation
into
objmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers K
a
se
o
rg
Move ksplice_reloc generation int
o
ob
j
man
i
p
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
ers Kaseorg
A
d
d Sy
s
tem
.
ma
p
r
eading code to obj
m
anip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
New hash t
a
b
l
e interface for objcommon
.
h, based on
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Add infras
t
ruct
u
re for writing new secti
o
ns in objmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Store alignment as an ex
p
onent base 2, like bfd
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseo
r
g
C
onvert symbol tabl
e
s to vect
o
r interface
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Convert section content
s
and relocatio
n
tables
t
o
vec
t
or
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
or
g
N
ew vector interface for objco
m
m
on
.
h
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
M
o
v
e objm
a
nip i
n
vocations t
o
ksplice
.
pl and apply the
m
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Make ma
t
ch
_
nop and run_
p
r
e_c
m
p not static
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s Kase
o
r
g
Rename sections ‘
.
ks
p
lice
.
ks
p
l
ice_foo’ to ‘
.
ksplice_foo’
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kas
e
org
U
se local labels in save_usi
n
g
_
as
m
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Replace
N
U
LL ter
m
ina
t
or on relocs, sizes, and patch
e
s
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s Kaseorg
Send error
s
t
o
stderr
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
J
e
ffrey Br
i
an Arnold
F
ix
i
ndentation of b
f
d configure options
.
commit
|
commitdiff
|
tree
2008-09-12
J
effrey Brian
Arnol
d
Remov
e
obsole
t
e ch
e
cks
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Don't rmmod if CONFIG
_
MODULE_
U
NLOAD=n
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
b
o
tt
Make ksplice-
a
pply not compl
a
in
w
hen C
O
N
F
IG_MODU
L
E_UNLOAD=n
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Clean
u
p
k
s
plice-view and ksplice
-
undo interfa
c
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Mov
e
the
definition of
k
splice_k
c
alloc above its u
s
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbott
brute_search the core kernel i
n
addition to modules
.
commit
|
commitdiff
|
tree
next