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
Use an END{} block to chdir away from temporary directories.
2008-09-12
Anders
Kaseo
r
g
Use an EN
D
{}
block to chd
i
r
away from temp
o
rary d
i
rectories
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Repla
c
e mktemp/mkdtemp with
t
empdir/temp
f
ile
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
e
org
Clean up o
b
jm
a
nip debugging
f
iles
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
ers
K
aseorg
Use Fat
a
l and ve
r
bose in ksplice
.
pl
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
J
effrey Bria
n
A
r
nol
d
Re
m
ove
r
uncd and
perform
ot
h
er usersp
a
ce utility clea
n
up
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add ex
t
remely verbose d
e
bugg
i
ng
o
utput back to ksplice
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbo
t
t
Hold module_mutex when applying an update
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
P
r
in
t
an
e
rr
o
r when tr
y
ing to apply
a
n upd
a
t
e that
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Brian Arnol
d
Re
n
ame pack->
s
tate t
o
pack->stage and
a
dd new pac
k
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Add insp
e
ct utility
for view
i
ng Ksplice
r
elocs
,
sizes
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Us
e
a variabl
e
in Mak
e
file
.
in for th
e
o
b
ju
t
ils list
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Replace
l
d+cop
y
wit
h
renam
e
+ld
to preserve the
old
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add more f
i
les to the debug directory in
t
he ksplice
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Use perl
functions for copy, move, m
k
dir, etc
.
in k
s
plic
e
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Export
d
irectories
/
sys/mo
d
ule/ksp
l
i
c
e_*/
k
spl
i
ce ra
t
he
r
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Filte
r
out d
e
bug levels
i
n debugging informat
i
on dis
p
layed
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbott
I
m
pro
v
e
s
tring
s
pr
i
nted w
h
en ks
p
lice-un
d
o and ksplice
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Remove u
n
ini
t
ialized
m
e
mo
r
y in first byte of d
e
bugf
s
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Cl
e
ar deb
u
g bu
f
fer
between application and remova
l
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Remove unused debug_buf_size from s
t
ruct
m
o
dul
e
_
pack
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
M
ake
pack->debug a pointer to
the module parame
t
er
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Displ
a
y deb
u
gfs output on failures in ksplice
-
undo
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Pass
i
s_special a sect
i
on,
n
o
t
a sect
i
on nam
e
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
Abbott
Pass wan
t
_
section a sect
i
on, not a s
e
ction
name
.
commit
|
commitdiff
|
tree
2008-09-12
T
im
A
bbo
t
t
Use b
f
d_
i
s_const
_
section macro to
check against all
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbo
t
t
Us
e
local functions
for module_i
n
it and m
o
du
l
e_exit
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
R
e
mo
v
e unused
$word variable
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
D
on't tie
t
h
e kernel version to KSPLI
C
E_STANDALONE
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Allocate
saved
bytes s
t
a
tical
l
y in struc
t
ksplice_patch
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Zero the new
s
ection contents i
n
sect_grow
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
as
e
org
Fix debug_bl
o
b me
m
o
r
y
leaks
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseo
r
g
F
ix relo
c
_addr
m
ap memory le
a
k
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Ab
b
ott
Ma
k
e handl
e
_my
s
t_reloc return -1
r
ather than 0 on failures
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
D
e
fine proc_root to NULL as
a
weak symbol
(
for use
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
A
bbott
Add support for KSPLICE
_
INTEGRATED in ks
p
lice-
c
reate
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m
A
b
bott
I
n
clude <linux/ksplice
.
h> rath
e
r
t
h
a
n "k
s
p
l
ice
.
h
" in
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
seorg
Include
<
li
n
ux
/
ksplice
.
h>
for in
t
egrat
e
d Ksplice
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
kfr
e
e(NULL) is
d
efined
t
o
hav
e
no e
f
fect
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Cons
o
lid
a
te
d
up_wolabel calls to com
p
u
te_address
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
b
o
tt
Ad
d
new jumplen
(
) function which corre
c
tly handles
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
ers Ka
s
e
o
r
g
Ma
k
e
for
loops co
n
sistent
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Ka
s
eorg
Don't strip la
b
e
ls from
the ksymtab
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kas
e
org
Remove un
u
sed lab
e
l
stripping fun
c
tions fro
m
obj
c
ommon
.
c
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Don't
strip label fr
o
m syst
e
m_map_name
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers
Kaseorg
D
o
n't ren
a
me sym
b
ols
i
n o
b
jmanip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Deglobaliz
e
all global symbols
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Inline flags v
a
riabl
e
to sym->flags in fi
l
te
r
_symbols
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Ka
s
eorg
Don't rename sections
i
n
objmani
p
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
P
ass addstr ar
g
u
men
t
s to objmanip siz
e
list mode
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Remove un
u
sed
r
eplstr from struct
k
splic
e
_patch
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseo
r
g
Get rid of unu
s
e
d global
.
r
o
data symbols
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jeffre
y
Br
i
an Arnold
Use lookup_ad
d
ress to implement v
i
rtual
_
address_mapped
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m
Abbott
Bu
f
fer debug
g
ing output
a
nd export it
v
ia
de
b
ugfs
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Add sup
p
o
r
t
f
o
r extrac
t
in
g
debugging output from deb
u
gfs
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Change failed_to_find and
p
rint_abort to us
e
ksdebu
g
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
Pa
s
s a module_
p
ack to con
t
ains
_
canar
y
s
o that
i
t
c
a
n
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
R
e
p
lace pr
i
n
t_a
b
o
rt("out
o
f m
e
mory
"
)
w
ith the c
o
rr
e
sponding
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Rewrite debugging out
p
ut in ru
n
-pre matching to use
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbott
Replace remaining
c
alls
t
o
printk with ksde
b
ug in k
s
plice
.
c
.
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
eorg
Zero
the relocation plac
e
holder addr
e
ss
wi
t
h bfd_pu
t
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Cre
a
te relocations w
i
t
h
bfd_install_relocation
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
M
e
rge
c
opy_section and write_ne
w
_sect
i
on into write_se
c
t
i
o
n
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kase
o
rg
Add the section flags
t
o struct supersec
t
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Br
i
a
n
Arnold
Remove te
m
porary mystery relocs af
t
er runnin
g
run_
p
r
e_cmp
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abb
o
tt
Give a slightly better er
r
or messa
g
e
when primary loading
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
ott
Avoid conflict w
i
t
h
STR ma
c
ro in some kernels
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Tighten a r
e
gu
l
ar expressi
o
n
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Abbott
Check whether the tar
g
et
m
odule of a ks
p
lice
u
pdat
e
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeff
r
ey
Brian Arnold
Obtain m
o
dule_text_address from ru
n
ning ker
n
el via
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffre
y
B
r
i
an Arnold
Mak
e
m
a
ny functions static
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
ott
Restructure other_module_lookup
t
o improve line wrapping
.
commit
|
commitdiff
|
tree
2008-09-12
J
effrey
Brian A
r
nold
I
nclude ksplice
.
h from userspace to av
o
id code
duplication
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Br
i
an Arnold
Move code fro
m
ksplice
.
h
to ksplice
.
c
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnol
d
Remove obsolete postdir op
t
ion
.
commit
|
commitdiff
|
tree
2008-09-12
Jeff
r
ey
B
rian Arnold
Make
many variab
l
es
unsig
n
ed
.
commit
|
commitdiff
|
tree
2008-09-12
Je
f
frey Br
i
a
n Arnold
S
i
m
plif
y
run_
p
re_
c
mp'
s
variab
l
e
s
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnold
I
mprove kern
e
l mod
u
le's ty
p
es and reloc
a
tion handling
.
commit
|
commitdiff
|
tree
2008-09-12
J
e
ffrey Brian Arnold
I
m
prove o
b
jmanip's types and relocation hand
l
ing
.
commit
|
commitdiff
|
tree
2008-09-12
A
nd
e
r
s
K
aseo
r
g
Add a --id opt
i
on
to ksp
l
ice-create
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
C
ast
K
S
P
L
I
CE_IP
to long
on x86_64
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Replace "%
0
8lx" with "%" ADDR to suppor
t
b
o
th 32-b
i
t
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
T
im
Abbott
Don't mut
a
te th
e
offset
s
i
n
h
a
n
dle_my
s
t_reloc
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Pr
i
nt n
o
ps in run-pre matchi
n
g
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Return t
h
e numb
e
r of no
p
s matched instead of
mutatin
g
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Use ks
d
ebug rather
t
h
a
n printk in ha
n
dle
_
myst_rel
o
c
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
b
bott
M
a
ke debug part of module_pack; rename ks
p
lice_d
e
bug
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Ma
k
e handle_my
s
t_reloc get
a
module_pack
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbo
t
t
R
e
move debug
g
ing ou
t
put f
r
om
u
s
e_module
(
i
t
isn't printed
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Apply para
v
irt
replacements on buggy x86
-
64 ker
n
els
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
er
s
Kaseorg
Have the helper
modul
e
inser
t
f
i
elds dire
c
tly into
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add t
h
e
targ
e
t mod
u
le name to module
_
p
a
c
k
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseor
g
Make
m
a
tch_nop a
n
d run_p
r
e_cmp stati
c
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
o
rg
S
t
ore
s
upe
r
sect pointer
i
n sec
t
ion->userdata
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Remove unu
s
ed bla
n
k_sect_name and b
l
ank_sect_addr from
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs Kaseorg
Store the re
l
o
c
a
tion address in struct ksplice_reloc
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
rs Kaseorg
Remove now-unneed
e
d
g
l
obalize pass
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Remove now-unused parse_and_save code
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
C
ons
o
lidate
System
.
map parsing in kspl
i
c
e
.
pl
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
de
r
s K
a
seorg
Mo
v
e
ksplice_patch generat
i
on into objmanip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Move
k
splice_size generation
i
nto objmanip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
next