fcntl.c: mark F_DUPFD and F_DUPFD_CLOEXEC return code with RVAL_FD flag

* fcntl.c (SYS_FUNC(fcntl)): Set RVAL_FD flag in the return code
for F_DUPFD and F_DUPFD_CLOEXEC operations.
1 file changed
tree: fd6fc2429da557acddf09dfb0aaf4bfe5878ebfa
  1. debian/
  2. linux/
  3. m4/
  4. maint/
  5. qemu_multiarch_testing/
  6. test/
  7. tests/
  8. xlat/
  9. .gitignore
  10. .mailmap
  11. access.c
  12. affinity.c
  13. aio.c
  14. AUTHORS
  15. bjm.c
  16. block.c
  17. bootstrap
  18. bpf.c
  19. build_static_example.sh
  20. cacheflush.c
  21. capability.c
  22. caps0.h
  23. caps1.h
  24. ChangeLog-CVS
  25. chdir.c
  26. chmod.c
  27. clone.c
  28. configure.ac
  29. COPYING
  30. count.c
  31. CREDITS.in
  32. defs.h
  33. desc.c
  34. dirent.c
  35. dirent64.c
  36. empty.h
  37. epoll.c
  38. errnoent.sh
  39. evdev.c
  40. eventfd.c
  41. execve.c
  42. exit.c
  43. fadvise.c
  44. fallocate.c
  45. fanotify.c
  46. fchownat.c
  47. fcntl.c
  48. fetch_seccomp_fprog.c
  49. file.c
  50. file_handle.c
  51. flock.c
  52. flock.h
  53. futex.c
  54. generate_mpers_am.sh
  55. generate_sen.sh
  56. generate_xlat_in.sh
  57. get_robust_list.c
  58. getcpu.c
  59. getcwd.c
  60. getrandom.c
  61. git-set-file-times
  62. git-version-gen
  63. gitlog-to-changelog
  64. HACKING-scripts
  65. hostname.c
  66. inotify.c
  67. INSTALL
  68. io.c
  69. ioctl.c
  70. ioctlsort.c
  71. ioperm.c
  72. iopl.c
  73. ioprio.c
  74. ipc_defs.h
  75. ipc_msg.c
  76. ipc_msgctl.c
  77. ipc_sem.c
  78. ipc_shm.c
  79. ipc_shmctl.c
  80. kcmp.c
  81. kexec.c
  82. keyctl.c
  83. ldt.c
  84. link.c
  85. lookup_dcookie.c
  86. loop.c
  87. lseek.c
  88. make-dist
  89. Makefile.am
  90. mem.c
  91. membarrier.c
  92. memfd_create.c
  93. mknod.c
  94. mount.c
  95. mpers.awk
  96. mpers.sh
  97. mpers_test.sh
  98. mpers_type.h
  99. mq.c
  100. mtd.c
  101. native_defs.h
  102. net.c
  103. NEWS
  104. open.c
  105. or1k_atomic.c
  106. pathtrace.c
  107. perf.c
  108. personality.c
  109. poll.c
  110. prctl.c
  111. print_mq_attr.c
  112. print_msgbuf.c
  113. print_sigevent.c
  114. print_time.c
  115. print_timex.c
  116. printmode.c
  117. printrusage.c
  118. printsiginfo.c
  119. printsiginfo.h
  120. printstat.h
  121. process.c
  122. process_vm.c
  123. ptp.c
  124. ptrace.h
  125. quota.c
  126. readahead.c
  127. readlink.c
  128. README
  129. README-hacking
  130. README-linux-ptrace
  131. README-mpers
  132. reboot.c
  133. regs.h
  134. renameat.c
  135. resource.c
  136. rtc.c
  137. sched.c
  138. scsi.c
  139. seccomp.c
  140. seccomp_fprog.h
  141. sendfile.c
  142. sigaltstack.c
  143. signal.c
  144. signalent.sh
  145. signalfd.c
  146. sigreturn.c
  147. sock.c
  148. socketutils.c
  149. sram_alloc.c
  150. statfs.c
  151. strace-graph
  152. strace-log-merge
  153. strace.1
  154. strace.c
  155. strace.spec
  156. swapon.c
  157. sync_file_range.c
  158. syscall.c
  159. syscallent.sh
  160. sysctl.c
  161. sysinfo.c
  162. syslog.c
  163. sysmips.c
  164. term.c
  165. time.c
  166. times.c
  167. truncate.c
  168. uid.c
  169. uid16.c
  170. umask.c
  171. umount.c
  172. uname.c
  173. unwind.c
  174. userfaultfd.c
  175. util.c
  176. utime.c
  177. utimes.c
  178. v4l2.c
  179. vsprintf.c
  180. wait.c
  181. xattr.c
  182. xlate.el
  183. xmalloc.c