TASK : Documentation Task removed warnings and added "SPDX-License-Identifier: GPL-2.0" in starting of the file , also instead of using re-use , have used reuse.
Signed-off-by: Rujra Bhatt <braker.noob.ker...@gmail.com> <rujrabha...@gmail.com> --- Documentation/process/adding-syscalls.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/process/adding-syscalls.rst b/Documentation/process/adding-syscalls.rst index 906c47f1a9e5..17652610450d 100644 --- a/Documentation/process/adding-syscalls.rst +++ b/Documentation/process/adding-syscalls.rst @@ -1,4 +1,4 @@ - +.. SPDX-License-Identifier: GPL-2.0 .. _addsyscalls: Adding a New System Call @@ -117,7 +117,7 @@ then the flags argument should include a value that is equivalent to setting the timing window between ``xyzzy()`` and calling ``fcntl(fd, F_SETFD, FD_CLOEXEC)``, where an unexpected ``fork()`` and ``execve()`` in another thread could leak a descriptor to -the exec'ed program. (However, resist the temptation to re-use the actual value +the exec'ed program. (However, resist the temptation to reuse the actual value of the ``O_CLOEXEC`` constant, as it is architecture-specific and is part of a numbering space of ``O_*`` flags that is fairly full.) @@ -378,7 +378,7 @@ the compatibility wrapper:: ... 555 x32 xyzzy __x32_compat_sys_xyzzy -If no pointers are involved, then it is preferable to re-use the 64-bit system +If no pointers are involved, then it is preferable to reuse the 64-bit system call for the x32 ABI (and consequently the entry in arch/x86/entry/syscalls/syscall_64.tbl is unchanged). -- 2.43.0