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
An
d
ers
K
a
s
eor
g
Inline flags variable to
sym->flags
in filter_symbo
l
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
e
r
s Kaseorg
Do
n
't rena
m
e sect
i
ons
i
n objma
n
ip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Pass addstr arguments
t
o
objmanip s
i
zelist mode
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Ka
s
eorg
Remo
v
e unused
r
eplstr from struct ksplice_patch
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
G
et rid
o
f
u
nused
global
.
r
odata
s
ymbo
l
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Zero the relocation
placeholder address with bfd_put
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s Kaseorg
Crea
t
e relocations with
bfd_insta
l
l_relocation
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
s
eorg
M
e
rge copy_section and wr
i
te_new_section into write_section
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
A
dd
the
s
ection f
l
ags to s
t
ruct supersect
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
A
d
d a
--id option to
k
splice-create
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Cast
KSPLICE_IP t
o
long on x86
_
64
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Repl
a
ce "%08lx
"
w
ith "%" AD
D
R
t
o sup
p
ort both
3
2
-
bit
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s K
a
seorg
Apply pa
r
a
v
irt rep
l
a
cemen
t
s on buggy x86-64 kernels
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Have the helper
modul
e
insert field
s
d
irec
t
l
y
into
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Add the targ
e
t module name
t
o module_p
a
ck
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Make matc
h
_
n
op and ru
n
_
p
re_cmp static
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
S
t
ore
s
u
p
e
rs
e
ct poi
n
ter
in s
e
ction->userdata
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseorg
Remove un
u
s
e
d blank_
s
ect_name and blank_sect_addr from
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseo
r
g
Store th
e
re
l
ocation address in struct ksplice_reloc
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders K
a
seorg
R
e
move now-unnee
d
e
d
globali
z
e pass
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Remove no
w
-unused parse_and_save
c
ode
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
de
r
s Kaseorg
Cons
o
lidate System
.
map par
s
ing
i
n
ksplice
.
pl
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kase
o
rg
Move ksplice_patch
generation into objmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move k
s
pl
i
ce_size gener
a
tion i
n
to objman
i
p
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Mo
v
e ksplice
_
r
el
o
c generation int
o
obj
m
ani
p
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Ad
d
System
.
ma
p
rea
d
in
g
code to objmanip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
New ha
s
h table
i
n
t
erface for ob
j
commo
n
.
h
,
based
o
n
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Add infrastructure f
o
r writing n
e
w secti
o
ns in o
b
j
m
anip
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
as
e
org
Store ali
g
nm
e
nt as an expone
n
t base 2,
l
ike b
f
d
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Convert symbol
t
ables to vec
t
or inte
r
f
ace
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s Kaseorg
Convert sec
t
ion contents a
n
d re
l
o
c
atio
n
t
ab
l
e
s to vector
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s
Kaseorg
New
v
ector interface for objc
o
mmon
.
h
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kase
o
rg
Move
o
bjmanip invocatio
n
s to ksplice
.
p
l
and apply th
e
m
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Make
m
atch_no
p
and
run_pre_cmp no
t
stat
i
c
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
R
e
name
sect
i
o
ns ‘
.
ksplice
.
k
s
pl
i
ce_
f
oo
’
to ‘
.
kspl
i
ce_foo’
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Use loc
a
l
labels i
n
save_using_asm
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kas
e
org
Replace NULL t
e
rminat
o
r
on
r
elocs, sizes, and
p
atches
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Send err
o
rs to stderr
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Ka
s
e
org
Don't
rmmod if CONFIG
_
MO
D
ULE_UN
L
OAD=n
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Clean up kspl
i
ce-view a
n
d ks
p
lice
-
undo interface
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
M
o
v
e the d
e
fini
t
ion of ksplice_kca
l
lo
c
ab
o
ve its u
s
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
C
o
r
r
ect definition o
f
kspl
i
ce_kcalloc(
)
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Repl
a
ce ksplice_mod_find_sym w
i
th module
_
on_each
_
symbol
.
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kas
e
org
Don't wri
t
e
a re
v
erse trampoli
n
e; t
h
e code is about
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Fix
v
irtual_address_mapped() to s
u
ppor
t
l
a
r
g
e pag
e
s
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Remo
v
e @SED@ variable (
a
utoc
o
nf 2
.
59 la
c
ks
A
C_PROG_SE
D
)
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseo
r
g
Get rid of
unused $kid varia
b
le
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Respect the sec
t
ion alig
n
ment instead of hard-coding
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseorg
Replace
deprecated
E
XTRA_CFLA
G
S with CFLAGS_$@
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs
K
aseorg
R
e
place NULL
t
erminator in special_sec
t
ions[] with
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders
K
a
seorg
Fix
j
u
m
pl
e
n ind
e
ntation
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Fix various off-by-one compariso
n
bu
g
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
And
e
r
s
Kaseor
g
Remove the unneeded
c3
,
5b hack fo
r
detecti
n
g end
o
f
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Build ksplice m
o
dule in parallel
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
de
r
s Kaseorg
Replace
t
he la
s
t rsync with cp, gettin
g
rid o
f
the
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
o
r
g
Remove us
e
less br
a
ces
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
a
c
tivate_primary
no longer ne
e
ds to be in m
o
dul
e
_pa
c
k
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Make the helpe
r
c
all the pri
m
ary,
so it doesn
'
t need
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Move modu
l
e init and cl
e
anup i
n
to separate functions
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Formattin
g
fixes
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
A
d
d
ac
t
ivat
e
_primary
t
o module_
p
ack
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eor
g
M
o
ve garbage collect
i
on fr
o
m h
e
lper's c
l
e
a
n
u
p
_module
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Cha
n
g
e
proc
e
ss_ksplice_relocs
to accept rel
o
cs as an
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Kaseor
g
R
emove
unused v
a
riables pos, n f
r
om
_
_reverse
_
pa
t
ches
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
er
s
Kaseorg
Remove unused function only_labe
l
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Remove unnecess
a
ry test of safe
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
K
as
e
org
Remove depe
n
dence on kmodsrc from us
e
rspace tools
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
nders Ka
s
eorg
Add a du
m
my rule f
o
r building link
e
r scr
i
p
ts
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseor
g
Support skipping
the
p
r
e
b
uild compile
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Supp
o
r
t
mul
t
iple
ksplice
m
o
dules in ks
p
li
c
e-cr
e
ate
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Support multip
l
e
ksplice mod
u
les in kspl
i
ce
-
apply
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers Ka
s
eorg
New build system
t
h
at integrates with kernel
makefiles
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseorg
Inclu
d
e 64-bit no-op pat
t
erns fro
m
bi
n
u
t
ils 2
.
17
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
A
nders Ka
s
eorg
C
lean up ru
n
-pre matching loop structure
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Ande
r
s
Kaseorg
Don't look up
.
rodata symbo
l
s in
th
e
k
e
rnel
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Anders
K
a
seorg
R
e
place "k
s
plice: success" with exit statu
s
chec
k
ing
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseorg
Co
r
rect
q
u
o
ti
n
g
for runstr() an
d
run
s
uc()
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Ander
s
K
as
e
org
Chec
k
that
required Makef
i
le arguments ar
e
provided
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
A
n
d
ers
K
aseorg
R
eplace modco
m
mon
.
auto
.
h with
p
reprocessor flag
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
A
n
ders Ka
s
eorg
R
e
move unused
s
tr2
a
ddr f
u
nction
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseorg
Build cleanup
t
o su
p
port separate
s
o
u
rce and build
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Ander
s
Kaseorg
return is not a function
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
A
n
d
e
r
s Kaseorg
A
p
ply kernel coding style using Lindent
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseorg
Get rid of local_safety
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
And
e
r
s Ka
s
eorg
Make k
s
plice_state shar
e
d
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
And
e
rs Kase
o
rg
C
h
ang
e
a
pplied flag to a three-state enum
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
An
d
ers Ka
s
eo
r
g
Use <linux/
l
i
s
t
.
h> A
P
I for reloc_add
r
m
aps a
n
d r
e
loc_namevals
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
A
n
d
ers Kaseorg
Move
i
nternal
s
o
u
t
of mod
c
om
m
on
.
aut
o
.
h
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-20
An
d
e
r
s
Kaseorg
Conver
t
struct ansgl
o
b to
<li
n
ux/li
s
t
.
h> API
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-20
An
d
ers
K
aseorg
C
han
g
e unne
c
es
s
a
ry l
i
st_for_each_ent
r
y_safe to list_for_each
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-20
Ander
s
Kaseorg
Define c
l
ear_list
m
a
cro
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree