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
Make match_nop and run_pre_cmp static.
2008-09-12
Ander
s
K
as
e
o
rg
Make mat
c
h_nop and run_p
r
e_cmp
s
tatic
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Store s
u
persect
p
ointer in section->userdata
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s
Kase
o
rg
R
emo
v
e unused blank_s
e
ct_name and blank_s
e
ct_a
d
dr from
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Store the rel
o
cat
i
on addre
s
s
in struct ksp
l
ice_reloc
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Remo
v
e now-unneed
e
d gl
o
balize
p
ass
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
Ka
s
eorg
Remove now
-
unus
e
d pars
e
_and_save code
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Con
s
o
lidate System
.
m
a
p parsi
n
g
in ksplice
.
pl
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Move
k
splic
e
_patc
h
gene
r
a
t
ion
into
objmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Mov
e
kspl
i
ce_size generation into o
b
jm
a
nip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move k
s
pl
i
ce_reloc generat
i
on i
n
to
o
bjmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Add System
.
m
a
p reading code to objmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nd
e
rs Kaseorg
New hash
t
able interface for obj
c
o
mm
o
n
.
h,
b
ased on
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Add i
n
f
rastructure for wri
t
i
ng
n
ew sect
i
on
s
in objmani
p
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Store alignment as an
expon
e
n
t base
2
, lik
e
bfd
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs
Kaseorg
Conv
e
rt symbol tables
t
o vecto
r
interf
a
ce
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Convert section co
n
tents and re
l
ocati
o
n tables
t
o vector
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
Kas
e
or
g
New vector
i
nt
e
rface
for
o
bjcommon
.
h
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
aseo
r
g
Move objm
a
nip
i
nvoc
a
tions
to ksplice
.
pl
a
nd apply th
e
m
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Mak
e
match_
n
op and run_
p
re
_
cmp not
s
t
atic
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Rename
sections ‘
.
k
s
plice
.
ksp
l
i
ce
_
foo’ to
‘
.
kspli
c
e_foo’
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
U
s
e local labels in save_using_asm
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Replace NULL terminator on r
e
l
ocs, sizes, and patc
h
es
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Send e
r
r
ors to
stderr
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
rey Brian Arnold
F
ix indentation of bfd confi
g
ur
e
options
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian
A
r
n
o
ld
Remove obsolete checks
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Don'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
Tim Abbott
Make ksplice-ap
p
ly not
co
m
plain when
C
ONFIG_MODULE_U
N
LO
A
D=n
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
as
e
org
C
l
ean
u
p
k
splice-view an
d
ksplic
e
-undo interface
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
M
o
ve the definition of ksplice_kc
a
lloc above i
t
s us
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
brute_search the c
o
re kernel in ad
d
it
i
on to modules
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
b
b
ott
Print out the name
s
of s
e
ctions that cannot
b
e
m
a
t
c
hed
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Add debug
g
ing ou
t
put to brute_search_all_mods
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbot
t
Make search_
f
or_match succeed if
brute_search_all_mods
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Fix a bug where b
r
ute_
s
earc
h
only se
a
rches at
the start
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
J
eff
r
ey Brian Arnold
R
emov
e
redund
a
nt check from b
r
ute_search
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Ar
n
old
Remov
e
u
nused fields (sect_addrs
and n
u
m_sect_addrs
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
J
e
ffr
e
y Brian Arnold
Always find the
ks
p
lice_patch oldaddr usi
n
g a nameval
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
Br
i
a
n Arnold
Improve
K
SPLICE_IP and KSPLICE
_
SP to han
d
l
e
old x86
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Flush the instruction cache after in
s
talling
/
r
emo
v
ing
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseo
r
g
Cor
r
ect definiti
o
n of kspli
c
e_
k
calloc()
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
Remove potential memory lea
k
in accumu
l
ate_matching_names
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Repla
c
e ksplice_mod_find_s
y
m wit
h
mod
u
le_on_ea
c
h_sym
b
ol
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
Abbott
Merge the two diffe
r
ent oth
e
r_modul
e
_lookup functio
n
s
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
A
dd dependencies of ks
p
lice m
o
dules
o
n
modules th
e
y
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Re
p
lace
p
a
ck->helper with passing a
p
a
r
ameter pre
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
Protect accesses t
o
the
list of all modules with module_mutex
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
o
t
t
Replace T
H
I
S_MODULE with
p
a
c
k->primary as
procfile
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
Abbott
Replace
THIS_MODULE with a
p
o
i
nter to t
h
e primary in
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m A
b
b
o
tt
Re
p
lace
THI
S
_MODULE->list with the
m
o
d
ul
e
s list_h
e
a
d
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
D
o
n't write a reverse trampoline; the code is about
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Fix
v
i
r
t
u
a
l_address
_
mapped() to support large pag
e
s
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseor
g
Remove @SED@
varia
b
le
(
autoconf 2
.
59 lacks AC_PROG_S
E
D)
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nde
r
s Kaseorg
Get rid of unused
$
ki
d
v
a
r
ia
b
le
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nde
r
s Ka
s
eor
g
R
espect
t
h
e secti
o
n
alig
n
ment instea
d
of hard-coding
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Replace deprecated EXTRA_CFLAGS with C
F
L
A
GS_
$
@
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nder
s
K
a
seorg
Replace NULL
terminato
r
in s
p
ecial
_
se
c
tions[] with
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Fix jumplen
indentation
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
e
or
g
Fix
v
arious of
f
-by-
o
ne comparison
b
ugs
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Remove the unneeded c3, 5b hack for de
t
ecting end
o
f
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffre
y
Brian Arnold
Make boot
s
t
r
a
ppe
d
on
l
y exist
w
hen
KSP
L
ICE_STANDALONE
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Ka
s
e
org
Build ksplice modul
e
in paral
l
el
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Ar
n
old
Make
i
t possible to r
e
move K
S
PLICE_STANDALONE using
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
Abbot
t
Do not use as
s
i
g
n
ment in if condition
i
n
run_
p
re_c
m
p
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbo
t
t
Make failed_to_
f
i
nd no
t
go beyond 80 ch
a
racters
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Use
s
p
acing afte
r
commas in KSPLIC
E
_U
N
IQ macros
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
Re
m
ov
e
unnecessary
p
arentheses in return from ends
_
with
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbot
t
U
s
e linux/uacc
e
ss
.
h, n
o
t asm/uaccess
.
h
except i
n
KSPLICE
_
S
TA
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnold
Add explanation
of map_pri
n
tk che
c
k
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
Abbott
Do not use assignment in if con
d
ition
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Replace
the last
r
sy
n
c with
c
p,
gettin
g
rid
o
f the
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
B
rian Arnold
Remove CONFIG_KALLSYMS_VAL and refor
m
at code
i
nvolvi
n
g
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Abbott
U
se ks
p
lice_debug fu
n
ction for
m
o
s
t debugging output
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Clean up
printing co
d
e in check_task
and check_stack
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbot
t
Us
e
the kernel'
s
m
ax macro
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
Abbott
Mo
v
e printk
stateme
n
t
s out of __r
e
verse_patches
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbo
t
t
Add severity levels to printk
c
alls
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Add error check
i
ng to kmalloc
c
alls
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Use
e
rror codes i
n
stop_ma
c
hine
_
run code
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Remove u
s
ele
s
s braces
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbott
Rename safe
to bootstr
a
pped
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Re
n
ame fla
g
s to pcr
e
l since it
i
s the on
l
y fla
g
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Remove now-un
n
ecessary SA
F
E flag
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Remove unn
e
cessary loca
l
variable
a
ddr i
n
c
heck_task
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Avoid scheduling a ti
m
eout when we suc
c
eed in
pa
t
ch
i
ng
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Remo
v
e
u
nnecessary
p
ro
c
ent
r
y removal when
c
reation
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m
Abbott
Re
m
o
v
e unnecessary have_
a
dd
e
d_val from compu
t
e_address
.
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
b
o
t
t
Use list_for
_
each_entry rath
e
r than list
_
for_each
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnold
Do help
e
r
s
earch_for
_
match proc
e
ss in o
n
e stage
.
commit
|
commitdiff
|
tree
2008-09-12
J
e
ff
r
ey
B
rian Ar
n
old
Star
t
work o
n
integra
t
ed Ksplice (!KSP
L
ICE_STANDALONE)
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arno
l
d
Make safe
an
d
de
b
ug s
t
atic
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
Br
i
an Arn
o
ld
Move definition of v
i
rtual_address
_
mapped towar
d
the
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
rey Bria
n
Arnold
S
w
ap definitions of s
t
ru
c
t
k
s
plice
_
s
ize and s
t
ruct
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Je
f
f
r
ey Brian Arnold
M
o
v
e
f
o
rmer allcommon
.
h prototypes
.
commit
|
commitdiff
|
tree
2008-09-12
Je
f
frey Bria
n
Arnold
M
o
ve find_nameval
a
n
d
find_
a
ddrmap prototyp
e
s
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Bria
n
Arnold
Move handl
e
_my
s
t_rel
o
c pro
t
otype
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Brian Arnold
Move
variables toward the top of kspl
i
ce
.
c
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
activate_primary
no longe
r
ne
e
d
s
to be in modul
e
_pack
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Make the helper call the pri
m
ar
y
,
s
o it d
o
esn't need
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeff
r
ey Brian Arnold
Unify
k
s
plice module sou
r
c
e
into o
n
e C file
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move module
i
nit an
d
cleanup into separ
a
te
f
unctions
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
next