~vorlon/ubuntu/natty/eglibc/multiarch

« back to all changes in this revision

Viewing changes to debian/patches/any/submitted-bits-fcntl_h-at.diff

  • Committer: Steve Langasek
  • Date: 2011-02-18 21:18:44 UTC
  • mfrom: (103.1.7 eglibc)
  • Revision ID: steve.langasek@linaro.org-20110218211844-lodmi8b1qhyq3f3x
Tags: 2.13~pre1-0ubuntu1+multiarch.1
merge from natty

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
        constants.
29
29
 
30
30
---
31
 
 io/fcntl.h                                       |   12 ------------
32
 
 ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h |   13 +++++++++++++
33
 
 ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h  |   15 +++++++++++++++
34
 
 ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h   |   13 +++++++++++++
35
 
 ports/sysdeps/unix/sysv/linux/cris/bits/fcntl.h  |   13 +++++++++++++
36
 
 ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h  |   13 +++++++++++++
37
 
 ports/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h  |   13 +++++++++++++
38
 
 ports/sysdeps/unix/sysv/linux/mips/bits/fcntl.h  |   13 +++++++++++++
39
 
 sysdeps/mach/hurd/bits/fcntl.h                   |   13 +++++++++++++
40
 
 sysdeps/unix/sysv/linux/i386/bits/fcntl.h        |   13 +++++++++++++
41
 
 sysdeps/unix/sysv/linux/ia64/bits/fcntl.h        |   13 +++++++++++++
42
 
 sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h     |   13 +++++++++++++
43
 
 sysdeps/unix/sysv/linux/s390/bits/fcntl.h        |   13 +++++++++++++
44
 
 sysdeps/unix/sysv/linux/sh/bits/fcntl.h          |   13 +++++++++++++
45
 
 sysdeps/unix/sysv/linux/sparc/bits/fcntl.h       |   13 +++++++++++++
46
 
 sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h      |   13 +++++++++++++
 
31
 io/fcntl.h                                       |   14 ------------
 
32
 ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h |   15 +++++++++++++
 
33
 ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h  |   17 +++++++++++++++
 
34
 ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h   |   15 +++++++++++++
 
35
 ports/sysdeps/unix/sysv/linux/cris/bits/fcntl.h  |   15 +++++++++++++
 
36
 ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h  |   15 +++++++++++++
 
37
 ports/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h  |   15 +++++++++++++
 
38
 ports/sysdeps/unix/sysv/linux/mips/bits/fcntl.h  |   15 +++++++++++++
 
39
 sysdeps/mach/hurd/bits/fcntl.h                   |   15 +++++++++++++
 
40
 sysdeps/unix/sysv/linux/i386/bits/fcntl.h        |   15 +++++++++++++
 
41
 sysdeps/unix/sysv/linux/ia64/bits/fcntl.h        |   15 +++++++++++++
 
42
 sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h     |   15 +++++++++++++
 
43
 sysdeps/unix/sysv/linux/s390/bits/fcntl.h        |   15 +++++++++++++
 
44
 sysdeps/unix/sysv/linux/sh/bits/fcntl.h          |   15 +++++++++++++
 
45
 sysdeps/unix/sysv/linux/sparc/bits/fcntl.h       |   15 +++++++++++++
 
46
 sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h      |   15 +++++++++++++
47
47
 16 files changed, 197 insertions(+), 12 deletions(-)
48
48
 
49
49
--- a/io/fcntl.h
50
50
+++ b/io/fcntl.h
51
 
@@ -56,18 +56,6 @@
 
51
@@ -56,20 +56,6 @@
52
52
 # define SEEK_END      2       /* Seek from end of file.  */
53
53
 #endif /* XPG */
54
54
 
60
60
-# define AT_REMOVEDIR          0x200   /* Remove directory instead of
61
61
-                                          unlinking file.  */
62
62
-# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
63
-# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
64
-                                          traversal.  */
63
65
-# define AT_EACCESS            0x200   /* Test access permitted for
64
66
-                                          effective IDs, not real IDs.  */
65
67
-#endif
69
71
 
70
72
--- a/sysdeps/mach/hurd/bits/fcntl.h
71
73
+++ b/sysdeps/mach/hurd/bits/fcntl.h
72
 
@@ -219,3 +219,16 @@
 
74
@@ -219,3 +219,18 @@
73
75
 # define POSIX_FADV_DONTNEED   4 /* Don't need these pages.  */
74
76
 # define POSIX_FADV_NOREUSE    5 /* Data will be accessed once.  */
75
77
 #endif
83
85
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
84
86
+                                          unlinking file.  */
85
87
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
88
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
89
+                                          traversal.  */
86
90
+# define AT_EACCESS            0x200   /* Test access permitted for
87
91
+                                          effective IDs, not real IDs.  */
88
92
+#endif
89
93
--- a/sysdeps/unix/sysv/linux/i386/bits/fcntl.h
90
94
+++ b/sysdeps/unix/sysv/linux/i386/bits/fcntl.h
91
 
@@ -227,6 +227,19 @@
 
95
@@ -227,6 +227,21 @@
92
96
 # define SPLICE_F_GIFT         8       /* Pages passed in are a gift.  */
93
97
 #endif
94
98
 
101
105
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
102
106
+                                          unlinking file.  */
103
107
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
108
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
109
+                                          traversal.  */
104
110
+# define AT_EACCESS            0x200   /* Test access permitted for
105
111
+                                          effective IDs, not real IDs.  */
106
112
+#endif
110
116
 #ifdef __USE_GNU
111
117
--- a/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
112
118
+++ b/sysdeps/unix/sysv/linux/ia64/bits/fcntl.h
113
 
@@ -221,6 +221,19 @@
 
119
@@ -221,6 +221,21 @@
114
120
 # define SPLICE_F_GIFT         8       /* Pages passed in are a gift.  */
115
121
 #endif
116
122
 
123
129
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
124
130
+                                          unlinking file.  */
125
131
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
132
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
133
+                                          traversal.  */
126
134
+# define AT_EACCESS            0x200   /* Test access permitted for
127
135
+                                          effective IDs, not real IDs.  */
128
136
+#endif
132
140
 #ifdef __USE_GNU
133
141
--- a/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
134
142
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
135
 
@@ -227,6 +227,19 @@
 
143
@@ -227,6 +227,21 @@
136
144
 # define SPLICE_F_GIFT         8       /* Pages passed in are a gift.  */
137
145
 #endif
138
146
 
145
153
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
146
154
+                                          unlinking file.  */
147
155
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
156
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
157
+                                          traversal.  */
148
158
+# define AT_EACCESS            0x200   /* Test access permitted for
149
159
+                                          effective IDs, not real IDs.  */
150
160
+#endif
154
164
 #ifdef __USE_GNU
155
165
--- a/sysdeps/unix/sysv/linux/s390/bits/fcntl.h
156
166
+++ b/sysdeps/unix/sysv/linux/s390/bits/fcntl.h
157
 
@@ -247,6 +247,19 @@
 
167
@@ -247,6 +247,21 @@
158
168
 # define SPLICE_F_GIFT         8       /* Pages passed in are a gift.  */
159
169
 #endif
160
170
 
167
177
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
168
178
+                                          unlinking file.  */
169
179
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
180
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
181
+                                          traversal.  */
170
182
+# define AT_EACCESS            0x200   /* Test access permitted for
171
183
+                                          effective IDs, not real IDs.  */
172
184
+#endif
176
188
 #ifdef __USE_GNU
177
189
--- a/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
178
190
+++ b/sysdeps/unix/sysv/linux/sh/bits/fcntl.h
179
 
@@ -227,6 +227,19 @@
 
191
@@ -227,6 +227,21 @@
180
192
 # define SPLICE_F_GIFT         8       /* Pages passed in are a gift.  */
181
193
 #endif
182
194
 
189
201
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
190
202
+                                          unlinking file.  */
191
203
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
204
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
205
+                                          traversal.  */
192
206
+# define AT_EACCESS            0x200   /* Test access permitted for
193
207
+                                          effective IDs, not real IDs.  */
194
208
+#endif
198
212
 #ifdef __USE_GNU
199
213
--- a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
200
214
+++ b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
201
 
@@ -246,6 +246,19 @@
 
215
@@ -246,6 +246,21 @@
202
216
 # define SPLICE_F_GIFT         8       /* Pages passed in are a gift.  */
203
217
 #endif
204
218
 
211
225
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
212
226
+                                          unlinking file.  */
213
227
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
228
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
229
+                                          traversal.  */
214
230
+# define AT_EACCESS            0x200   /* Test access permitted for
215
231
+                                          effective IDs, not real IDs.  */
216
232
+#endif
220
236
 #ifdef __USE_GNU
221
237
--- a/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h
222
238
+++ b/sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h
223
 
@@ -241,6 +241,19 @@
 
239
@@ -241,6 +241,21 @@
224
240
 # define SPLICE_F_GIFT         8       /* Pages passed in are a gift.  */
225
241
 #endif
226
242
 
233
249
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
234
250
+                                          unlinking file.  */
235
251
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
252
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
253
+                                          traversal.  */
236
254
+# define AT_EACCESS            0x200   /* Test access permitted for
237
255
+                                          effective IDs, not real IDs.  */
238
256
+#endif
242
260
 #ifdef __USE_GNU
243
261
--- a/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
244
262
+++ b/ports/sysdeps/unix/sysv/linux/alpha/bits/fcntl.h
245
 
@@ -215,6 +215,19 @@
 
263
@@ -215,6 +215,21 @@
246
264
 # define SPLICE_F_GIFT         8       /* Pages passed in are a gift.  */
247
265
 #endif
248
266
 
255
273
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
256
274
+                                          unlinking file.  */
257
275
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
276
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
277
+                                          traversal.  */
258
278
+# define AT_EACCESS            0x200   /* Test access permitted for
259
279
+                                          effective IDs, not real IDs.  */
260
280
+#endif
264
284
 #ifdef __USE_GNU
265
285
--- a/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
266
286
+++ b/ports/sysdeps/unix/sysv/linux/am33/bits/fcntl.h
267
 
@@ -179,3 +179,18 @@
 
287
@@ -179,3 +179,20 @@
268
288
 # define POSIX_FADV_DONTNEED   4 /* Don't need these pages.  */
269
289
 # define POSIX_FADV_NOREUSE    5 /* Data will be accessed once.  */
270
290
 #endif
278
298
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
279
299
+                                          unlinking file.  */
280
300
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
301
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
302
+                                          traversal.  */
281
303
+# define AT_EACCESS            0x200   /* Test access permitted for
282
304
+                                          effective IDs, not real IDs.  */
283
305
+#endif
285
307
+
286
308
--- a/ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h
287
309
+++ b/ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h
288
 
@@ -227,6 +227,19 @@
 
310
@@ -227,6 +227,21 @@
289
311
 # define SPLICE_F_GIFT         8       /* Pages passed in are a gift.  */
290
312
 #endif
291
313
 
298
320
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
299
321
+                                          unlinking file.  */
300
322
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
323
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
324
+                                          traversal.  */
301
325
+# define AT_EACCESS            0x200   /* Test access permitted for
302
326
+                                          effective IDs, not real IDs.  */
303
327
+#endif
307
331
 #ifdef __USE_GNU
308
332
--- a/ports/sysdeps/unix/sysv/linux/cris/bits/fcntl.h
309
333
+++ b/ports/sysdeps/unix/sysv/linux/cris/bits/fcntl.h
310
 
@@ -182,6 +182,19 @@
 
334
@@ -182,6 +182,21 @@
311
335
 # define POSIX_FADV_NOREUSE    5 /* Data will be accessed once.  */
312
336
 #endif
313
337
 
320
344
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
321
345
+                                          unlinking file.  */
322
346
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
347
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
348
+                                          traversal.  */
323
349
+# define AT_EACCESS            0x200   /* Test access permitted for
324
350
+                                          effective IDs, not real IDs.  */
325
351
+#endif
329
355
 /* Provide kernel hint to read ahead.  */
330
356
--- a/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
331
357
+++ b/ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
332
 
@@ -198,6 +198,19 @@
 
358
@@ -198,6 +198,21 @@
333
359
 # define SPLICE_F_GIFT         8       /* Pages passed in are a gift.  */
334
360
 #endif
335
361
 
342
368
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
343
369
+                                          unlinking file.  */
344
370
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
371
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
372
+                                          traversal.  */
345
373
+# define AT_EACCESS            0x200   /* Test access permitted for
346
374
+                                          effective IDs, not real IDs.  */
347
375
+#endif
351
379
 #ifdef __USE_GNU
352
380
--- a/ports/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
353
381
+++ b/ports/sysdeps/unix/sysv/linux/m68k/bits/fcntl.h
354
 
@@ -226,6 +226,19 @@
 
382
@@ -226,6 +226,21 @@
355
383
 # define SPLICE_F_GIFT         8       /* Pages passed in are a gift.  */
356
384
 #endif
357
385
 
364
392
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
365
393
+                                          unlinking file.  */
366
394
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
395
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
396
+                                          traversal.  */
367
397
+# define AT_EACCESS            0x200   /* Test access permitted for
368
398
+                                          effective IDs, not real IDs.  */
369
399
+#endif
373
403
 #ifdef __USE_GNU
374
404
--- a/ports/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
375
405
+++ b/ports/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
376
 
@@ -240,6 +240,19 @@
 
406
@@ -240,6 +240,21 @@
377
407
 # define SPLICE_F_GIFT         8       /* Pages passed in are a gift.  */
378
408
 #endif
379
409
 
386
416
+# define AT_REMOVEDIR          0x200   /* Remove directory instead of
387
417
+                                          unlinking file.  */
388
418
+# define AT_SYMLINK_FOLLOW     0x400   /* Follow symbolic links.  */
 
419
+# define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
 
420
+                                          traversal.  */
389
421
+# define AT_EACCESS            0x200   /* Test access permitted for
390
422
+                                          effective IDs, not real IDs.  */
391
423
+#endif