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
Ande
r
s Kaseorg
In
l
ine
flags variable to sym->flags in filter_sy
m
bo
l
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
e
org
Don't rename
s
e
ct
i
ons in objmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Pass addstr ar
g
u
m
ents to objmanip sizelist mode
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Remove unused rep
l
s
t
r from struct ksp
l
i
c
e_p
a
tch
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders
K
a
s
e
org
Get rid
o
f unused
g
l
obal
.
roda
t
a symbols
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
J
effrey Brian
A
r
nold
Use
lookup_add
r
ess to implement v
i
rtual_ad
d
ress_mapped
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bb
o
tt
Buffer debugging outp
u
t and expo
r
t
i
t v
i
a d
e
bu
g
fs
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbo
t
t
Add support
f
o
r
extracti
n
g
debuggin
g
ou
t
put from debugfs
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bb
o
t
t
Change
failed_to_find and print_abo
r
t
t
o
use ksdeb
u
g
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Pass
a
mo
d
u
le_pack to contains_can
a
ry so that it c
a
n
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m
A
b
b
ott
R
e
place
p
rint_
a
b
ort("out of memory") with the corr
e
sponding
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Abbott
Rew
r
ite debuggi
n
g
output in run-pre matching
t
o use
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbott
Repl
a
ce
r
emaining calls to p
r
intk with ksd
e
bug
i
n ks
p
lic
e
.
c
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Zero
t
he
r
e
locat
i
on
placeholder add
r
e
ss with bfd_pu
t
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Cre
a
te relocations with bfd_install_relocation
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Ka
s
e
or
g
Merge cop
y
_se
c
tion and wri
t
e_
n
ew_sec
t
ion int
o
write_section
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
A
d
d th
e
section flags to struct sup
e
rsect
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffre
y
B
rian Arnold
R
em
o
ve temporar
y
mystery
re
l
ocs after ru
n
ning run_
p
r
e
_cmp
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Give a
s
lightly
better
e
rror
m
essage when primary loading
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m
A
b
b
ott
Avoid co
n
flict with STR macro in some kernels
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Ti
g
hten a re
g
ular
e
xpre
s
s
ion
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
b
bo
t
t
Check
whether the target
mod
u
l
e of a ks
p
lice update
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
r
ey
Brian
A
r
nold
Obtain module_te
x
t_
a
ddress
f
rom r
u
nning kernel vi
a
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
rey Brian
Arnold
Make many
func
t
ions static
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Restructure
o
t
h
er_module_lo
o
k
u
p to improve line wrappin
g
.
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
rey Brian
A
rnold
Include
ksplice
.
h
fro
m
userspace to
a
v
oid code
duplication
.
commit
|
commitdiff
|
tree
2008-09-12
Je
f
f
r
ey Brian
Arnold
Move code f
r
om ksplice
.
h t
o
ksplice
.
c
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Bri
a
n
A
rnold
Re
m
o
v
e
o
bsolete
p
os
t
dir option
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnold
Make many variables unsigned
.
commit
|
commitdiff
|
tree
2008-09-12
J
e
f
f
r
e
y
Br
i
an Arnold
S
i
mplify run_pre_cmp
'
s varia
b
le
s
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnold
Improve kern
e
l mo
d
ule's
t
y
p
es and r
e
location ha
n
dli
n
g
.
commit
|
commitdiff
|
tree
2008-09-12
J
e
f
f
rey Bria
n
Arnold
Improve objman
i
p's types and re
l
ocation handl
i
n
g
.
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Add a --id option to
ksplic
e
-creat
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers
Ka
s
eorg
Cast K
S
P
L
ICE_IP to lon
g
on x86_64
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s Kaseorg
Replace "%0
8
l
x" with "%" ADDR to
s
uppor
t
both 32-bit
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Don
'
t mutate the offsets in
h
andle_my
s
t_reloc
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Print no
p
s in run-pr
e
m
a
tc
h
ing
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
A
bbo
t
t
Re
t
urn the numbe
r
of
nops matched instead of mutat
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Use ksdebug
r
a
t
h
er than printk in ha
n
dl
e
_
m
ys
t
_reloc
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
t
t
Make d
e
bug part of module_p
a
ck; rename ksplice_
d
ebug
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
ott
M
a
ke
h
andle_myst_re
l
oc get a module_pack
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
R
e
move debug
g
i
n
g outpu
t
from use_
m
o
d
u
l
e
(it isn'
t
p
r
inted
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kas
e
org
Apply pa
r
avi
r
t replacements on
buggy x86-64 kernels
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Hav
e
t
he helper modu
l
e ins
e
rt fields directly into
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Ad
d
the target module
name to m
o
dule_pack
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
seorg
Make mat
c
h_nop a
n
d run_p
r
e_cmp st
a
ti
c
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nder
s
Kase
o
rg
Store supersect poi
n
ter in section->userdata
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
rs Kaseorg
Remove unused blank_sect_nam
e
and
b
l
a
n
k
_sec
t
_addr f
r
om
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs Kaseorg
Store the rel
o
cation ad
d
ress in s
t
ruct kspli
c
e_
r
eloc
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
ers
Kaseorg
R
e
move now-unneeded globalize pa
s
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs Kaseo
r
g
R
e
move now-unused pa
r
se_and_save code
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s
Kaseorg
Con
s
olidat
e
System
.
map pars
i
ng
in
k
splice
.
pl
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Move
kspl
i
ce_patch generation into
o
bjmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Move ksp
l
ice_size generation
i
n
t
o o
b
j
m
a
nip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
M
ove
ksplice_rel
o
c generatio
n
i
n
to objmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Ad
d
Syste
m
.
map
rea
d
i
n
g code to o
b
jmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
K
aseorg
New hash table inter
f
ace for
o
bjcommon
.
h
, based on
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Add infrastructure for
w
r
i
ting new
s
e
c
t
i
o
ns in obj
m
anip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
St
o
re
a
lignment
as an exponent
b
ase 2
,
like bfd
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
C
o
nvert symbol tables
to v
e
c
t
or inte
r
face
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Convert section co
n
tents
and relocation table
s
t
o
vect
o
r
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
N
e
w
vec
t
or i
n
t
erface
for objcommon
.
h
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
r
g
Move
o
bjmanip invocations to ksplice
.
pl
a
nd apply them
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Ka
s
eorg
Make m
a
t
c
h_nop
an
d
run_pre_
c
m
p
not
static
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Rename sections
‘
.
ksplice
.
ksplice_foo’
t
o ‘
.
ksp
l
ice_foo’
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
e
org
U
s
e local l
a
bels
i
n save_using_asm
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseo
r
g
Rep
l
ace NULL
t
ermin
a
tor on relocs, size
s
,
and patches
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
de
r
s
K
aseorg
Sen
d
er
r
o
rs
to st
d
e
r
r
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffre
y
B
r
i
an Arnold
Fix i
n
dentation of bf
d
c
o
nfigure options
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
B
r
ian Arn
o
ld
Remove
obsolete
c
heck
s
.
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
ers Kas
e
org
Don't rmmod if CON
F
I
G_MODULE_UN
L
O
AD=n
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim
Abb
o
tt
Make ksplice-
a
pply not complain when C
O
NF
I
G
_
MODULE_
U
NLOAD=n
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders
K
aseor
g
C
lean up ksplice-view and ksplice
-
und
o
inte
r
fa
c
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move the definition of ksplice_kcalloc above its
u
se
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
b
o
t
t
brute_
s
earch t
h
e core kern
e
l i
n
addition to m
o
dules
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Print out the
n
ames
o
f sections that cann
o
t
be matched
.
commit
|
commitdiff
|
tree
2008-09-12
T
im
Ab
b
ott
Ad
d
debugging output
t
o brute_se
a
rch_all_mods
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbot
t
Mak
e
search_
f
or_match succeed
i
f brute_search_all_
m
ods
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Fix
a bug
w
her
e
brute_search only
searc
h
es
at the start
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffre
y
B
rian Arnold
R
e
move redundant check from brute_s
e
arch
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffre
y
Br
i
an A
r
nold
Remove unused f
i
elds
(se
c
t_a
d
drs and num_sect_addrs
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arn
o
l
d
Always
f
ind
t
he ksplice_patch oldaddr using a
na
m
e
v
al
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
Brian Ar
n
old
Improve
KSPLI
C
E_IP and KSP
L
ICE_SP to h
a
ndle old x86
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Flush the instruction
cache
after installing/remo
v
ing
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Correct d
e
fin
i
tion of ksplic
e
_kcalloc()
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim
Abbott
Remove potential
m
e
mor
y
leak in acc
u
mulate_matching_names
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
R
ep
l
a
ce k
s
plice_mod_fin
d
_sym
with module_
o
n_each_
s
ymb
o
l
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Abbott
Me
r
ge the
two dif
f
eren
t
other_
m
odul
e
_
l
ookup functions
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Ad
d
dependenci
e
s o
f
ksplice modules
o
n
modules t
h
e
y
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
A
b
bott
Replace
p
ack-
>
he
l
per w
i
th passing a
parameter p
r
e
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
P
r
otect acces
s
e
s to
t
h
e l
i
st
o
f all
mo
d
ules with
module
_
mutex
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Replace THIS
_
MODULE with pack->primary as procfile
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Replace THIS_MODULE wi
t
h
a
pointer
t
o the primary in
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Replace THIS_MODUL
E
->list with
t
h
e
m
o
d
u
l
es list_head
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
A
nders K
a
seorg
Don'
t
w
r
i
te a
r
everse trampoline;
the c
o
de is abo
u
t
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Ka
s
e
org
Fix
virtual_address_mapped() to
s
up
p
ort la
r
ge pag
e
s
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nde
r
s Ka
s
eorg
Remove @SED@ variable (autoconf 2
.
59 l
a
cks AC_PROG_SED)
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
as
e
org
Get rid of unused $kid
v
aria
b
le
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
R
espect the section alignment instead of h
a
rd-
c
oding
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Repla
c
e deprec
a
ted EXTRA_
C
F
LAGS
with CFLAGS_$@
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
next