repo.or.cz
/
pwmd.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Check for EDEADLK in MUTEX_UNLOCK. It can be ignored since EDEADLK in
2009-03-08
B
e
n
K
ib
b
ey
Che
c
k
f
or
E
DEADLK i
n
M
U
TEX_UNL
O
CK
.
It can be ign
o
red
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
e
n Kibbey
Wait f
o
r thread
T
I
D
events which are
t
r
iggered w
h
en
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kib
b
ey
Catch SIGABRT,
b
ut not S
I
G
USR2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibb
e
y
Check th
e
return value from
p
th_s
p
a
w
n(
)
.
commit
|
commitdiff
|
tree
2009-03-08
Ben K
i
bbey
Minor cleanups
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
Kibbey
U
se th
r
ead-safe li
b
gcr
y
pt and li
b
gpg-error functions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
D
ont write a l
o
g
m
e
s
s
age i
n
MUTEX_TRYLOCK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
U
se MUTEX_TRYLOCK every
w
h
e
r
e STATUS_LOCKED
i
s
s
ent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Fix
e
d
u
nlock_fi
l
e_mutex() rele
a
s
i
ng the
u
nlocked mutex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
c
he
c
k the ret
u
r
n of
p
th_mutex_a
c
qui
r
e and pth_m
u
te
x
_release
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben Kibbey
squash
before c
o
mmiting to master
.
this is t
h
e
initial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibb
e
y
U
s
e "git log" not "git-log" in the Ma
k
e
f
ile 'changelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Be
n
Kibbey
A
dded OPTION L
C
_CTYPE
and OPTION LC
_
ME
S
S
AGES
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kib
b
ey
Fi
x
ed a typo
in the previous commit
.
Des
t
roy the cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Be
n
Ki
b
b
ey
Fix
e
d
k
eepalive_th
r
e
a
d() to use a
local
c
ondition a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kib
b
ey
Fixed aborting t
h
e
c
onnecti
o
n when
t
he configu
r
ed
keep
a
live
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
ibbey
Moved
c
lie
n
t
_msg_thread() an
d
cl
i
ent_m
s
g_sen
d
er_t
h
read
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
en Kib
b
ey
Crea
t
ed status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kib
b
ey
After se
n
d
i
ng
a s
t
atus
m
essage to send
_
s
ta
t
us(), create
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kib
b
ey
R
e
mo
v
e
the exiting client from the client
list as so
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n
Kibbey
Minor c
l
eanups in mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
Ben
K
ibbey
Lock the rc
f
ile_m
u
tex at each ke
y
fileh access
.
commit
|
commitdiff
|
tree
2009-02-06
B
en Kibbey
Don't
l
ock the
c
n_mute
x
befo
r
e
c
a
ncellin
g
t
h
e client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
B
en Kibbey
Fix for the p
r
ev
i
o
us
c
ommit that wou
l
dn't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben Kibbey
Use a local mutex in client_ms
g
_thread()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
U
s
e a
goff
s
et rather
th
a
n gsize for cry
p
to->i
n
size
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Ki
b
bey
Fix
e
d
s
tatus messag
e
s to use the
new iter
a
tion
t
ype
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixed
d
at
a
fi
l
e
p
o
rtabi
l
ity between var
i
ous systems
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben
K
ibbey
A few
m
ore pthre
a
d_testcancel()'s
.
S
hould be the last
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
B
e
n Kibbey
Thread cancellation t
e
sts in do_compress() and do_decompre
s
s()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Do
n
't send s
t
atus messages to cli
e
nts that are exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben Kibbey
Fixe
d
a se
g
fault
w
ith the SA
V
E command when used wi
t
h
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Kibbey
More thread can
c
elation tests
a
nd handlers
.
commit
|
commitdiff
|
tree
2009-01-28
Be
n
Kibbey
Crea
t
e
a m
u
t
ex for the
c
ustom memory functions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Cr
e
ate a n
e
w thread whe
n
r
e
l
oadi
n
g t
h
e
rcfile
.
commit
|
commitdiff
|
tree
2009-01-28
Ben K
i
bb
e
y
Mor
e
threa
d
c
ance
l
lation tests (more
to
come) and
t
hread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A cou
p
l
e
m
ore thread
cancellatio
n
tests and cleanups
.
commit
|
commitdiff
|
tree
2009-01-27
B
e
n Kibbey
I
f
t
he c
l
ien
t
thread termina
t
es wh
i
le a pinentry is
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
Setup a c
l
eanu
p
han
d
ler in iterat
e
_crypto_once()
i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
When e
n
c
r
ypting/decrypting, don't do the whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
In cleanup_cb(), don't free cn-
>
na
m
e
until every
t
hing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Better m
u
tex locking an
d
unlocking macros
.
Useful for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
Up
d
ate
t
he m
t
ime in do_xml_
e
n
c
rypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben
Kibbey
crypto->inbuf is s
e
t
to the d
a
t
a
to encrypt when passed to
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Use gcry_
.
.
.
memo
r
y
functions in do_com
p
ress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
en Kibbey
Re
t
urn
GPG_
E
RR_ENOANO if the data fil
e
i
s
not a regular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
A c
o
u
p
le minor c
a
che
.
c clean
u
ps
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kibbey
Fixed potentially not fr
e
eing all
ca
c
he entries
in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
b
bey
F
i
xed status me
s
s
a
ges send wit
h
se
n
d_status_all() on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed tls_init() not initiali
z
i
n
g the
S
HA-
1
hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
K
ibbe
y
Initialize libgcrypt
properly
b
y calling g
c
ry_ch
e
ck_vers
i
on()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Move initT
l
sParams() and deinitTlsParam
s
() to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
B
en Ki
b
bey
Added opt
i
o
n
"
t
cp_use_crl"
.
When
TRU
E
,
~
/
.
pw
m
d
/crl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
S
e
t
the signal
m
ask befor
e
other
t
h
reads are create
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Don't
try and l
i
nk with -lrt on s
y
stems
o
the
r
than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a c
o
mpile time error o
n
Fre
e
B
SD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbe
y
Fix
e
d a com
p
ile time war
n
ing on FreeB
S
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Remove old < v1
.
1
1
command
li
n
e
optio
n
-b
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibbey
Use
PTHRE
A
D_MUTEX_RECURS
I
VE not PTHREAD_
M
U
T
EX_
R
ECURSIVE
_
NP
.
commit
|
commitdiff
|
tree
2009-01-24
B
en Kib
b
e
y
Fixed some comple time conditio
n
a
l
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kib
b
ey
Restore c
l
ient->h
a
s_lock in cleanup_client()
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n Kibb
e
y
Use a str
u
cture in fi
l
e_
c
ache_t to ho
l
d the file mut
e
x
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbe
y
The cl
i
ent
m
ust explici
t
ly set OPTION PIN
E
NTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Ki
b
bey
Don't
write a lo
g
message
w
hen the ca
c
h
e mutex
is locke
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
Ben
K
ibbey
Really fix commit a7
e
15f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Re
v
ert "Fix for co
m
mit a7e15f
9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fi
x
f
or commit a7e1
5
f9
.
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Re
s
tar
t
t
he keepalive_thread() af
t
e
r recei
v
ing SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
St
o
p
ac
c
epting TCP connections w
h
en shut
t
in
g
down a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
If MEM_DEBUG
i
s define
d
then
s
et the x
.
.
.
d
e/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
Kibbey
Us
e
an SHA
-
1 fingerp
r
int rat
h
e
r
than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Fixed a segf
a
u
lt
when
TLS failed negot
i
ation
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
Cre
a
t
e
the c
l
i
e
nt_msg_thread and cl
i
ent_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Only a
p
pend unique status messag
e
s to t
h
e me
s
sage queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If the current threa
d
is calling se
n
d_status
_
all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
B
e
n Kibbey
Make s
u
r
e
t
h
e
msg mutex
is unlocked before trying to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben Ki
b
bey
Create
a message qu
e
ue
t
hat won't bloc
k
s
e
n
d
_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
Ben
K
i
bbey
Ported to p
t
hread
.
cache_
m
utex a
n
d
c
n_mutex are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SIGHUP will stop o
r
start the tcp_accept_thread() dependi
n
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Kibbey
Upda
t
ed the co
p
yright heade
r
s
f
or 2009
.
commit
|
commitdiff
|
tree
2009-01-10
Be
n
Kibb
e
y
Fixed a pinentry segfault (hopefully) during cleanup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
K
ibbey
Allow other char
a
cters i
n
t
h
e fil
e
name when usi
n
g GETCONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
B
en Kibbey
Moved COMMAND
S
to doc/
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
R
eturn GPG_ERR_NO_VALUE instead of a
syntax error fro
m
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
K
ibbey
Re-add
.
flag
s
to the new v2 file hea
d
e
r
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed
a memory l
e
ak in pinentry_itera
t
e()
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Ki
b
b
e
y
Fix
e
d starting u
p
without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
Kibbey
W
a
r
n about
err
o
rs open
i
ng a key_fi
l
e while
p
arsin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Ki
b
b
ey
Fixed clear_c
a
che() cle
a
rin
g
a
ll cache ent
r
ies
.
commit
|
commitdiff
|
tree
2009-01-08
B
en Kibbey
Fixed a
m
emory leak create_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibbey
Fixed ask
i
ng for
a
p
a
ssph
r
a
s
e
a
ft
e
r opening a new
f
ile
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibbey
Fixed closing the wrong FD in cl
e
an
u
p_crypto() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed SAVE with a
p
a
ss
p
hras
e
s
pe
c
ified
i
n the command
.
commit
|
commitdiff
|
tree
2009-01-05
B
en Kibbey
Close the ciph
e
r handl
e
in crypto_cleanup()
;
commit
|
commitdiff
|
tree
2009-01-05
Ben Kibbey
Fixed some compile-time warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kib
b
ey
T
h
e "di
s
able_list_and_dump" confi
g
uration parame
t
er
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
When imp
o
rt
i
ng, conver
t
in
g
and pushing fil
e
s i
n
to the
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibb
e
y
Some
co
d
e rearra
n
gement
s
.
Getting
r
eady
t
o
f
i
x
f
r
e
e
i
ng
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Sh
o
w the outp
u
t
f
ilenam
e
and not stdout in the
i
mport
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Fix
e
d a memory
l
eak in do_cache_push()
.
The document
.
.
.
commit
|
commitdiff
|
tree
next