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
Wait for thread TID events which are triggered when a thread terminates
2009-03-08
B
en Kibbey
Wa
i
t fo
r
thread TID
e
vents which
are triggered when
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
B
en Kibbey
Ca
t
ch
S
I
G
ABRT
,
b
ut not
SI
G
USR2
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibbey
Chec
k
the return
v
a
l
ue from
p
th_sp
a
wn()
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
M
i
nor cleanups
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ib
b
ey
Use th
r
ead-safe libgcrypt a
n
d li
b
gpg-error fu
n
c
t
ions
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Ki
b
bey
Dont
w
rit
e
a
log message i
n
MUTEX_TR
Y
LOCK
.
commit
|
commitdiff
|
tree
2009-03-08
Ben
K
ibbey
U
se MUTEX_TR
Y
LOCK everywhere
S
TATUS
_
LOCKED is sent
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibbey
Fixed unlock_file_mutex() rel
e
asing the unlocked mu
t
ex
.
.
.
commit
|
commitdiff
|
tree
2009-03-08
Ben Kibb
e
y
check the retu
r
n of pth_mutex_acquire and pth_mutex_r
e
l
ease
.
.
.
commit
|
commitdiff
|
tree
2009-03-07
Ben Ki
b
be
y
squash be
f
ore commit
i
ng to master
.
t
h
is is the initial
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Kibb
e
y
Use "gi
t
log" not
"git-log" in the Ma
k
ef
i
le 'changelog
.
.
.
commit
|
commitdiff
|
tree
2009-02-27
Ben Ki
b
bey
A
d
ded O
P
TION LC_CTYPE
and
O
PT
I
ON LC_MESSAG
E
S
.
Both
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
K
ibbey
Fixed
a
typo in
t
h
e
p
r
e
v
iou
s
c
o
m
m
i
t
.
Dest
r
oy t
h
e cond
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Fixed keep
a
live_thr
e
ad() to use a local condition
a
n
d
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kib
b
ey
Fixed abo
r
t
ing the connection when
the
con
f
ig
u
r
ed keepalive
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
B
e
n Kibbe
y
Move
d
client_msg_threa
d
() a
n
d clie
n
t_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben
Kib
b
e
y
Created status
.
c
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
After sending a status m
e
ssa
g
e to send_sta
t
us(), c
r
eate
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
R
emove the exit
i
ng client from th
e
client
l
ist
a
s soo
n
.
.
.
commit
|
commitdiff
|
tree
2009-02-07
Ben Kibbey
Minor cle
a
nups i
n
mem
.
c
.
commit
|
commitdiff
|
tree
2009-02-06
B
e
n Kibbey
Lock
t
h
e
r
cfile_mutex at ea
c
h
ke
y
file
h
ac
c
ess
.
commit
|
commitdiff
|
tree
2009-02-06
Ben Kibbey
Don't loc
k
the cn_mute
x
before cancelling the client
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Be
n
Kibbey
Fix for the pr
e
vio
u
s commit that
w
ouldn't terminate
.
.
.
commit
|
commitdiff
|
tree
2009-02-05
Ben K
i
bbey
U
s
e
a local mu
t
ex in c
l
ient_msg_
t
h
read()
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibb
e
y
U
se a goffset r
a
ther than gsize fo
r
crypto->insize
.
.
.
commit
|
commitdiff
|
tree
2009-02-03
Ben
Kibbey
Fixed status
m
essages to us
e
the new iteratio
n
t
y
pe
.
commit
|
commitdiff
|
tree
2009-02-03
Ben Kibbey
Fixe
d
data
f
ile porta
b
ility between
v
arious
syst
e
ms
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben K
i
bbey
A few more pthread_te
s
tcancel()'s
.
Shou
l
d be the la
s
t
.
.
.
commit
|
commitdiff
|
tree
2009-01-30
Ben Ki
b
bey
Threa
d
ca
n
c
e
llation
t
ests in
do_compress() and do_decompress()
.
commit
|
commitdiff
|
tree
2009-01-29
Ben K
i
bbey
Don
'
t send status
m
essag
e
s
t
o clients
that are exiting
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
K
ibb
e
y
F
i
xed
a segfault
wit
h
the S
A
V
E
command when u
s
ed with
.
.
.
commit
|
commitdiff
|
tree
2009-01-29
Ben
Kibb
e
y
More thread cancel
a
t
ion tests and handlers
.
commit
|
commitdiff
|
tree
2009-01-28
B
en
K
i
b
bey
Create a mutex f
o
r the custom
m
emory functions
.
Fixes
.
.
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
Create
a
new thread when rel
o
a
ding the rcf
i
l
e
.
commit
|
commitdiff
|
tree
2009-01-28
Ben Kibbey
More threa
d
can
c
ellation
t
e
sts (mor
e
to c
o
me
)
a
n
d
thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
A c
o
uple more thread can
c
e
l
lation
t
ests
a
nd cl
e
anups
.
commit
|
commitdiff
|
tree
2009-01-27
Ben Kibbey
If the clien
t
thread ter
m
inates whi
l
e a pinen
t
ry
i
s
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kib
b
e
y
Setup a cleanup handler
i
n
iterate_c
r
ypto_
o
nce
(
)
i
n
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
B
e
n Ki
b
bey
When encrypting/decrypt
i
ng, don't do
t
he
whole thing
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibb
e
y
In cleanup_cb
(
), don't free cn-
>
name until everything
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Be
t
ter m
u
t
e
x locking and unlocking macros
.
Use
f
ul for
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Update the mtim
e
in do_xml_en
c
r
ypt()
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
crypto->inb
u
f is set to
t
he data
to
e
ncrypt when passed to
commit
|
commitdiff
|
tree
2009-01-25
Be
n
Kibbey
Use gcry_
.
.
.
m
e
mory functi
o
ns in
d
o_com
p
ress() and
.
.
.
commit
|
commitdiff
|
tree
2009-01-25
Ben Kibbey
Return GPG_ERR_ENOANO if the
data fi
l
e is not a
r
egular
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
A couple mino
r
c
a
che
.
c cleanups
.
commit
|
commitdiff
|
tree
2009-01-24
B
e
n
Kibb
e
y
Fixed potenti
a
lly not fr
e
e
i
ng all cache entries in
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Fix
e
d status
messa
g
es send with send_status_all
(
) on
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
K
i
bb
e
y
F
i
x
e
d tls_init() not initializing the
S
HA-1 hash size
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Initiali
z
e
l
ibgcryp
t
p
r
operly by
c
alling gc
r
y_check_version()
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
M
ove initTlsParams() and de
i
nitTlsPar
a
ms(
)
to tls
.
c
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbey
Added
option
"tcp_use_cr
l
"
.
W
h
e
n
TRU
E
, ~/
.
pwmd/
c
rl
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Kibbey
Set
t
he
sign
a
l
m
a
sk be
f
ore o
t
her threads are created
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
Ki
b
bey
Do
n
't try and
l
ink with -l
r
t on
s
y
s
tems oth
e
r than
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a
c
o
m
pile time er
r
or
on FreeBSD
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Fixed a com
p
i
l
e
time
wa
r
ning on F
r
eeB
S
D
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
R
emove
o
ld < v1
.
11 command line option -b
.
commit
|
commitdiff
|
tree
2009-01-24
Ben
K
ibbey
U
s
e PTHREAD_MUTEX_RECURSIVE not
P
THREAD_MUTEX_RECUR
S
IVE_NP
.
commit
|
commitdiff
|
tree
2009-01-24
Ben K
i
bbe
y
Fixed some comple t
i
me cond
i
tiona
l
s
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibbey
Rest
o
re client->h
a
s_lock in
cleanup_c
l
ient()
.
commit
|
commitdiff
|
tree
2009-01-24
Be
n
Kibbey
U
s
e a st
r
ucture in fi
l
e
_cache_t to hold the file
m
utex
.
.
.
commit
|
commitdiff
|
tree
2009-01-24
Ben Kibb
e
y
T
h
e client
m
u
s
t explicitly set OPTION PINENTRY if the
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n
Kibb
e
y
D
o
n
't write
a
l
og mes
s
a
ge whe
n
the cache
m
ut
e
x
i
s lo
c
ked
.
.
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbey
R
e
ally fix c
o
mmi
t
a7e15f
9
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbe
y
Rever
t
"Fix for
co
m
mit a7e15f9
.
"
commit
|
commitdiff
|
tree
2009-01-23
Ben Kibbey
Fi
x
fo
r
co
m
mit a7e1
5
f9
.
commit
|
commitdiff
|
tree
2009-01-23
B
e
n Kibbey
Res
t
art the k
e
ep
a
li
v
e_th
r
ea
d
() after r
e
c
e
i
ving SIGHUP
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Kibbey
Stop accep
t
i
n
g TCP c
o
nnections when s
h
utt
i
ng do
w
n and
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Ben Ki
b
bey
I
f
ME
M
_DEBUG is defined
t
hen s
e
t
the x
.
.
.
de/allocators
.
.
.
commit
|
commitdiff
|
tree
2009-01-22
Be
n
Kibbey
Use
an
S
HA-
1
fin
g
erprint ra
t
h
e
r than MD5
.
commit
|
commitdiff
|
tree
2009-01-21
Be
n
Kibbey
Fixed a se
g
fault w
h
en TLS f
a
iled neg
o
t
iation
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Create the client_msg_thread and cli
e
n
t_msg_sender_thread
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Ki
b
b
ey
On
l
y
appe
n
d
unique status mes
s
a
g
es to the mess
a
ge queue
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
If the cu
r
re
n
t thr
e
ad is calling
s
end
_
status_all()
.
.
.
commit
|
commitdiff
|
tree
2009-01-21
Ben Kibbey
Make sure the
m
s
g
mutex is unlo
c
ked befo
r
e try
i
ng to
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
en
Kibbey
Create
a
message queue
that wo
n
't b
l
ock se
n
d_status_all
.
.
.
commit
|
commitdiff
|
tree
2009-01-18
B
en Kibbe
y
P
o
rted t
o
pthread
.
c
ache_mutex and cn_mutex
are now
.
.
.
commit
|
commitdiff
|
tree
2009-01-13
Ben Kibbey
SI
G
HUP will stop or
start the tcp_accept
_
t
hread() depending
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben K
i
bb
e
y
Up
d
ated the copyright head
e
rs for 200
9
.
commit
|
commitdiff
|
tree
2009-01-10
Ben
K
i
b
bey
F
ixed a pinentry
s
e
g
fault
(
ho
p
efully) du
r
ing c
l
e
anup
.
.
.
commit
|
commitdiff
|
tree
2009-01-10
Ben Ki
b
bey
Allow other characters in th
e
filename when using
G
E
T
CONFIG
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Moved COMMANDS
t
o do
c
/
.
commit
|
commitdiff
|
tree
2009-01-09
B
en
Kibb
e
y
Return GPG_ERR_NO_VALU
E
instead of a
s
yntax error
f
rom
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Be
n
Kibbey
Re
-
add
.
f
la
g
s to the
n
ew v2 file h
e
a
d
er
.
commit
|
commitdiff
|
tree
2009-01-09
Ben
K
ibb
e
y
Fixed a memory leak in pi
n
e
n
t
r
y
_itera
t
e()
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibb
e
y
Fixed starting up without an rcfile
.
commit
|
commitdiff
|
tree
2009-01-09
B
e
n Kibbe
y
Warn about e
r
rors opening a k
e
y_fi
l
e while
p
arsing
.
.
.
commit
|
commitdiff
|
tree
2009-01-09
Ben Kibbey
Fixed clea
r
_cache()
c
learing a
l
l cach
e
e
n
tries
.
commit
|
commitdiff
|
tree
2009-01-08
Ben Kibbey
Fix
e
d a memory lea
k
creat
e
_dtd()
.
commit
|
commitdiff
|
tree
2009-01-07
Ben Kibbey
Fixed
a
sk
i
ng for a passphrase after opening a new file
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibbey
Fixed closing t
h
e wrong FD in
cleanup_c
r
ypto()
and
.
.
.
commit
|
commitdiff
|
tree
2009-01-07
B
e
n Kibbey
Fixed SAVE with
a
passphrase specified in the co
m
m
a
nd
.
commit
|
commitdiff
|
tree
2009-01-05
B
e
n
K
i
b
b
ey
Close the cipher hand
l
e in crypto_cleanup();
commit
|
commitdiff
|
tree
2009-01-05
Ben
Kibbe
y
Fixed some compi
l
e-time warnings
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibbey
The "disable_list
_
and_d
u
m
p
" configur
a
tion parame
t
er
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben Kibb
e
y
When
import
i
ng, converting and pushin
g
files into
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2009-01-04
Ben
K
i
bbey
Some co
d
e re
a
rrangements
.
G
e
t
ting
ready to fix freeing
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Show
the output filename and not st
d
out
i
n the import
.
.
.
commit
|
commitdiff
|
tree
2008-12-24
Ben Kibbey
Fixed a
memory leak in do_cache
_
push()
.
Th
e
document
.
.
.
commit
|
commitdiff
|
tree
2008-12-22
Ben Kibbey
H
a
n
d
l
e S
T
ATUS_COMPRESS/DECOMPRESS/ENCR
Y
PT/DECRYPT
in
.
.
.
commit
|
commitdiff
|
tree
next