summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/release/1.7.19
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Corinna Vinschen2013-06-051-2/+2
|
* * fhandler.cc (fhandler_base::lock): Move to flock.cc.Corinna Vinschen2013-06-041-2/+2
| | | | | | | | | | | | | | (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.
* *** empty log message ***Corinna Vinschen2013-06-031-0/+3
|
* * autoload.cc (CancelSynchronousIo): Define.Corinna Vinschen2013-06-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* *** empty log message ***Corinna Vinschen2013-05-311-0/+3
|
* * fhandler_procsys.cc (fhandler_procsys::read): Just callCorinna Vinschen2013-05-281-0/+3
| | | | | fhandler_base::raw_read from here. Drop comment. (fhandler_procsys::write): Drop comment.
* *** empty log message ***Corinna Vinschen2013-05-271-0/+4
|
* *** empty log message ***Corinna Vinschen2013-05-251-1/+5
|
* * fork.cc (frok::parent): Call CreateProcessW with command line setCorinna Vinschen2013-05-231-1/+8
| | | | to the parent command line. Change comment to explain why.
* * Makefile.in (DLL_OFILES): Add arc4random.o.Corinna Vinschen2013-05-211-0/+3
| | | | | | | | | | | * 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.
* * grp.cc (get_groups): Convert to void function.Corinna Vinschen2013-05-141-0/+1
| | | | | (initgroups32): Accommodate the aforementioned change. (getgrouplist): Ditto.
* * fcntl.cc (fcntl): Define as export alias for fcntl64 on x86_64.Corinna Vinschen2013-04-261-0/+4
|
* *** empty log message ***Corinna Vinschen2013-04-231-0/+10