2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-26 00:28:26 +00:00
greatroar 51dc80be5b backend: Use IoctlSetPointerInt for tcsetpgrp
This function casts its argument to int32 before passing it to the
system call, so that big-endian CPUs read the lower rather than the
upper 32 bits of the pid.

This also gets rid of the last import of "unsafe" in the Unix build.
I changed syscall to x/sys/unix while I was at it, to remove one more
import line. The constants and types there are aliases for their syscall
counterparts.
2023-05-25 17:31:51 +02:00
..
2022-12-03 11:28:10 +01:00
2022-07-17 13:40:15 +02:00
2022-12-03 11:28:10 +01:00
2022-12-03 11:28:10 +01:00
2022-12-03 11:28:10 +01:00
2017-07-23 14:19:13 +02:00
2017-07-23 14:19:13 +02:00
2022-10-21 21:36:05 +02:00
2018-04-01 10:16:31 +02:00
2018-04-01 10:16:31 +02:00
2022-09-25 11:35:35 +02:00