Commit 3dd08f5
committed
cg2: syscall -> x/sys/unix
Change to x/sys/unix definitions. I left cgroups 1
as right now it *should* be able to build on non-linux
platforms, but there's a singular syscall.EINVAL check
which swapping to unix would ruin. cg2 should already not
be able to build on non-linux as we were using InotifyInit
and Statfs_t in tests.
Signed-off-by: Danny Canter <danny@dcantah.dev>1 parent 157c4da commit 3dd08f5
2 files changed
Lines changed: 11 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
707 | 706 | | |
708 | 707 | | |
709 | 708 | | |
710 | | - | |
| 709 | + | |
711 | 710 | | |
712 | 711 | | |
713 | 712 | | |
714 | | - | |
| 713 | + | |
715 | 714 | | |
716 | | - | |
| 715 | + | |
717 | 716 | | |
718 | 717 | | |
719 | 718 | | |
720 | 719 | | |
721 | | - | |
722 | | - | |
| 720 | + | |
| 721 | + | |
723 | 722 | | |
724 | 723 | | |
725 | 724 | | |
| |||
777 | 776 | | |
778 | 777 | | |
779 | 778 | | |
780 | | - | |
| 779 | + | |
781 | 780 | | |
782 | 781 | | |
783 | | - | |
784 | | - | |
| 782 | + | |
| 783 | + | |
785 | 784 | | |
786 | 785 | | |
787 | 786 | | |
788 | 787 | | |
789 | | - | |
| 788 | + | |
790 | 789 | | |
791 | 790 | | |
792 | 791 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
32 | | - | |
| 30 | + | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
0 commit comments