Commit f362e89
jsvc: Fix regression around invalid lockf(3) semantics
lock(3) mandates that the passed file descriptor must be in O_RDWR or
O_WRONLY mode. This was caused by f361cf1.
Downstream bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=2918221 parent 27035d3 commit f362e89
2 files changed
+13
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
566 | 566 | | |
567 | 567 | | |
568 | 568 | | |
569 | | - | |
570 | 569 | | |
571 | 570 | | |
572 | 571 | | |
| |||
608 | 607 | | |
609 | 608 | | |
610 | 609 | | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | | - | |
615 | | - | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
616 | 615 | | |
617 | 616 | | |
618 | 617 | | |
| |||
673 | 672 | | |
674 | 673 | | |
675 | 674 | | |
676 | | - | |
| 675 | + | |
677 | 676 | | |
678 | 677 | | |
679 | 678 | | |
| |||
778 | 777 | | |
779 | 778 | | |
780 | 779 | | |
781 | | - | |
| 780 | + | |
782 | 781 | | |
783 | 782 | | |
784 | 783 | | |
| |||
0 commit comments