summarylogtreecommitdiffstats
path: root/third_arg.patch
diff options
context:
space:
mode:
authorBailey Kasin2018-07-31 00:25:36 -0700
committerBailey Kasin2018-07-31 00:25:36 -0700
commit871def8f9e03942585cb6c805f07acbbe170fdb2 (patch)
tree4d616b9c7a5b88dc10dc1ab389d1807a7dcdd3ce /third_arg.patch
downloadaur-871def8f9e03942585cb6c805f07acbbe170fdb2.tar.gz
DTrace-Utils version 1.0.2
Diffstat (limited to 'third_arg.patch')
-rw-r--r--third_arg.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/third_arg.patch b/third_arg.patch
new file mode 100644
index 000000000000..89d35e0bac21
--- /dev/null
+++ b/third_arg.patch
@@ -0,0 +1,17 @@
+--- test/triggers/bogus-ioctl.c 2018-07-31 00:22:00.876656446 -0700
++++ test/triggers/bogus-ioctl-fix.c 2018-07-31 00:22:40.804948000 -0700
+@@ -58,12 +58,12 @@
+ * pathname and properties) using various flags and seek offsets.
+ */
+ fds[n++] = open(file, O_RDONLY);
+- fds[n++] = open(file, O_WRONLY);
++ fds[n++] = open(file, O_WRONLY, 0600);
+ fds[n++] = open(file, O_RDWR);
+
+ fds[n++] = open(file, O_RDWR | O_APPEND | O_CREAT | O_DSYNC |
+ O_LARGEFILE | O_NOCTTY | O_NONBLOCK | O_NDELAY | O_RSYNC |
+- O_SYNC | O_TRUNC);
++ O_SYNC | O_TRUNC, 0600);
+
+ fds[n++] = open(file, O_RDWR);
+ (void) lseek(fds[n - 1], 123, SEEK_SET);