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
Fix various off-by-one comparison bugs.
2008-09-12
And
e
rs Kaseo
r
g
Fix
v
ari
o
u
s
off-by-
o
ne comparison bug
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders
Kaseorg
Remove the un
n
e
eded c3, 5b hack for detecting end of
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jeff
r
ey
B
ri
a
n Arnold
Ma
k
e boots
t
rapped o
n
ly
e
x
i
s
t whe
n
KS
P
LICE_ST
A
ND
A
L
O
NE
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Anders
Ka
s
e
o
rg
B
uild ksplice module
i
n p
a
rallel
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
r
e
y Brian Arno
l
d
M
a
ke it possibl
e
to remove KSPLI
C
E_STANDALON
E
using
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
D
o
not use as
s
i
gn
m
ent
in if
c
onditio
n
in run_pr
e
_cmp
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbott
Ma
k
e failed_to_find not g
o
bey
o
n
d
80
c
haract
e
r
s
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbott
Use spacing after com
m
as
i
n KSPLIC
E
_UNI
Q
macros
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Abbott
R
e
move u
n
nec
e
ssary parentheses
in return f
r
om ends_with
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Use linux
/
uaccess
.
h, not
a
sm/
u
access
.
h except in KS
P
LICE_S
T
A
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
B
rian Arnold
Add explanation of map_printk check
.
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
b
o
t
t
Do not use assignment in i
f
condit
i
on
.
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
seorg
Replace the last rsync
w
ith
cp,
getti
n
g rid of the
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Br
i
an
Arnold
R
emove CONFIG_KA
L
LSYMS_VAL
and r
e
f
ormat code i
n
vo
l
v
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
U
s
e ksplice_debu
g
function for m
o
s
t
debugging 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
A
bbot
t
Clean up printi
n
g c
o
de in c
h
eck_t
a
sk and check_stack
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Us
e
the kernel's ma
x
macro
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbo
t
t
M
o
v
e
printk
s
tatements
o
ut of __r
e
v
e
rse_pat
c
hes
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbot
t
Add severity lev
e
ls
t
o p
r
i
ntk
c
a
lls
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Add error checking to
k
mal
l
o
c ca
l
ls
.
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
bott
Use error
codes in sto
p
_mach
i
ne
_
run c
o
de
.
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
K
aseorg
Remove us
e
less braces
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Abbott
Rena
m
e safe to
b
o
o
t
stra
p
ped
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m Ab
b
ott
Rename flags to p
c
rel sinc
e
i
t is the only flag
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbot
t
Remove now-unnecess
a
ry SAFE
fl
a
g
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbott
Remo
v
e unnecessary loc
a
l va
r
iable ad
d
r in check_task
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Avoid
s
c
heduling a
time
o
ut when we succee
d
in patch
i
ng
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Remove unnece
s
sary
proc e
n
try removal when creation
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Remo
v
e unnecess
a
r
y have_adde
d
_va
l
from compute_addres
s
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abb
o
t
t
Use list_for_eac
h
_ent
r
y
rather t
h
an list
_
for_each
.
commit
|
commitdiff
|
tree
2008-09-12
Jeff
r
e
y
Brian Arno
l
d
Do help
e
r
sea
r
ch_for_
m
atch proc
e
s
s
in one stage
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
B
rian Arno
l
d
Start wor
k
on in
t
e
g
r
ated Kspli
c
e (!KSPLICE_STANDALONE)
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey B
r
ian Arnold
Make safe
a
nd debug stat
i
c
.
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
rey
B
ria
n
Arnold
Move d
e
finiti
o
n
o
f vi
r
tual_address_m
a
pped toward the
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Bria
n
Arnold
Swap
d
efinit
i
ons o
f
struct ksplice_size and s
t
ruct
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Je
f
frey Brian Arnold
Move former allco
m
mon
.
h prot
o
types
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Bri
a
n Arnold
Move find_nameval and find_addrma
p
prototyp
e
s
.
commit
|
commitdiff
|
tree
2008-09-12
J
effrey Br
i
an Arno
l
d
Move handle_myst_
r
eloc prototyp
e
.
commit
|
commitdiff
|
tree
2008-09-12
J
e
f
frey
B
r
i
an Arnold
Move va
r
iables tow
a
rd the top of kspli
c
e
.
c
.
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs K
a
seorg
activate_p
r
imary no longer needs to be in module_pack
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Ka
s
eorg
Mak
e
th
e
helper
call the primary,
s
o it doesn't
nee
d
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
J
e
ffrey Brian Arnold
Unify kspli
c
e mo
d
ule source i
n
to on
e
C
file
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Mov
e
module in
i
t
and
cleanup into separate functions
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jeffre
y
Brian Arnold
Mo
v
e ksplice_reloc flags bits
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Bria
n
Arnold
kern
e
l_lookup
r
equires CONFIG_KALLSY
M
S
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Bri
a
n
Arn
o
ld
Make run_pre
_
c
m
p, match_nop, and jump
l
e
n
st
a
tic
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
Brian Arnold
Make CONFIG_
K
ALLSYMS_VAL a macro
.
commit
|
commitdiff
|
tree
2008-09-12
A
n
ders Kaseorg
Forma
t
ting
f
ixes
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Add
activate
_
prim
a
ry
to
m
odule_p
a
ck
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian
A
r
n
ol
d
Move global variables into struct m
o
dule_pack
.
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs K
a
seorg
M
o
ve
garbage collection fr
o
m
h
elper'
s
cleanup_module
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Ch
a
nge pr
o
c
ess_ks
p
l
i
ce_relocs to a
c
cept relocs
as an
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
B
r
ian
Arnold
Add #endif
c
omments
.
commit
|
commitdiff
|
tree
2008-09-12
A
nders Kaseorg
Remove
u
n
used v
a
riables p
o
s, n
f
rom __reverse_p
a
tches
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseo
r
g
Re
m
ove unused f
u
nction only_label
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian
A
r
nold
Change
s
tarts_with and ends_with
to f
u
n
c
t
io
n
s
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnol
d
D
efine kcalloc() as a mac
r
o
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian A
r
nold
Don't bother testing KSPLICE_A
P
PLIED in check
_
ad
d
ress_for_co
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kase
o
rg
Remov
e
u
n
necessary te
s
t of safe
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Bri
a
n Arnold
Ren
a
me ksplic
e
_do_{primary,
h
elper} to a
c
ti
v
a
t
e_
{
p
r
i
mary
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kas
e
org
Remove d
e
pendence on
k
modsrc from userspace too
l
s
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
J
e
ffrey Brian Arnold
Rename kspl
i
ce_
o
n
_
each_t
a
s
k to c
h
eck_each_task, removing
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Only compute adjustment
once for
e
ach
reloc
.
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
aseorg
Add a dummy rul
e
for
bu
i
lding
linker sc
r
ipts
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders
Ka
s
eorg
Support skip
p
ing the prebu
i
l
d
compile
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
S
upport multi
p
le k
s
plice mo
d
ules in ksplice
-
create
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseor
g
S
upport multiple ks
p
l
i
c
e
mod
u
les in ksplice-apply
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
New build s
y
stem t
h
a
t
integr
a
tes with kerne
l
makefiles
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
Je
f
f
r
ey
B
rian Arnold
Ksplice 0
.
8
.
7
commit
|
commitdiff
|
tree
2008-06-21
Anders Kas
e
or
g
Inclu
d
e 64-bit no-
o
p patterns from binutil
s
2
.
17
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
HIRAN
O
Takahito
Update the nop table for bi
n
utils 2
.
18
[
andersk@mit.edu
: Fix off-by-one error.]
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
Ande
r
s
Kaseor
g
Cle
a
n
up run-pre
matching lo
o
p structure
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
HIRANO Takahito
Support 64 bit relocations
[
andersk@mit.edu
: Remove trailing whitespace.]
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
Jeffrey Br
i
an
A
rn
o
l
d
Remove obso
l
ete thi
s
_
m
o
dule_lookup function
.
commit
|
commitdiff
|
tree
2008-06-21
Anders
Kaseorg
Do
n
't look up
.
rodata symb
o
ls
in t
h
e kernel
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
An
d
e
rs Kaseorg
Replace "
k
splice: success" wi
t
h exit status checking
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseo
r
g
C
orre
c
t
quo
t
ing
f
o
r runstr(
)
and runsuc()
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
Ander
s
Kaseorg
Check that requi
r
ed Makefile argume
n
ts are provided
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
And
e
rs
Kaseorg
R
eplace modco
m
mon
.
au
t
o
.
h wi
t
h prep
r
ocessor flags
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseorg
Remove unuse
d
str2addr function
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
Ander
s
K
aseo
r
g
Bui
l
d cleanup to support se
p
arate sour
c
e and b
u
i
l
d
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
Anders K
a
seor
g
r
e
turn is not a
f
u
nction
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
A
nde
r
s Kaseorg
Ap
p
ly kernel co
d
i
n
g style us
i
n
g Lindent
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
Jeffrey B
r
ian Arnold
Re
n
ame glob variables
.
commit
|
commitdiff
|
tree
2008-06-21
And
e
rs Kaseorg
Get
r
i
d
o
f local_safety
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
Anders
K
a
seorg
Make ksplice_s
t
ate shar
e
d
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
Anders Ka
s
eorg
C
h
a
nge applied flag t
o
a three-state enum
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
And
e
r
s
Kaseorg
Us
e
<lin
u
x/
l
is
t
.
h> API for
r
eloc
_
addrmaps and relo
c
_namevals
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kase
o
rg
Move internals o
u
t
of modco
m
mon
.
auto
.
h
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-20
Ande
r
s
Kaseor
g
Convert
s
tru
c
t ansglob to <linux/
l
ist
.
h> API
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-20
Anders
K
ase
o
rg
Change unnecessary list_for_each_ent
r
y_
s
afe t
o
list_
f
or_
e
ach
.
.
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree
2008-06-20
Anders Kaseorg
Define clear_l
i
st
macro
.
Signed-off-by: Anders Kaseorg <
andersk@mit.edu
>
commit
|
commitdiff
|
tree