Lines Matching refs:should
89 code should check that any memory beyond the size of the structure that it
103 should use a file descriptor as the handle for that object -- don't invent a
108 flags argument should include a value that is equivalent to setting O_CLOEXEC
116 If your system call returns a new file descriptor, you should also consider
126 you should also consider whether an xyzzyat(2) version is more appropriate:
155 process, it should be restricted (using a call to ptrace_may_access()) so that
170 into separate chunks. These should include at least the following items as
182 New system call proposals, like any change to the kernel's API, should always
220 Your new kernel functionality, and the system call that controls it, should
226 - Make the option depend on EXPERT if it should be hidden from normal users.
305 header file should also include a compat version of the structure (struct
330 version; the entry in include/uapi/asm-generic/unistd.h should use
352 should hit the compat entry point:
356 Second, you need to figure out what should happen for the x32 ABI version of
358 should either match the 64-bit version or the 32-bit version.
361 ILP32, so the layout should match the 32-bit version, and the entry in
373 In either case, you should check that the types involved in your argument
437 one of these, then the audit system should be updated.
447 A new system call should obviously be tested; it is also useful to provide
461 For more extensive and thorough testing of new functionality, you should also
471 All new system calls should come with a complete man page, ideally using groff
476 The man page should be cc'ed to linux-man@vger.kernel.org
502 system call should come in the same email thread:
504 - Recommendation from Michael Kerrisk that a new system call should come with
506 - Suggestion from Thomas Gleixner that x86 wire-up should be in a separate
513 arguments should encapsulate those arguments in a struct, which includes a
523 - Recommendation from Greg Kroah-Hartman that unknown flags should be
525 - Recommendation from Linus Torvalds that x32 system calls should prefer