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
Remove debugging output from use_module (it isn't printed in the kernel).
2008-09-12
Tim Abbott
Remove
debugging ou
t
put fr
o
m use_m
o
dule (
i
t isn't printed
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Apply par
a
virt replacements on buggy x86-64 kernels
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseo
r
g
Ha
v
e the
h
elper module insert
f
ie
l
ds directly into
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Add
t
he ta
r
g
et module nam
e
t
o
module_pa
c
k
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Ma
k
e match_nop a
n
d run_p
r
e
_
cmp s
t
a
t
ic
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Store superse
c
t
p
ointer in section->userdata
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
ase
o
rg
Remove u
n
used blank_sect_
n
ame and blank_sect_addr fr
o
m
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
er
s
Kaseo
r
g
S
tore the relocation address in str
u
ct kspl
i
ce_reloc
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nd
e
rs Kaseorg
Remove now-
u
nneed
e
d globalize
p
ass
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Ka
s
eorg
Remove now-unused pars
e
_and_save code
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Con
s
olidate System
.
map parsing in k
s
plice
.
pl
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
e
or
g
Move ksplice_pat
c
h
g
e
n
e
ration into objmanip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
o
rg
Move k
s
p
lic
e
_siz
e
ge
n
e
ration int
o
obj
m
anip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseor
g
M
ove
k
s
p
l
ice_reloc generation i
n
to objmanip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s Kaseo
r
g
Add Sy
s
tem
.
ma
p
reading c
o
de to objm
a
nip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
New hash ta
b
l
e
inter
f
ace for objcommon
.
h, base
d
on
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
se
o
rg
Add
i
nfr
a
structure fo
r
w
rit
i
ng new sections in objmanip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Store alignment as an exponent base 2, li
k
e bfd
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Ka
s
eorg
C
o
nvert symbol tab
l
es to vecto
r
interface
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kase
o
rg
C
onvert secti
o
n con
t
e
nts and
relocati
o
n t
a
bles to
vecto
r
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
New vec
t
or
i
nterface for objcom
m
o
n
.
h
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Mov
e
ob
j
manip
invocations to ksplice
.
pl and
a
p
ply t
h
em
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders K
a
s
e
org
Mak
e
match_nop and run_pre_cmp not static
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Rename sections ‘
.
k
sp
l
ice
.
ksplice_foo
’
to
‘
.
ks
p
lice_foo’
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kas
e
org
Use l
o
c
a
l l
a
bels in sa
v
e_u
s
ing_a
s
m
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kase
o
r
g
Re
p
lace
N
ULL term
i
n
at
o
r on
relocs,
sizes, a
n
d patches
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Send
e
rrors
t
o
stderr
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
B
rian Arnol
d
Fix inde
n
tation of bfd config
u
re o
p
tions
.
commit
|
commitdiff
|
tree
2008-09-12
Je
f
frey Brian
Ar
n
old
Re
m
o
v
e
o
bsolete che
c
ks
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Don't
r
mmod if CO
N
FIG_M
O
DULE
_
UNLOAD=n
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Ma
k
e ks
p
l
i
ce-apply not c
o
mplain when CONFIG_MODULE_UNLOAD=n
.
[
andersk@mit.edu
: Simplify lsmod check.]
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
e
org
Clean u
p
ksplice-vi
e
w and
k
splice-undo
i
nterf
a
ce
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
aseorg
M
o
v
e the defin
i
ti
o
n of
ksplic
e
_kca
l
loc a
b
ove it
s
use
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
bru
t
e_sear
c
h the
c
ore ke
r
nel in ad
d
ition
to modules
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Print out the n
a
mes
of sections that cannot b
e
m
atche
d
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
A
dd debu
g
ging output to br
u
te_search_all_
m
ods
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
A
b
bott
Make sea
r
ch_for_ma
t
ch succeed if br
u
te_search_al
l
_mods
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Fix a bug wh
e
re b
r
ute_sea
r
ch only searche
s
at the start
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
re
y
Br
i
an Arnold
Remove redun
d
ant
ch
e
ck from
b
rute_search
.
commit
|
commitdiff
|
tree
2008-09-12
Jeff
r
e
y B
r
ian A
r
nold
Remo
v
e
u
nused fields (sect_ad
d
r
s
and num_s
e
ct_a
d
drs
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
J
effrey Bria
n
Arno
l
d
Alw
a
ys find t
h
e
ksplice_
p
atch ol
d
addr usi
n
g
a
n
a
meval
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnold
I
m
prove KSPLICE_IP and KSP
L
ICE_SP to ha
n
dle
o
ld x86
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Flus
h
the
i
nstr
u
cti
o
n
cache after installing/re
m
oving
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Co
r
r
e
ct definition of ks
p
lice_kcalloc()
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
b
bot
t
R
emove potential memo
r
y le
a
k in accumulat
e
_matching_
n
ames
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Re
p
l
ace ksplice_mod_find_sym
w
i
th module_on_e
a
ch_symbo
l
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Ab
b
ott
Merge
t
he two different
other_module_lookup
fun
c
tion
s
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbot
t
Add
depe
n
dencies of kspli
c
e
m
odules on m
o
dul
e
s t
h
ey
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
R
epl
a
ce pack
-
>helper
with passing a parameter
p
re
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m
A
bbott
Pr
o
tect acc
e
ss
e
s t
o
t
h
e list of all m
o
d
ules with module_m
u
tex
.
[
andersk@mit.edu
: Use semaphore instead of mutex...
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
bott
Re
p
lace THIS_M
O
D
ULE with pack->primary a
s
procfi
l
e
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m
Abb
o
t
t
Replace
T
HIS_M
O
DULE with a po
i
nter
to the primary in
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
im
A
bbott
R
epl
a
ce T
H
IS_MODUL
E
->li
s
t w
i
th the
modu
l
es
list_head
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Don't write
a reverse trampoline; the code is
a
bout
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Fix virtual_
a
ddress_map
p
e
d
(
) to support large pages
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Remov
e
@S
E
D
@
variable (a
u
t
oconf 2
.
59 lacks AC_PROG_SED)
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
or
g
Get rid of unused $kid variable
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Respect the section alignment
i
nstead
o
f ha
r
d-cod
i
ng
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Replace d
e
precated EXTRA_CF
L
AGS wi
t
h CFLAGS
_
$
@
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Repla
c
e NULL terminator in spec
i
al_sect
i
ons[]
w
i
th
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Ka
s
e
o
rg
Fix jumple
n
inde
n
tation
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
Kaseorg
Fi
x
various of
f
-by-on
e
comparison bugs
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
R
emove the unneeded c3, 5b hac
k
for
d
etecting end of
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
rey Brian Arnold
Make bootstrapped only exist when KSPLI
C
E
_STA
N
D
A
LONE
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Ka
s
eorg
B
u
ild ksplice modul
e
i
n
parallel
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
rey Brian Arnold
M
ake it pos
s
ible to re
m
ove KSPL
I
C
E_
S
T
ANDALONE
us
i
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Do not use
assi
g
nm
e
nt in if
condition i
n
run_
p
re
_
cmp
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Make faile
d
_
t
o_fi
n
d
not go beyo
n
d 80 character
s
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
Abbo
t
t
U
s
e spacing after comm
a
s in KSPL
I
C
E
_UNIQ macros
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Remove
unnecess
a
ry p
a
re
n
t
heses i
n
ret
u
rn from
e
n
d
s_w
i
th
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbo
t
t
U
s
e
l
inux/uaccess
.
h, not asm/uacc
e
ss
.
h ex
c
ep
t
in KS
P
LICE_STA
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Brian Ar
n
old
Add ex
p
lanation of map_p
r
i
n
tk
c
he
c
k
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
b
bot
t
D
o
not use assi
g
nme
n
t in if cond
i
t
i
on
.
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
Kaseorg
Replace the l
a
st
r
s
y
n
c
w
ith
c
p
, g
e
t
ting rid of th
e
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Br
i
an Arnold
Remo
v
e CONF
I
G_KALLSYMS_VA
L
and
refor
m
at code involving
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Use
k
s
p
l
ice_debug
function for
most
d
ebugging output
.
[
andersk@mit.edu
: Define ksplice_debug() as a macro...
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Clean
u
p
printing
code in check_
t
ask and check_s
t
ack
.
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
bott
Use
the k
e
rnel's max ma
c
ro
.
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
bott
M
ov
e
print
k
s
t
atements out
of __reverse_patches
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbott
Add
s
ever
i
ty
l
evels
t
o
printk c
a
ll
s
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Abbo
t
t
Add error checking to k
m
allo
c
c
alls
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Abb
o
tt
Use e
r
ror codes in
stop_mach
i
ne_run cod
e
.
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Remov
e
usele
s
s braces
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
R
ename saf
e
to boots
t
rapp
e
d
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Renam
e
f
l
ags to pcrel since it is
th
e
o
n
ly flag
.
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
bott
Remove now-unn
e
cessary SAFE f
l
ag
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
b
bott
Remov
e
unnecessary loc
a
l var
i
able addr in chec
k
_ta
s
k
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
A
v
oid sch
e
du
l
ing
a
timeout when we
s
ucceed
i
n patching
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Ab
b
ott
Remov
e
unn
e
c
es
s
ary proc entry
r
emo
v
a
l
wh
e
n
c
reation
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Remove
unnec
e
s
sary h
a
ve
_
a
dded_va
l
f
r
om compute_address
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbott
Use list_for
_
each_ent
r
y rather than li
s
t_for_each
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Bria
n
Arnold
Do helpe
r
se
a
rch_for_
m
a
t
ch
p
rocess
in one stage
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnold
St
a
rt work on inte
g
rate
d
Kspl
i
ce (!K
S
PLICE_ST
A
NDALONE)
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Brian Arn
o
ld
M
ake safe and deb
u
g static
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnold
Move definition of virtual_addre
s
s_
m
apped tow
a
r
d
the
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
r
e
y
Bria
n
Arnold
Swa
p
d
efinitions of struct kspl
i
c
e
_
size
and stru
c
t
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeff
r
ey
Brian Arnold
Mo
v
e former allcommon
.
h prototyp
e
s
.
commit
|
commitdiff
|
tree
2008-09-12
Je
f
fr
e
y Bri
a
n Ar
n
old
M
o
ve
find_namev
a
l
and find
_
addrmap prototypes
.
commit
|
commitdiff
|
tree
2008-09-12
J
e
ffrey B
r
i
a
n
Arnold
Move ha
n
dle_myst_reloc prototype
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
Bri
a
n Arnold
Mo
v
e
variables toward the top of ksplice
.
c
.
commit
|
commitdiff
|
tree
next