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
Anders
K
as
e
org
Fix
v
arious off-by-one compari
s
o
n
bu
g
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
o
rg
Remove the unneeded c3, 5b hac
k
for detecting end of
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeff
r
ey B
r
ian A
r
nold
Ma
k
e bo
o
tstrapped o
n
ly ex
i
st when KSPLICE_STANDAL
O
N
E
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Anders
K
a
s
eorg
Build ksplic
e
module in
para
l
lel
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Brian
Arnold
Mak
e
i
t poss
i
ble to remove KSPLICE_STANDALONE using
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Do not use a
s
signment in if condition in run_p
r
e_cmp
.
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbott
Make f
a
iled_to_find not go beyon
d
80 characters
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Use s
p
acin
g
afte
r
comma
s
in
KSPLICE
_
UNIQ macros
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
Remove unne
c
essary
p
arentheses in return from ends
_
wit
h
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Use linux/uaccess
.
h, not
asm/uacces
s
.
h except in KSPLIC
E
_STA
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Je
f
fre
y
B
ria
n
Arnold
A
d
d exp
l
anation of map_printk check
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Do n
o
t use assign
m
ent in if
condition
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Replace t
h
e last rsyn
c
with cp,
g
e
t
tin
g
r
i
d of the
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian A
r
n
old
Remove
CON
F
IG_KALLSYMS_VAL
and reformat
c
o
de
involving
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abb
o
tt
Use ksp
l
i
c
e_debug fun
c
tion for most d
e
buggin
g
output
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ti
m
Abbott
Clean
up printing
c
ode i
n
check_tas
k
and check_stack
.
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
bot
t
Use the
kernel's max mac
r
o
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Ab
b
o
t
t
Move printk statements out of _
_
reverse_patches
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Abbo
t
t
Add severity l
e
vels to
p
rintk
calls
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Abbott
Add er
r
or c
h
ecking to kmalloc calls
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
Abbott
U
se error codes in stop_
m
a
c
hine
_
r
un cod
e
.
commit
|
commitdiff
|
tree
2008-09-12
Anders
Ka
s
eor
g
R
e
m
o
v
e useless braces
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Tim A
b
bott
Rename
s
afe to bootstrapped
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Rename
flags to pcrel
s
ince it is t
h
e only flag
.
commit
|
commitdiff
|
tree
2008-09-12
T
i
m
A
b
bott
Remove now-unneces
s
ary SAFE
f
l
ag
.
commit
|
commitdiff
|
tree
2008-09-12
T
im Ab
b
ott
Remove unnecessa
r
y local variable addr in c
h
eck_task
.
commit
|
commitdiff
|
tree
2008-09-12
Tim
A
bbott
Avoid
s
che
d
ulin
g
a
timeout when we succeed
i
n patc
h
i
ng
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbot
t
R
e
move u
n
necessary proc
entry removal when creation
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Remove un
n
ecessary have
_
adde
d
_val fr
o
m
comp
u
te_
a
ddress
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
Use list_for_each_entry rat
h
er t
h
an lis
t
_for
_
each
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arn
o
ld
Do helper search_fo
r
_match pr
o
cess
in one
s
t
age
.
commit
|
commitdiff
|
tree
2008-09-12
Jef
f
rey Brian Arnold
St
a
rt work on
i
ntegrated
Ksp
l
i
c
e
(
!
K
SPLI
C
E_STAN
D
ALONE)
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arno
l
d
Make safe and debug static
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Bria
n
Arnold
Mo
v
e definiti
o
n of virtual_add
r
e
ss_ma
p
ped toward t
h
e
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Bria
n
Arnold
Swa
p
def
i
n
i
t
i
o
ns of struct
k
splice_size
and struct
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Je
f
f
r
ey B
r
ian Ar
n
ol
d
Mo
v
e former al
l
c
o
mmon
.
h prototypes
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Brian Arnold
Move find_nameval an
d
f
in
d
_addrmap prototypes
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnold
M
ove
h
andle_
m
yst_re
l
o
c
p
rototype
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
Brian Arnol
d
Move variables to
w
ard
t
he top of kspli
c
e
.
c
.
commit
|
commitdiff
|
tree
2008-09-12
Anders
Kaseo
r
g
acti
v
ate_primary no longer needs to
be
i
n
module_pack
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kaseorg
Make
t
he helper call the primary, so
it doesn't need
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y
Brian Ar
n
old
Unify
ksplice module source into
o
ne C file
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
Move mo
d
u
l
e in
i
t and c
l
eanup into
sep
a
rat
e
functions
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
J
e
f
fr
e
y Brian A
r
n
o
l
d
Move
k
s
plice_relo
c
flags
b
its
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Brian
A
rnold
k
er
n
e
l_lookup requires CONFIG_KALLSYMS
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Brian Arnold
Make run_pre_cmp, matc
h
_
n
op, and jumplen s
t
a
tic
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffre
y
Br
i
an
Arnold
Make CON
F
IG_KA
L
L
SYMS_V
A
L
a macro
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
F
o
rmatting fixes
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Add a
c
tivate_primary to mo
d
u
l
e_pack
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffr
e
y Brian Arno
l
d
Move globa
l
variables into struct m
o
dule_pac
k
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Move garb
a
g
e
collection from
h
elper's cl
e
anup
_
module
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
or
g
Ch
a
nge process_k
s
pli
c
e_re
l
ocs
to accept relocs as an
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey
Brian
A
r
nol
d
Add #
e
ndif comments
.
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Remove unused variables
pos, n fr
o
m
_
_rever
s
e
_
patch
e
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseo
r
g
Remo
v
e
u
nused fu
n
ction o
n
ly_l
a
bel
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Je
f
frey Bri
a
n Arnold
Change starts_w
i
t
h and
e
n
d
s_
w
ith to functio
n
s
.
commit
|
commitdiff
|
tree
2008-09-12
J
effrey Bri
a
n Arnold
Define kcall
o
c
() as a ma
c
ro
.
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arnold
Don't
bother
test
i
ng KSPLICE_A
P
PLIE
D
in check_
a
ddress_for_c
o
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ander
s
Kas
e
o
rg
Remove unne
c
e
s
sar
y
test of saf
e
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Br
i
an Arnold
Rename ksplice_do
_
{prima
r
y,helper} to activate_{primary
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Ande
r
s Kaseorg
Re
m
ove dependence on
k
m
odsrc from userspace
tools
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Jeffrey Brian Arno
l
d
Rename kspl
i
ce_o
n
_each_task
t
o
check_each_t
a
s
k
, r
e
moving
.
.
.
commit
|
commitdiff
|
tree
2008-09-12
Tim Abbott
O
n
l
y
c
omput
e
a
djust
m
ent once for
e
ac
h
reloc
.
commit
|
commitdiff
|
tree
2008-09-12
And
e
rs Kaseorg
Add a dumm
y
rule for building linker
s
c
r
ipts
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kas
e
org
Sup
p
ort skipp
i
ng th
e
prebuild compile
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
An
d
ers
Kaseorg
Support multi
p
le ksplice module
s
i
n
ksplice-c
r
eate
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
A
n
der
s
K
a
seorg
Support multiple ksplice
m
odules in k
s
plice-
a
pply
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-09-12
Anders Kaseorg
N
ew build system tha
t
integrates with kernel makefiles
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Jeffrey Brian Arnold
Ksplice 0
.
8
.
7
commit
|
commitdiff
|
tree
2008-06-21
Anders
Kaseorg
Include 64-bi
t
n
o-op pattern
s
fr
o
m binu
t
ils 2
.
17
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
HIRANO Takahito
Update t
h
e nop
table for binutils 2
.
18
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseorg
Clea
n
u
p run-pr
e
mat
c
hing loop struc
t
ure
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
HIRANO T
a
kahito
Suppo
r
t 64 bit relocations
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
J
e
ffr
e
y Brian Arnold
R
emove o
b
solete thi
s
_module_
l
oo
k
up fu
n
ctio
n
.
commit
|
commitdiff
|
tree
2008-06-21
Anders
Kaseorg
Don't
look u
p
.
ro
d
ata
s
ymbo
l
s in the kernel
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Ander
s
Kaseor
g
R
e
place "ksplice: success" with
e
xit status checking
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseorg
Corr
e
ct quo
t
ing for runstr()
a
nd r
u
ns
u
c(
)
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
An
d
ers Kaseorg
Check
t
h
at required Makefile arg
u
ments are pr
o
v
i
ded
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseor
g
Replace m
o
dcommon
.
auto
.
h with preprocessor f
l
ag
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseorg
Remove
u
nused
str2addr function
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
And
e
rs
Kaseorg
Bui
l
d cleanup to suppor
t
separate source and build
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseo
r
g
return is not a function
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
A
nd
e
rs Ka
s
e
org
Apply kerne
l
cod
i
ng style using Lindent
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Je
f
f
r
ey
Bri
a
n Arnold
Rename glob variables
.
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseorg
Get rid
of
l
o
c
al_safety
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kase
o
rg
M
a
k
e ksplic
e
_state share
d
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
A
nders Kaseorg
Change applied
f
lag to a three-state enum
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Anders
K
a
seorg
U
s
e <linux/list
.
h> A
P
I fo
r
relo
c
_addrmaps and reloc_nameval
s
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-21
Anders Kaseorg
Move int
e
rnals out of mod
c
ommon
.
auto
.
h
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-20
A
n
ders K
a
s
e
org
Convert struct
a
ns
g
lob to <linux/list
.
h> API
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-20
And
e
rs Kaseorg
Chan
g
e unnecess
a
r
y
list_for_each_ent
r
y_safe to list_for_e
a
ch
.
.
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree
2008-06-20
And
e
rs Kaseo
r
g
Define clear_list macro
.
Signed-off-by:
Anders Kaseorg
<andersk@mit.edu>
commit
|
commitdiff
|
tree