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
Use sect_copy in rm_from_special.
2008-09-12
Ander
s
K
a
s
eorg
Use sect_copy in rm_fro
m
_special
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
A
d
d supersect_mo
v
e functio
n
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add sect_copy macro
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
aseorg
Fix sig
n
error in sect_do_gro
w
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Avoid
s
e
p
a
r
a
te c
o
mputation of string le
n
gths in objmanip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Make many typ
e
s
co
n
st
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Don't ign
o
re new object files; they should b
e
d
e
alt
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nde
r
s Kaseor
g
Re
-
sn
a
p
the
.
KSPLICE fi
l
es for reverted o
b
j
ects
i
n
s
tead
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Chec
k
whether
t
he directory exists before calling mkpath
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
aseorg
Unify _
k
sdebug d
e
f
initi
o
ns
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseo
r
g
Catch _
_
ksd
e
bug errors w
i
th __attribute__((format))
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
e
org
Make
t
h
e rest of ksplice
.
c stati
c
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Move internal ks
p
l
i
ce def
i
nitions
f
rom
k
spli
c
e
.
h to
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Make find_nameval strip
.
text
.
from both
names
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kas
e
org
Clea
n
u
p calls
to print_byte
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Turn
l
i
st_head
pointers i
n
struct
module
_
pack int
o
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Call ini
t
_kspl
i
ce_mod
u
le direc
t
ly from
init_hel
p
er
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Prune addres
s
es in other modules
f
or run-
p
re m
a
tching
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kas
e
org
Make
ksp
l
ice-view list up
d
ates in r
e
verse dependency
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Cop
y
.
config as
p
a
rt of preb
u
ild
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move KSPLICE
_
S
TANDALONE detection a
f
ter
prebui
l
d
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseor
g
Make
s
ure that all entry
symbols have value 0
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Pass
t
he co
n
tents of ORIG_CON
F
I
G
/flags to the make
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kase
o
rg
Cha
n
ge defau
l
t kernel-headers location to be ORIG_CONFIG
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Ka
s
eo
r
g
Build ke
r
nel modules wi
t
h make M
=
kmodsr
c
direct
l
y
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Ca
t
ch writ
e
_string errors wi
t
h
_
_attri
b
ute__((format))
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
K
ase
o
rg
Output more read
a
ble run-pr
e
match debu
g
gi
n
g
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Merge all
t
he collect and kmodsrc-* directories into
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Fix
-
vs
.
_ confusion in m
o
dule names
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Fix NUL
L
derefer
e
n
c
e in
v
irtual_address_mapped
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Replace sh
e
ll comm
a
nds with Per
l
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
R
e
q
u
ir
e
-vv for
e
xc
e
ssivel
y
verbo
s
e ksplice-cr
e
ate
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seor
g
Use get
_
reloc_offset in write
_
ksplice
_
reloc and simpl
i
fy
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
rs K
a
seorg
Add adjust_
p
c fl
a
g to
get_reloc_offset
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Use a rea
s
onable mode for the debugfs node
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
U
s
e
a
n
END{}
b
l
ock to chd
i
r aw
a
y from t
e
mporary dir
e
c
t
ories
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Re
p
l
ace mk
t
emp/mkdte
m
p with
tempdir/tempfile
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers K
a
seor
g
C
l
ean
u
p objmanip debugging files
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
K
a
seorg
Use
F
a
tal and
v
erbose i
n
k
s
plice
.
p
l
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seo
r
g
Ad
d
extremel
y
verbo
s
e
de
b
ugging output back to kspl
i
c
e
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Add inspect ut
i
l
i
ty for viewing K
s
p
l
ice rel
o
cs, sizes
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s
Kase
o
rg
U
s
e
a
v
a
riab
l
e i
n
Makefile
.
in for the objutils list
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Replac
e
ld+
c
op
y
with rename+ld to pres
e
rve the
old
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
s
e
org
Add more files to
the debug dire
c
t
ory in the ksplice
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Use p
e
rl funct
i
ons f
o
r copy, move, mkdir,
e
tc
.
in ksplice
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers
K
aseorg
E
x
port direc
t
ories /sy
s
/
module/ksplice
_
*/ks
p
l
i
ce
rat
h
er
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s
K
aseorg
Don't ti
e
the kernel version
to KSPLICE_
S
T
A
N
D
ALONE
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs K
a
seorg
Allocat
e
saved bytes statically in s
t
ruc
t
ks
p
lice_patch
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Zero the
n
ew section contents
i
n sect_grow
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kas
e
org
Fix deb
u
g
_
blob memory leaks
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
F
ix reloc_addrmap mem
o
r
y
leaks
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseo
r
g
D
efin
e
proc_root to NULL as a we
a
k sy
m
bol (
f
or use
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kase
o
rg
Include <linux/ksplice
.
h> for integrated Ksp
l
ice
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kas
e
o
r
g
k
free(NUL
L
) is d
e
fined to have no
e
ffect
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Cons
o
lidate dup_wolabel cal
l
s
to
compute_ad
d
r
e
ss
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
o
r
g
Make
f
o
r loops consistent
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Don
'
t strip labels from th
e
ksymtab
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
ase
o
rg
Remove unused la
b
el stri
p
pin
g
f
unctio
n
s
f
rom objcommon
.
c
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kase
o
rg
Don't strip label from system_map_name
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Don't rename symbols i
n
objm
a
ni
p
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Degloba
l
ize
a
ll glob
a
l
symbols
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
In
l
in
e
fla
g
s variable to sym->
f
lags
in f
i
lte
r
_symb
o
l
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Don't
r
e
name sections in
ob
j
manip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Pas
s
addstr arg
u
ment
s
to objmanip sizelist
m
ode
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Remove unus
e
d replstr from str
u
ct ksplice_patch
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Get rid
o
f
unused glob
a
l
.
r
o
da
t
a s
y
mbols
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
or
g
Zero
the rel
o
ca
t
i
o
n
placeholder ad
d
ress with
b
fd_put
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
Kaseorg
C
r
e
ate rel
o
cations
with bfd_
i
nstall_relocation
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers
Kaseorg
Me
r
ge c
o
py_section and write_new_sec
t
i
on into
w
rite_section
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseo
r
g
Add the section fla
g
s to struct su
p
ersect
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add a --id op
t
ion to ksplice-c
r
eate
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
C
a
s
t KS
P
LICE_
I
P to long on x86_64
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s
Ka
s
eorg
Repl
a
c
e
"%08lx" with "%" ADDR to su
p
po
r
t
both
3
2-bit
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseo
r
g
Apply paravirt
r
epl
a
cements
on bug
g
y x86-
6
4
k
er
n
els
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
s
eorg
Have
the helper module insert fields
directly in
t
o
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kase
o
rg
Add
th
e
target modu
l
e nam
e
to module
_
pack
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s
Kase
o
rg
Make match_nop a
n
d
run_p
r
e_cmp sta
t
i
c
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Store supersec
t
pointe
r
i
n
s
ec
t
ion->userdata
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Re
m
ove un
u
sed blank_sect_name and b
l
an
k
_sect_addr from
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Store th
e
r
elocation a
d
dre
s
s
in struct
k
s
p
l
i
ce_reloc
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Remove now-unneede
d
globa
l
i
z
e pa
s
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Remove now-u
n
used parse_and_save
c
o
de
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
Consol
i
date
S
ystem
.
map
parsing in kspl
i
ce
.
pl
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
M
o
ve ksplice_p
a
tch gener
a
ti
o
n
into ob
j
manip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kase
o
r
g
Move k
s
p
lice_siz
e
generation in
t
o objmanip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kase
o
rg
Move kspli
c
e_reloc generation in
t
o obj
m
anip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add Syst
e
m
.
map rea
d
ing code to objm
a
nip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
New hash table interface for objcom
m
on
.
h
, based on
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Ka
s
eorg
A
d
d
infrastructure for writing new sections i
n
objmanip
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Ka
s
eorg
S
tore alignment
as
a
n exponent base 2, like bf
d
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Conver
t
symbo
l
t
a
bles to vector i
n
terf
a
ce
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Convert section con
t
e
nts and relocation tables to vector
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
e
o
rg
New vect
o
r interface for
o
bjcommon
.
h
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
d
e
rs Kas
e
o
r
g
Move objmanip invocations to ksplice
.
p
l
and apply them
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Make mat
c
h_nop and
run
_
p
r
e
_cmp not static
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Rename sections ‘
.
kspl
i
ce
.
k
s
p
l
ice_foo’
t
o ‘
.
ksplice_foo’
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Use lo
c
al labels
in save_
u
sing_as
m
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Rep
l
ace NU
L
L te
r
minator on relocs,
s
izes, and pat
c
hes
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Send errors
to std
e
rr
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
der
s
Kaseorg
Don't rm
m
od
i
f CONFIG_MODULE
_
UNLOAD=n
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
next