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
Merge objmanip sizelist mode into keep mode.
2008-09-12
An
d
ers Kaseor
g
Merge objmanip s
i
zelist m
o
de int
o
keep mode
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Merge obj
m
anip rmrelocs mode into
k
eep-prim
a
ry mo
d
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Merge
o
bjmani
p
g
l
obalize-new
mode into ke
e
p-pr
i
mary
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
M
erge objma
n
ip e
x
port
m
ode into keep-pr
i
m
ar
y
mode
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders
Kas
e
o
r
g
U
se k
i
d instead o
f
addstr_all
i
n
objm
a
n
i
p ex
p
ort mode
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Ge
t
ri
d
of addstr_sect an
d
addstr
_
sect_pr
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers
Kaseorg
M
a
ke ob
j
manip read
di
r
ectly fr
o
m the obj
d
iff output
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
G
e
t rid of the usele
s
s bit size
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Pr
e
ser
v
e the timest
a
mp on
the
.
conf
i
g file
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
C
o
r
r
ect the __ksdebug
reallocation
log
i
c
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders K
a
seorg
Remove the remain
i
ng "
o
ut of memory
"
printks
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Creat
e
OUT_OF_M
E
MO
R
Y abort_cause
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Convert ma
n
y return types to ab
o
rt_t
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders K
a
seorg
R
e
nam
e
NONE to OK
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Turn en
u
m ksplice_abort_c
a
use_enum into t
y
p
e
def abort
_
t
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
seorg
Clean up ks
p
lice_sysf
s
_
init ret
u
rn val
u
e
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Return -
E
PERM
i
nstead of
-1 from register_kspli
c
e_mod
u
le
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders K
a
se
o
rg
On
l
y ru
n
make prepare in sn
a
p mode
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Add a missing space
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
A
ll
o
cate the bu
n
dle with
kc
a
l
l
oc
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Ma
k
e ksplice_pack static
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nde
r
s Kaseorg
Clarify allocation of
fini
s
hed array
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Ren
a
me temporary var
i
able p
t
o p
a
ck1
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseor
g
Move new_superse
c
ts
into stru
c
t
superbfd
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Comp
a
re sectio
n
s instead
of section names
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
We already know
w
e w
a
nt outp
u
t sections
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders K
a
seorg
U
se s
e
ct_copy in rm
_
so
m
e_exports
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Use s
e
c
t
_c
o
py in rm_
f
ro
m
_spe
c
i
al
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Ka
s
eorg
Add supersect_move f
u
nction
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Add
sect_c
o
py macro
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
K
aseorg
F
i
x
s
ign e
r
r
or i
n
sect_do_gr
o
w
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
o
r
g
Avoid
separate
c
omputation of string
l
e
n
gths in
objman
i
p
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Make many types const
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s Kaseorg
D
on't ignore new object files; they shou
l
d be dealt
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Re
-
s
n
ap
t
he
.
KSPLICE file
s
for reverted obj
e
cts
i
nstead
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseor
g
Che
c
k wh
e
ther
the direc
t
ory
e
xists before cal
l
i
ng mkpath
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Unify _ksdebug definitions
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
rs K
a
seorg
Catch __ksdebug er
r
o
r
s
with __attribut
e
__(
(
f
ormat))
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
r
s
K
a
s
eorg
Make the
r
est of ksplice
.
c
static
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
eorg
Move intern
a
l kspli
c
e de
f
i
nitio
n
s
f
rom
k
s
pl
i
ce
.
h to
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
Kaseorg
Make find_nameval s
t
rip
.
text
.
from both name
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
K
aseorg
Cleanup call
s
to pri
n
t_by
t
es
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
Kaseorg
Turn list_head poi
n
ters in struct mod
u
le_pack into
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Call
i
nit_ksplice_module
d
ir
e
ctly fro
m
i
n
i
t
_he
l
p
er
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Prune addresses in other modules
for run-pre
m
a
tc
h
i
n
g
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseo
r
g
M
ake ks
p
lice-view
l
ist
u
p
d
ates in
r
everse
d
ependen
c
y
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Copy
.
confi
g
a
s part of
p
rebuild
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Ka
s
eorg
M
ove KSPLICE
_
STANDALONE d
e
te
c
tion
after prebuild
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Make su
r
e
t
hat all entry sym
b
ols have val
u
e 0
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
rs Kaseor
g
Pass
t
he cont
e
nts of
O
RI
G
_
CONFIG
/
flags to th
e
make
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kase
o
rg
C
hange defau
l
t kernel
-
h
e
aders location to
b
e
ORIG_CONF
I
G
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseo
r
g
Bui
l
d k
e
rne
l
modules w
i
t
h
make M=kmodsrc di
r
ectly
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseor
g
Ca
t
ch w
r
ite_s
t
rin
g
errors with __attribute_
_
(
(forma
t
)
)
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Output
more readable
r
u
n-pre match
d
ebugg
i
ng
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs K
a
seorg
Merge all t
h
e collect and kmodsrc-* dire
c
tories into
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
F
i
x -
vs
.
_ confusion
i
n module names
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
F
i
x NULL dereference i
n
v
irt
u
al_addres
s
_
mapped
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s K
a
seo
r
g
Replace shell
c
o
mmands
w
i
th Perl
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Require -vv for
e
xcessiv
e
ly verbose ksplice-create
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Use get_r
e
loc_offs
e
t
in
write
_
ksplice_reloc
and simp
l
ify
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
Kase
o
r
g
A
dd adjust
_
pc flag to get_reloc_offset
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nde
r
s
K
aseorg
Use a reasonable
m
ode f
o
r the
d
e
bugf
s
node
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Use
a
n EN
D
{} block to chdir away
f
r
o
m temporary direct
o
ries
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s K
a
seorg
Replace mktemp/mkd
t
emp
with tempdir/tempfile
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kas
e
org
Clean up objmanip debugg
i
ng files
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Use
F
atal and
verb
o
s
e
in ksplice
.
pl
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
Add extre
m
ely verb
o
se
d
ebugging output
b
ack to ksplice
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nd
e
rs Kaseorg
Add in
s
pect utility for viewing Kspli
c
e relocs, sizes
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Use
a
vari
a
ble
in
M
akefile
.
in for the objutils list
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
K
a
s
e
org
Repla
c
e ld+copy wi
t
h rename+ld to pr
e
ser
v
e the old
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nde
r
s Kaseorg
Add more fi
l
es to the debug directory in
t
he ksplice
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Use
perl functions
f
or
c
opy,
mov
e
, mkd
i
r, etc
.
in ksplice
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Export directo
r
ies
/
sys
/
mo
d
ule/ksplice_*/ksp
l
i
c
e
rath
e
r
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s Kaseorg
Don'
t
t
i
e the kernel
ver
s
io
n
to
KSPLIC
E
_STANDAL
O
NE
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
e
org
Allocat
e
sa
v
ed bytes s
t
atica
l
ly in struc
t
ksplice
_
patch
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders
K
aseorg
Zero the new se
c
tion contents i
n
sect_g
r
ow
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Fix debug
_
blob
m
emory leaks
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Fix r
e
loc
_
addrmap memor
y
leaks
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Define
proc_root to NULL as a weak symbol
(
for use
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Inc
l
ud
e
<linux/
k
spli
c
e
.
h>
f
or in
t
egrated Ksplice
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s
Kaseor
g
kfree(NULL) is defined to have no
e
f
fect
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Consolidate dup_wolabel
ca
l
ls
to compute_address
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Make
f
o
r l
o
o
ps
consistent
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nd
e
rs K
a
seo
r
g
Don't str
i
p labe
l
s
from the k
s
ymtab
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Remove u
n
used lab
e
l
stripping fun
c
t
i
ons from objcommon
.
c
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Don
'
t strip label from sys
t
e
m
_map_
n
ame
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kas
e
org
Don't rename sy
m
bo
l
s in objma
n
ip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
eorg
Deglo
b
alize all global symb
o
ls
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
ers
K
aseorg
Inli
n
e flags variable
t
o sym->flags in f
i
lter_symbols
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
D
on't rename sections
in
objmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Pa
s
s a
d
dst
r
a
r
guments
t
o objmanip
sizelist mode
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
R
emove unused replstr from struct ksplice_patch
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Get rid of unused glo
b
al
.
rodat
a
symbols
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Z
ero the reloc
a
tion
placehol
d
er address
with
b
fd_pu
t
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Creat
e
relocati
o
n
s
with bfd
_
instal
l
_rel
o
cation
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Merge copy
_
section and write_new_secti
o
n
into
w
ri
t
e_section
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Ad
d
th
e
section f
l
ags to
stru
c
t s
u
perse
c
t
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
K
a
s
eorg
Add a
-
-i
d
option t
o
ksp
l
ice-create
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Cast
K
SPLICE_IP to
l
o
n
g on x86_64
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
e
o
rg
R
e
pla
c
e
"%08l
x
" wi
t
h "%" ADDR to sup
p
ort both 32-bi
t
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
next