Corinna Vinschen
|
0ec4e9966a
|
*** empty log message ***
|
2013-06-05 07:21:56 +00:00 |
Corinna Vinschen
|
edd73646f3
|
* fhandler.cc (fhandler_base::lock): Move to flock.cc.
(fhandler_base::fixup_after_exec): Reset mandatory_locking.
* fhandler.h (class fhandler_base): Add mandatory_locking status flag.
Add mandatory_locking accessor methods. Accommodate change throughout.
(fhandler_base::mand_lock): Declare.
(class fhandler_disk_file): Drop in favor of new status flag.
* (fhandler_disk_file::fcntl): Call need_fork_fixup if mandatory_locking
flag gets set.
* flock.cc (fhandler_base::lock): Define here.
(flock): Handle mandatory_locking.
(lockf): Ditto.
(fhandler_base::mand_lock): Define.
|
2013-06-04 10:24:43 +00:00 |
Corinna Vinschen
|
86c126b6e3
|
*** empty log message ***
|
2013-06-03 10:40:41 +00:00 |
Corinna Vinschen
|
a24ad2c346
|
* autoload.cc (CancelSynchronousIo): Define.
* fcntl.cc (fcntl64): Drop handling of locking commands.
* fhandler.h (class fhandler_disk_file): Add mandatory_locking.
(fhandler_disk_file::fcntl): Declare.
(fhandler_disk_file::mand_lock): Declare.
* fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file):
Initialize mandatory_locking.
(fhandler_disk_file::fcntl): New method. Handle F_LCK_MANDATORY and
locking commands.
(fhandler_disk_file::dup): Duplicate mandatory_locking. Fix a bug
when duplicating prw_handle failed.
(fhandler_disk_file::fixup_after_fork): Reset mandatory_locking.
* flock.cc (fhandler_disk_file::lock): Add comment.
(struct lock_parms): New struct to pass parameters to blocking_lock_thr
thread function.
(blocking_lock_thr): New thread function.
(fhandler_disk_file::mand_lock): New methof implementing mandatory
locking with Windows semantics.
* ntdll.h (NtLockFile): Declare.
(NtUnlockFile): Declare.
* include/fcntl.h: Fix a comment.
(F_LCK_MANDATORY): Define. Add lengthy comment to explain.
|
2013-06-02 10:22:14 +00:00 |
Corinna Vinschen
|
697ce3c45f
|
*** empty log message ***
|
2013-05-31 08:41:39 +00:00 |
Corinna Vinschen
|
b09e6ec935
|
* fhandler_procsys.cc (fhandler_procsys::read): Just call
fhandler_base::raw_read from here. Drop comment.
(fhandler_procsys::write): Drop comment.
|
2013-05-28 15:07:01 +00:00 |
Corinna Vinschen
|
0dd70ae521
|
*** empty log message ***
|
2013-05-27 19:41:54 +00:00 |
Corinna Vinschen
|
7e925d9ac1
|
*** empty log message ***
|
2013-05-25 09:00:43 +00:00 |
Corinna Vinschen
|
61fb9713c6
|
* fork.cc (frok::parent): Call CreateProcessW with command line set
to the parent command line. Change comment to explain why.
|
2013-05-23 20:47:45 +00:00 |
Corinna Vinschen
|
291d93b58b
|
* Makefile.in (DLL_OFILES): Add arc4random.o.
* common.din: Export arc4random, arc4random_addrandom, arc4random_buf,
arc4random_stir and arc4random_uniform.
* mktemp.cc (arc4random): Remove static replacement function.
* posix.sgml (std-bsd): Add arc4random functions.
* include/cygwin/stdlib.h: Declare arc4random functions.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* libc/arc4random.cc: New file implementing arc4random functions taken
from FreeBSD.
|
2013-05-21 19:04:49 +00:00 |
Corinna Vinschen
|
ccd40e46d7
|
* grp.cc (get_groups): Convert to void function.
(initgroups32): Accommodate the aforementioned change.
(getgrouplist): Ditto.
|
2013-05-14 09:07:30 +00:00 |
Corinna Vinschen
|
151f737ab0
|
* fcntl.cc (fcntl): Define as export alias for fcntl64 on x86_64.
|
2013-04-26 18:20:17 +00:00 |
Corinna Vinschen
|
39bf1f15e7
|
*** empty log message ***
|
2013-04-23 14:58:20 +00:00 |