libuv/src/unix
cjihrig eaf25ae3eb
unix: use fchmod() in uv_fs_copyfile()
This commit introduces fchmod() in uv_fs_copyfile() to set the
mode of the destination file.

Refs: https://github.com/nodejs/node/issues/15394
PR-URL: https://github.com/libuv/libuv/pull/1547
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2017-09-14 19:15:55 -04:00
..
aix.c aix: add netmask, mac address into net interfaces 2017-07-13 23:10:29 +02:00
android-ifaddrs.c android: fix blocking recvmsg due to netlink bug 2017-08-08 15:06:24 +02:00
async.c build: add -Wstrict-prototypes 2017-05-02 23:00:33 +02:00
atomic-ops.h sunos: fix cmpxchgi and cmpxchgl type error 2017-07-01 00:24:42 +02:00
bsd-ifaddrs.c unix: fix wrong MAC of uv_interface_address 2017-07-17 13:34:02 +02:00
core.c poll: add support for OOB TCP and GPIO interrupts 2017-07-12 23:04:34 +02:00
cygwin.c cygwin: implement support for cygwin and msys2 2017-05-21 16:12:21 +02:00
darwin-proctitle.c unix: fix long line introduced in commit 94e628fa 2015-01-21 13:04:50 +01:00
darwin.c unix: factor out reusable BSD ifaddrs impl 2017-03-14 08:33:43 +01:00
dl.c misc: remove unnecessary null pointer checks 2015-11-17 09:18:55 +01:00
freebsd.c unix: always copy process title into local buffer 2017-07-12 09:45:14 -04:00
fs.c unix: use fchmod() in uv_fs_copyfile() 2017-09-14 19:15:55 -04:00
fsevents.c unix: remove FSEventStreamFlushSync() call 2017-05-16 13:03:55 -04:00
getaddrinfo.c core: add ability to customize memory allocator 2015-06-02 12:05:20 +02:00
getnameinfo.c unix, win: add synchronous uv_get{addr,name}info 2015-01-23 01:12:05 +01:00
internal.h unix: fix wrong MAC of uv_interface_address 2017-07-17 13:34:02 +02:00
kqueue.c unix: limit uv__has_forked_with_cfrunloop to macOS 2017-09-07 10:14:22 -04:00
linux-core.c unix: fix wrong MAC of uv_interface_address 2017-07-17 13:34:02 +02:00
linux-inotify.c unix: make loops and watchers usable after fork() 2017-03-21 12:23:44 +01:00
linux-syscalls.c linux,fs: fix p{read,write}v with a 64bit offset 2015-12-03 08:50:28 +01:00
linux-syscalls.h unix: use POLL{IN,OUT,etc} constants directly 2016-04-11 10:51:13 +02:00
loop-watcher.c unix: use QUEUE_MOVE when iterating over lists 2015-10-08 21:47:43 +02:00
loop.c unix: make loops and watchers usable after fork() 2017-03-21 12:23:44 +01:00
netbsd.c unix: always copy process title into local buffer 2017-07-12 09:45:14 -04:00
no-fsevents.c unix: factor out reusable no-fsevents impl 2017-05-21 16:12:11 +02:00
no-proctitle.c unix: factor out reusable no-proctitle impl 2017-05-21 16:11:33 +02:00
openbsd.c unix: always copy process title into local buffer 2017-07-12 09:45:14 -04:00
os390-syscalls.c zos: improve loop_count benchmark performance 2017-08-19 21:45:02 +02:00
os390-syscalls.h zos: make platform functional 2017-01-18 08:42:59 -06:00
os390.c zos: improve loop_count benchmark performance 2017-08-19 21:45:02 +02:00
pipe.c cygwin: fix uv_pipe_connect report of ENOTSOCK 2017-05-21 16:12:26 +02:00
poll.c unix: make uv_poll_stop() remove fd from pollset 2017-08-10 16:20:40 +02:00
posix-hrtime.c unix: factor out reusable POSIX hrtime impl 2017-03-03 15:52:42 +01:00
posix-poll.c unix: add a uv__io_poll impl using POSIX poll(2) 2017-05-21 16:12:19 +02:00
process.c unix: reset signal mask before execve() 2017-07-01 00:33:27 +02:00
procfs-exepath.c unix: factor out reusable procfs exepath impl 2017-05-21 16:12:18 +02:00
proctitle.c unix: modify argv[0] when process title is set 2017-08-21 22:37:31 -04:00
pthread-fixes.c unix: fix bug in barrier fallback implementation 2016-04-26 09:35:47 +02:00
signal.c unix: make loops and watchers usable after fork() 2017-03-21 12:23:44 +01:00
spinlock.h unix: add spinlock.h 2013-10-20 13:58:34 +02:00
stream.c unix: fix POLLIN assertion on server read 2017-07-01 00:53:17 +02:00
sunos.c sunos: filter out non-IPv4/IPv6 interfaces 2017-06-28 20:17:31 +02:00
sysinfo-loadavg.c unix: factor out reusable sysinfo loadavg impl 2017-05-21 16:12:16 +02:00
sysinfo-memory.c unix: factor out reusable sysinfo memory lookup 2017-05-21 16:12:14 +02:00
tcp.c zos: track unbound handles and bind before listen 2016-08-24 10:02:41 +01:00
thread.c android: fix uv_cond_timedwait on API level < 21 2017-09-01 14:33:05 +02:00
timer.c unix: unneccessary use const qualifier in container_of 2016-08-25 22:45:33 +01:00
tty.c build: GNU/kFreeBSD support 2016-08-20 08:55:30 +02:00
udp.c unix: do not close udp sockets on bind error 2017-05-09 15:51:26 -04:00