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
Inline flags variable to sym->flags in filter_symbols.
2008-09-12
Anders Kas
e
org
In
l
i
n
e flags variab
l
e to sym
-
>fla
g
s
i
n filter
_
symbols
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Do
n
't r
e
name sections in objma
n
ip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kase
o
rg
Pass
a
d
d
s
t
r
arguments
t
o objmanip sizelist mode
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Remo
v
e
u
n
u
sed replstr fr
o
m struct ks
p
lice_pat
c
h
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Ge
t
rid o
f
un
u
sed global
.
rodata
s
ymbols
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey B
r
ian
Arno
l
d
Use looku
p
_
a
d
dress to implement virtual_address_mapped
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbott
Buffe
r
debugging ou
t
p
ut and export it via debugf
s
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Abbott
Add support for
e
xtracting
debugging output
f
r
o
m
debug
f
s
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Chan
g
e faile
d
_to_fin
d
and print_abort to use ksdebug
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbott
P
ass
a module_pa
c
k
t
o c
o
ntains
_
c
a
nary s
o
that it
can
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Replac
e
print_abort("out o
f
m
e
m
o
ry") with the corres
p
onding
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
bott
Rewrite de
b
uggi
n
g output in r
u
n-pre match
i
n
g to use
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Replace remaining calls to printk
w
ith ksdebug
i
n ksplice
.
c
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Z
e
ro
the
r
elocation p
l
aceholder address with
bfd_put
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Create re
l
oca
t
ions with bfd_i
n
sta
l
l
_
r
e
locati
o
n
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
K
a
s
eorg
Merge copy_s
e
ction and write_new_sec
t
ion
i
nto write_section
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s Ka
s
eorg
Add th
e
section flags to struct super
s
ect
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Brian Ar
n
old
Remove te
m
porary my
s
t
ery relocs after ru
n
ning r
u
n_
p
re_cmp
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Give a sli
g
htly b
e
tter err
o
r messa
g
e when
p
r
i
m
ary loa
d
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Avoid conf
l
ict with STR
m
a
cro in
s
ome kerne
l
s
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Tighten
a
regular expression
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Check whether the
t
a
r
g
e
t module
of a ksp
l
i
ce update
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeff
r
ey Br
i
an
Arnol
d
Obtain mod
u
le
_
t
e
xt_address from runnin
g
ke
r
nel via
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arn
o
l
d
Ma
k
e m
a
ny functions static
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Abbott
Restructure other_mo
d
ule_lo
o
kup to i
m
prove line wra
p
pin
g
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
Bri
a
n Arnold
I
n
clu
d
e ksp
l
i
c
e
.
h from userspa
c
e
t
o
av
o
id code dup
l
ication
.
commit
|
commitdiff
|
tree
2008-09-12
J
effrey Bria
n
A
rnold
Move
c
ode fr
o
m kspli
c
e
.
h to ksplice
.
c
.
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
rey
Brian
A
rnold
Re
m
ov
e
o
b
so
l
ete postdir option
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Bri
a
n Arno
l
d
Make
many variables unsigned
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey B
r
ian A
r
nol
d
Si
m
plify run_pre
_
cmp's variables
.
commit
|
commitdiff
|
tree
2008-09-12
J
e
ffrey B
r
ian Arnol
d
Improve ker
n
el module's types and
r
elocation h
a
nd
l
ing
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
B
rian Ar
n
old
Improve o
b
jmanip's typ
e
s
and r
e
loca
t
ion handling
.
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s Kas
e
org
Add a --id option to ksplice-create
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Cas
t
KSPL
I
C
E_I
P
to
long on x86_64
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Replac
e
"%08lx" with
"
%" ADDR
to
s
upport both 32-bit
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Don't m
u
t
a
te the of
f
sets in han
d
le_my
s
t_re
l
oc
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
o
t
t
P
rint n
o
ps i
n
run-pre matching
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m A
b
b
o
tt
Return the number
o
f nops matched instead of mutating
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
b
b
ott
Use
k
sdebug rath
e
r than pr
i
ntk in ha
n
dle_myst_reloc
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbot
t
Make debug part of module_pack; r
e
name kspli
c
e
_de
b
ug
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
Ab
b
ott
Make han
d
le_
m
yst_re
l
oc
g
et a module_pack
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Remove debugging o
u
tput from use_module (
i
t isn'
t
printed
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Appl
y
paravi
r
t rep
l
ace
m
ents on
buggy
x
86-64 kernel
s
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Have the helper
module in
s
ert
f
ields directly int
o
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add the target
module name to mod
u
l
e
_pack
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Make matc
h
_nop and
run_p
r
e
_cmp
s
t
a
tic
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
seorg
Stor
e
su
p
ersect pointer in s
e
c
tion->userdata
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
aseo
r
g
Remove unused blank_sect_
n
a
m
e
a
n
d blank_sect_
a
ddr
f
rom
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Stor
e
the relocation addr
e
s
s
in struct kspl
i
ce_reloc
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseo
r
g
Re
m
o
ve now
-
u
nneeded globalize pas
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
R
e
mov
e
n
ow-
u
n
used parse_and
_
s
ave code
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
K
aseorg
C
onsolidate System
.
map parsing in ksplice
.
pl
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Mov
e
k
splic
e
_patch gene
r
ation
into objmani
p
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
s
eorg
Move
k
spl
i
ce_size generation into objman
i
p
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Mov
e
ksplice_reloc generation in
t
o
objmanip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add
Sy
s
tem
.
map reading c
o
d
e to objma
n
ip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
New hash table interf
a
ce for objcommon
.
h, based on
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Add
i
n
frastructure for writing
new se
c
t
i
on
s
i
n
objmanip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
K
aseorg
Store
alignment a
s
an ex
p
onent b
a
se 2, like b
f
d
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Convert s
y
mbol tables to vector
i
nte
r
face
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
K
a
s
e
o
r
g
Convert section co
n
tents
a
nd re
l
ocation ta
b
les to vector
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
New vector
int
e
r
face
for o
b
jcommon
.
h
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move objmanip invoc
a
tio
n
s
to k
s
p
lice
.
pl and apply t
h
e
m
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
M
ak
e
match_
n
op an
d
run_pre_cmp not static
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nde
r
s Kaseorg
Rename sections ‘
.
kspl
i
ce
.
ks
p
lic
e
_foo’ to ‘
.
ksplice_foo’
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Use loc
a
l labels in save_using
_
asm
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Re
p
lace
N
ULL term
i
nator on r
e
l
o
cs, sizes
,
and patches
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
Kaseorg
Send
e
rrors to stderr
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Je
f
frey Brian
A
rnold
Fix indentatio
n
of b
f
d configure
options
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnold
Remove
obsol
e
te checks
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
D
o
n't rm
m
od if CONFIG_MODU
L
E_UNLOAD=
n
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbo
t
t
Make ks
p
lice-apply n
o
t comp
l
a
in when CO
N
F
I
G_MOD
U
LE_UNLOAD=
n
.
[
andersk@mit.edu
: Simplify lsmod check.]
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Clean up ksplice-view
a
n
d ks
p
li
c
e-undo in
t
e
rface
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseo
r
g
Move the defin
i
tion of ksplice_kcalloc above its u
s
e
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
brute_sea
r
ch th
e
c
o
re kernel i
n
addition to m
o
dules
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbot
t
Print
out t
h
e names
o
f sections that cann
o
t be
matched
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abb
o
tt
Ad
d
debug
g
ing o
u
tput to b
r
ute_sear
c
h_all_mods
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Make se
a
rch_for_match succeed
i
f br
u
te_sear
c
h_
a
ll_mods
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Fix a bug where
b
rute_search only
s
earches at the st
a
rt
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian
Arnold
Remov
e
r
e
dundan
t
check
f
rom brute_s
e
arch
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Brian Arnold
Remove unused fields (sec
t
_ad
d
r
s
a
n
d num_se
c
t_ad
d
rs
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
J
effrey Brian
A
rnold
A
lways find the ksplice_pa
t
ch oldaddr u
s
i
n
g a nameva
l
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y
Brian
Arnold
Improve
K
SP
L
ICE_IP and
KSP
L
ICE_SP t
o
handle ol
d
x86
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
b
bott
Flush the inst
r
u
ctio
n
cache after in
s
t
a
l
ling/removing
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
se
o
rg
C
o
r
r
ect defi
n
ition of k
s
pl
i
ce_kca
l
l
o
c
(
)
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Remove potential memory l
e
ak i
n
accumulate_
m
atching
_
names
.
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
seorg
Replace ksplice_mod_fi
n
d_sy
m
w
i
t
h
m
odu
l
e_on
_
each_sy
m
bol
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbot
t
Merg
e
the tw
o
diff
e
rent ot
h
e
r
_modul
e
_loo
k
up fun
c
ti
o
ns
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
A
d
d
dependencies of ksplice mo
d
ules
o
n mod
u
l
es
t
hey
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
ott
R
e
place pack->helpe
r
with passing a parameter
pre
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
Protect accesses to the li
s
t of all
modules with module_mutex
.
[
andersk@mit.edu
: Use semaphore instead of mutex...
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Replac
e
THIS
_
MO
D
ULE with pack->primary as proc
f
ile
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbott
Repla
c
e
T
HIS_MODULE with a pointe
r
to
the
primary in
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
im
A
bbott
R
eplace
THIS_MODULE->list with the modules list_h
e
ad
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
Kaseorg
Don't
w
r
ite a re
v
erse tram
p
o
l
ine; the code is
about
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eo
r
g
Fix virtual_
a
ddress_mapped(
)
to
support
larg
e
pag
e
s
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
er
s
Kase
o
rg
Remove @SED@ variable
(autoconf 2
.
5
9
l
ack
s
AC_
P
ROG_SED)
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
G
e
t rid of
unused $kid variab
l
e
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Resp
e
ct the section al
i
gnme
n
t inst
e
ad of hard-co
d
ing
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Ka
s
eo
r
g
Replace deprec
a
ted EXTRA_CFL
A
GS with C
F
LAG
S
_$@
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
next